Nvidia-settings not working

I am trying to install nvidia drivers, driver is seemed to be installed still nvidia-settings app does’t open. Current window manager is x11.

I am a newbie in manjaro, thanks in advance.

here is the inxi -G output

Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] driver: nvidia
    v: 470.182.03
  Device-2: AMD Renoir driver: amdgpu v: kernel
  Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1 driver: X:
    loaded: modesetting dri: radeonsi gpu: amdgpu resolution: 1920x1080~144Hz
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.49 6.1.26-1-MANJARO)

I’ve installed video-hybrid-amd-nvidia-470xx-prime and when I run nvidia-settings I get this

(nvidia-settings:5283): Gtk-WARNING **: 21:26:57.616: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(nvidia-settings:5283): Gtk-WARNING **: 21:26:57.616: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name

ERROR: Unable to load info from any available system

mhwd -li output

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-470xx-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

I think in hybrid mode you can’t start Nvidia Settings directly, you may need to start it with prime-run nvidia-settings and you’ll not have real control here I guess.

Tried it still getting same result.

Hi @JoKer

What is the output of pacman -Qi nvidia-settings ?
If the package is not installed just run sudo pacman -S nvidia-settings.

For detailed explanations: [Testing Update] 2023-03-25 - Kernels, Firefox, Deepin, GNOME, NVIDIA, Wine - #42 by philm

It is installed as he gave its terminal output:

here is the result

Name            : nvidia-470xx-settings
Version         : 470.182.03-3
Description     : Tool for configuring the NVIDIA graphics driver
Architecture    : x86_64
URL             : https://github.com/NVIDIA/nvidia-settings
Licenses        : GPL2
Groups          : None
Provides        : nvidia-settings=470.182.03
Depends On      : jansson  gtk3  libxv  libvdpau  nvidia-utils=470.182.03  libxnvctrl=470.182.03
Optional Deps   : None
Required By     : None
Optional For    : nvidia-470xx-utils
Conflicts With  : nvidia-settings
Replaces        : None
Installed Size  : 1544.01 KiB
Packager        : Mark Wagie <mark@manjaro.org>
Build Date      : Fri Mar 31 20:18:23 2023
Install Date    : Sun May 7 15:44:39 2023
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Is prime working?

glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'

What all prime is installed?

pacman -Qs prime

Does the env var work any differently?
Env var?

DRI_PRIME=1 glxinfo | grep 'renderer string'
DRI_PRIME=1 nvidia-settings

Here is the output of every command

OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.1.26-1-MANJARO)

OpenGL renderer string: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2
local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities
OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.1.26-1-MANJARO)
(nvidia-settings:3054): Gtk-WARNING **: 16:48:56.242: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(nvidia-settings:3054): Gtk-WARNING **: 16:48:56.242: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name

ERROR: Unable to load info from any available system

I wonder …

lspci 
ls /sys/bus/pci/devices/

Here’s the output:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c6)
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
0000:00:00.0  0000:00:02.1  0000:00:14.0  0000:00:18.3  0000:01:00.0  0000:05:00.0  0000:05:00.5
0000:00:00.2  0000:00:02.2  0000:00:14.3  0000:00:18.4  0000:01:00.1  0000:05:00.1  0000:05:00.6
0000:00:01.0  0000:00:02.4  0000:00:18.0  0000:00:18.5  0000:02:00.0  0000:05:00.2
0000:00:01.1  0000:00:08.0  0000:00:18.1  0000:00:18.6  0000:03:00.0  0000:05:00.3
0000:00:02.0  0000:00:08.1  0000:00:18.2  0000:00:18.7  0000:04:00.0  0000:05:00.4

Can you try and see if any of these can initialize the nvidia?

DRI_PRIME=pci-0000_01_00_0 glxinfo | grep 'renderer string'
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep 'renderer string'
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=pci-0000_01_00_0 glxinfo | grep 'renderer string'

Here,

OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.1.26-1-MANJARO)

OpenGL renderer string: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2

OpenGL renderer string: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2

woohoo.
Looks like we can wake up the nvidia :slight_smile:

This one should be the same as prime-run. :person_shrugging:

Lets go with the other one that specifies the pci address though.
Please run the following:

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=pci-0000_01_00_0 nvidia-settings

… eh, eh ? :crossed_fingers:

Still the same result.

(nvidia-settings:3837): Gtk-WARNING **: 21:50:40.828: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(nvidia-settings:3837): Gtk-WARNING **: 21:50:40.828: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name

ERROR: Unable to load info from any available system

Sorry, I haven’t mentioned that I am currently running the manjaro on a dual boot system with windows 10. I cannot edit the actual post now. Could there be an issue because of this? I have already switched off my secure boot and fast boot options