You are not logged in.
After today's system update, which included nVidia drivers
$ grep "\(upgraded\|installed\) $pkg" /var/log/pacman.log | grep nvidia
[2023-03-24T15:39:38+0100] [ALPM] upgraded nvidia-utils (525.89.02-2 -> 530.41.03-1)
[2023-03-24T15:39:39+0100] [ALPM] upgraded lib32-nvidia-utils (525.89.02-1 -> 530.41.03-1)
[2023-03-24T15:39:39+0100] [ALPM] upgraded nvidia (525.89.02-13 -> 530.41.03-1)
[2023-03-24T15:39:39+0100] [ALPM] upgraded nvidia-settings (525.89.02-1 -> 530.41.03-1)
I get these issues
$ nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
$ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● nvidia-persistenced.service loaded failed failed NVIDIA Persistence Daemon
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
$ journalctl -b | grep nvidia
mar 24 16:29:51 MSI-Arch kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=fcef3735-b24e-d901-e0e0-3735b24ed901 rw ibt=off nvidia_drm.modeset=1 loglevel=3 quiet lsm=landlock,lockdown,yama,integrity,apparmor,bpf audit=1
mar 24 16:29:51 MSI-Arch kernel: Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=fcef3735-b24e-d901-e0e0-3735b24ed901 rw ibt=off nvidia_drm.modeset=1 loglevel=3 quiet lsm=landlock,lockdown,yama,integrity,apparmor,bpf audit=1
mar 24 16:29:51 MSI-Arch kernel: nvidia: loading out-of-tree module taints kernel.
mar 24 16:29:51 MSI-Arch kernel: nvidia: module license 'NVIDIA' taints kernel.
mar 24 16:29:51 MSI-Arch kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
mar 24 16:29:51 MSI-Arch kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
mar 24 16:29:51 MSI-Arch kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
mar 24 16:29:51 MSI-Arch kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
mar 24 16:29:51 MSI-Arch kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 525.89.02 Wed Feb 1 23:09:40 UTC 2023
mar 24 16:29:51 MSI-Arch kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
mar 24 16:29:51 MSI-Arch kernel: nvidia-uvm: Loaded the UVM driver, major device number 236.
mar 24 16:29:51 MSI-Arch kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
mar 24 16:29:51 MSI-Arch kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
mar 24 16:29:52 MSI-Arch (udev-worker)[610]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 255'' failed with exit code 1.
mar 24 16:29:52 MSI-Arch (udev-worker)[610]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) ${i}; done'' failed with exit code 1.
mar 24 16:29:53 MSI-Arch nvidia-persistenced[837]: Started (837)
mar 24 16:29:53 MSI-Arch nvidia-persistenced[837]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 143 has read and write permissions for those files.
mar 24 16:29:53 MSI-Arch nvidia-persistenced[837]: Shutdown (837)
mar 24 16:29:53 MSI-Arch nvidia-persistenced[834]: nvidia-persistenced failed to initialize. Check syslog for more details.
mar 24 16:29:53 MSI-Arch systemd[1]: nvidia-persistenced.service: Control process exited, code=exited, status=1/FAILURE
mar 24 16:29:53 MSI-Arch systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
Anyone experiencing similar problems?
Last edited by Zibi1981 (2023-03-24 22:11:34)
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
Did you reboot after updating them? If you're using early KMS, did you rebuild the initramfs before rebooting?
Offline
Yes, first time I saw this error was while Arch was booting. I also believe that packman rebuilds initramfs every single time the Linux kernel or nVidia drivers are updated.
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
When the kernel is updated, yes, but not when nvidia is updated unless you specifically set it up. This is covered in the Wiki. From the error, I'm almost certain this is the problem.
Offline
Yes, it was the problem. Running mkinitcpio -P as root solved it, but strange thing is that in the same pacman run kernel has been updated too, so I'm certain that initramfs should be updated too.
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline