Nvidia settings not opening

I am trying to open nvidia settings but it immediately closes when I try opening it, when I try launching it from the terminal with sudo nvidia-settings it says: ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system. Can someone please help me?

Picture of the nvidia related drivers that are installed(if it helps)

if you have used mhwd to install the driver - restart your system

I tried restarting it and I do not know if I used mhwd to install the driver.

:+1: Welcome to Manjaro! :+1:

Please read this:

and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

:+1:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU you have, …

Hi, I’m having the same issue since a few months. Previously nvidia-settings was working fine.
Searching a bit on the internet I found out that the issue is created by the NV-CONTROL extension not loading properly in Xorg.

This is part of my Xorg log ( /var/log/Xorg.0.log):

[     6.576] (II) Initializing extension VNC
[     6.576] (II) Initializing extension NV-GLX
[     6.576] (II) Initializing extension NV-CONTROL
[     6.576] (EE) Not enabling extension NV-CONTROL: maximum number of events or errors `exceeded.`

On internet somebody was suggesting to disable some useless Xorg extension like XFree86-DGA but I’m they’re starting even though I put this both in Xorg.conf and in Xorg.conf.d:

Section "Extensions"
Option "XFree86-DGA" "Disable"
Option "XFree86-VidModeExtension" "Disable"
EndSection

Here’s also the output of that inxi command on my pc:

   System:
  Kernel: 5.10.36-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=b738df4e-7e9f-4747-9da7-c5190ac21a71 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: i3 4.19.1 info: i3bar vt: 7 dm: LightDM 1.30.0 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX X370-F GAMING v: Rev X.0x 
  serial: <filter> UEFI: American Megatrends v: 5603 date: 07/28/2020 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 31.35 GiB used: 3.11 GiB (9.9%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 8-Core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ 
  family: 17 (23) model-id: 8 stepping: 2 microcode: 800820D cache: L2: 4 MiB 
  bogomips: 128057 
  Speed: 1599 MHz min/max: 1550/4000 MHz boost: disabled Core speeds (MHz): 
  1: 1599 2: 1600 3: 3273 4: 1599 5: 3946 6: 2000 7: 3871 8: 1600 9: 3345 
  10: 1596 11: 3178 12: 1780 13: 3994 14: 1596 15: 1596 16: 1598 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca 
  mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl 
  npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb 
  perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 
  rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme 
  smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce 
  topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt 
  xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: Gigabyte 
  driver: nvidia v: 460.80 alternate: nouveau,nvidia_drm bus-ID: 0a:00.0 
  chip-ID: 10de:1e84 class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia display-ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.9x11.9") 
  s-diag: 610mm (24") 
  Monitor-1: DP-0 res: 1920x1080 hz: 144 dpi: 92 size: 532x304mm (20.9x12.0") 
  diag: 613mm (24.1") 
  OpenGL: renderer: GeForce RTX 2070 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 460.80 
  direct render: Yes 
Audio:
  Device-1: NVIDIA TU104 HD Audio vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus-ID: 0a:00.1 chip-ID: 10de:10f8 class-ID: 0403 
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus-ID: 0d:00.3 chip-ID: 1022:1457 class-ID: 0403 
  Device-3: GYROCOM C&C Fiio E10 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-8:4 chip-ID: 1852:7022 
  class-ID: 0102 
  Sound Server-1: ALSA v: k5.10.36-2-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.18 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel 
  port: e000 bus-ID: 05:00.0 chip-ID: 8086:1539 class-ID: 0200 
  IF: enp5s0 state: down mac: <filter> 
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: e000 
  bus-ID: 09:00.0 chip-ID: 8086:2723 class-ID: 0280 
  IF: wlp9s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 
  bus-ID: 1-13:5 chip-ID: 8087:0029 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 2.77 TiB used: 496.36 GiB (17.5%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: PNY model: CS3030 500GB SSD 
  size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: CS303320 temp: 30.9 C 
  scheme: GPT 
  ID-2: /dev/nvme1n1 maj-min: 259:6 vendor: A-Data model: SX8200PNP 
  size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: 42AZS6AC temp: 39.9 C 
  ID-3: /dev/sda maj-min: 8:0 vendor: Crucial model: CT500MX500SSD1 
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 023 temp: 43 C scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 80 GiB size: 78.24 GiB (97.81%) used: 33.4 GiB (42.7%) 
  fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A 
  uuid: b738df4e-7e9f-4747-9da7-c5190ac21a71 
  ID-2: /boot/efi raw-size: 99 MiB size: 95 MiB (95.96%) 
  used: 25.4 MiB (26.8%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: 7245-4E8E 
  ID-3: /home raw-size: 100 GiB size: 97.87 GiB (97.87%) 
  used: 78.19 GiB (79.9%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 
  label: Linux_home uuid: eb72637d-9871-4706-9dbd-7db30dce2e00 
  ID-4: /media/winzozz raw-size: 385.16 GiB size: 385.16 GiB (100.00%) 
  used: 384.75 GiB (99.9%) fs: ntfs dev: /dev/nvme0n1p4 maj-min: 259:4 
  label: N/A uuid: 24844E8D844E6182 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 499 MiB fs: ntfs label: N/A 
  uuid: CE749E5E749E495B 
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-3: /dev/sda2 maj-min: 8:2 size: 58.59 GiB fs: ntfs label: Dati Windows 
  uuid: 0B5D36BC0FDEE104 
  ID-4: /dev/sda3 maj-min: 8:3 size: 307.17 GiB fs: ext4 
  label: PartizionePlotti uuid: 3b48eb5f-1f9b-4ea9-9eb5-5c9f501adc07 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 14 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-5:2 info: Holtek USB-HID Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 4 rev: 1.1 speed: 12 Mb/s 
  power: 500mA chip-ID: 04d9:a231 class-ID: 0300 
  Device-2: 1-6:3 info: Logitech G403 HERO Gaming Mouse type: Mouse,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 300mA chip-ID: 046d:c08f class-ID: 0300 serial: <filter> 
  Device-3: 1-8:4 info: GYROCOM C&C Fiio E10 type: HID,Audio 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1 
  speed: 12 Mb/s power: 500mA chip-ID: 1852:7022 class-ID: 0102 
  Device-4: 1-13:5 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 
  class-ID: e001 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-6: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-7: 7-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 7-1:2 info: Apple Gamesir-G3s 2.16 type: Printer driver: usblp 
  interfaces: 1 rev: 1.1 speed: 12 Mb/s power: 500mA chip-ID: 05ac:2405 
  class-ID: 0701 
  Hub-8: 8-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 40.2 C mobo: 0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 377 Uptime: 32m wakeups: 0 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: 1399 pacman: 1395 lib: 328 
  snap: 4 Shell: Bash v: 5.1.8 running-in: guake inxi: 3.3.04 

Thank you

Manjaro Nvidia driver configuration is in /etc/X11/mhwd.d/nvidia.conf it is not in xorg.conf.

1 Like

Oh, thanks, didn’t know that. So what are you suggesting? To put that code in /etc/X11/mhwd.d/nvidia.conf?