New nVidia driver does not allow logging in to desktop

Thank you. No luckily I don’t have a problem after the latest update. I was just interested in this thread.

I’m not an expert on this and I don’t know exactly what is causing the issue. Sometimes the kernel modules fail to rebuild. Sometimes the system will not load the proper driver and will be running on mesa instead of the card. Not everyone has the same hardware. Some people have laptops with hybrid graphics which is more difficult and sometimes a different issue. Also not everyone has their Nvidia install set up the same. So you have to take each on an individual basis because not everyone is having the issue or having the same issue. Yes of course a lot of people could have the same issue too. Sometimes this happens when nvidia drivers get updated and somethings don’t. If you don’t have any issue then don’t worry too much about it until you do. I can only try to help but I’m not always able to or not always right. I have to guess and use my own judgement sometimes. I do have a GTX 1060 and I’m not having this issue at least right now. :man_shrugging: Some people have the enhancements set up which i guess is more for Hybrid graphics yet i use them also. I don’t have too many issues.

there is also upgrade for Xorg

eos-translations 1.1.45-1 -> 1.1.48-1
inxi 3.3.09.1-2 -> 3.3.10.1-2
libcap 2.61-1 -> 2.62-1
libxnvctrl 495.44-1 -> 495.46-1
linux 5.15.7.arch1-1 -> 5.15.8.arch1-1
linux-headers 5.15.7.arch1-1 -> 5.15.8.arch1-1
linux-lts 5.10.84-1 -> 5.10.85-1
linux-lts-headers 5.10.84-1 -> 5.10.85-1
linux-zen 5.15.7.zen1-1 -> 5.15.8.zen1-1
linux-zen-headers 5.15.7.zen1-1 -> 5.15.8.zen1-1
nvidia-dkms 495.44-6 -> 495.46-1
nvidia-utils 495.44-6 -> 495.46-1
openvpn 2.5.4-1 -> 2.5.5-1
python-packaging 20.9-6 -> 20.9-7
python-psutil 5.8.0-3 -> 5.8.0-4
python-six 1.16.0-4 -> 1.16.0-5
r8168 8.049.02-41 -> 8.049.02-42
rebuild-detector 4.1.6-2 -> 4.2.0-1
solid 5.88.0-1 -> 5.89.0-1
welcome 3.17.7-1 -> 3.17.8-1
xorg-server 21.1.1-3 -> 21.1.2-1
xorg-server-common 21.1.1-3 -> 21.1.2-1

I just got the xorg update but was working before. Is yours working now?

no and i found the reason

-- Journal begins at Tue 2021-09-07 10:23:01 CEST, ends at Wed 2021-12-15 19:39:24 CET. --
déc. 15 19:38:18 endv kernel: nvidia: loading out-of-tree module taints kernel.
déc. 15 19:38:18 endv kernel: nvidia: module license 'NVIDIA' taints kernel.
déc. 15 19:38:18 endv kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
déc. 15 19:38:18 endv kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 234
déc. 15 19:38:18 endv kernel: nvidia 0000:07:00.0: enabling device (0006 -> 0007)
déc. 15 19:38:18 endv kernel: nvidia 0000:07:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
déc. 15 19:38:18 endv kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  495.44  Fri Oct 22 06:13:12 UTC 2021
déc. 15 19:38:18 endv systemd-udevd[380]: 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.
déc. 15 19:38:18 endv kernel: nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
déc. 15 19:38:18 endv kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  495.44  Fri Oct 22 06:05:22 UTC 2021
déc. 15 19:38:18 endv kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input3
déc. 15 19:38:18 endv kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input4
déc. 15 19:38:18 endv kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input5
déc. 15 19:38:18 endv kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input6
déc. 15 19:38:18 endv kernel: input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input7
déc. 15 19:38:18 endv kernel: input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input8
déc. 15 19:38:18 endv kernel: input: HDA NVidia HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input9
déc. 15 19:38:18 endv systemd-modules-load[363]: Inserted module 'nvidia_uvm'
déc. 15 19:38:18 endv kernel: nvidia-uvm: Loaded the UVM driver, major device number 510.
déc. 15 19:38:18 endv kernel: [drm] [nvidia-drm] [GPU ID 0x00000700] Loading driver
déc. 15 19:38:18 endv kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:07:00.0 on minor 0
déc. 15 19:38:18 endv systemd-udevd[411]: 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>
déc. 15 19:39:20 endv dbus-daemon[630]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.50' (uid=0 pid=2163 comm="sudo journalctl -b0 -g nvidia ")
déc. 15 19:39:24 endv sudo[2163]:    steph : TTY=pts/0 ; PWD=/home/steph ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -g nvidia

[steph@endv ~]$ sudo journalctl -b -1 -g nvidia
-- Journal begins at Tue 2021-09-07 10:23:01 CEST, ends at Wed 2021-12-15 19:40:01 CET. --
déc. 15 19:33:00 endv kernel: nvidia: loading out-of-tree module taints kernel.
déc. 15 19:33:00 endv kernel: nvidia: module license 'NVIDIA' taints kernel.
déc. 15 19:33:00 endv kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
déc. 15 19:33:00 endv kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 234
déc. 15 19:33:00 endv kernel: nvidia 0000:07:00.0: enabling device (0006 -> 0007)
déc. 15 19:33:00 endv kernel: nvidia 0000:07:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
déc. 15 19:33:00 endv kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  495.46  Wed Oct 27 16:31:33 UTC 2021
déc. 15 19:33:00 endv kernel: nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
déc. 15 19:33:00 endv kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  495.46  Wed Oct 27 16:22:48 UTC 2021
déc. 15 19:33:00 endv kernel: [drm] [nvidia-drm] [GPU ID 0x00000700] Loading driver
déc. 15 19:33:00 endv kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:07:00.0 on minor 0
déc. 15 19:33:00 endv kernel: nvidia-uvm: Loaded the UVM driver, major device number 510.
déc. 15 19:33:00 endv kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input3
déc. 15 19:33:00 endv kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input4
déc. 15 19:33:00 endv kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input5
déc. 15 19:33:00 endv kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input6
déc. 15 19:33:00 endv kernel: input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input7
déc. 15 19:33:00 endv kernel: input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input8
déc. 15 19:33:00 endv kernel: input: HDA NVidia HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input9
déc. 15 19:33:00 endv systemd-modules-load[355]: Inserted module 'nvidia_uvm'
déc. 15 19:33:00 endv systemd-udevd[402]: 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.
déc. 15 19:33:00 endv systemd-udevd[375]: 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>
déc. 15 19:33:08 endv systemd-coredump[1206]: [🡕] Process 698 (Xorg) of user 0 dumped core.

with version 495.44 , nvidia-uvm is loaded / inserted , nvidia-modeset then drm-nvidia
with version 495.46 nvidia-uvm & mode set is loaded ( start ) then drm-nvidia, nvidia-um ( and may be modeset ) are insered ( end ) as module after ( same error Xorg )

it work on old version 495.44 … ( i downgraded )

So one is loading before the other kind of opposite to before? Or loading modesetting?

déc. 15 19:38:18 endv kernel: nvidia-uvm: Loaded the UVM driver, major device number 510.
déc. 15 19:38:18 endv kernel: [drm] [nvidia-drm] [GPU ID 0x00000700] Loading driver
déc. 15 19:38:18 endv kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:07:00.0 on minor 0
déc. 15 19:33:00 endv kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  495.46  Wed Oct 27 16:22:48 UTC 2021
déc. 15 19:33:00 endv kernel: [drm] [nvidia-drm] [GPU ID 0x00000700] Loading driver
déc. 15 19:33:00 endv kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:07:00.0 on minor 0

i have checked this point (495.44 )

sudo lsmod | grep 'nvidia'
nvidia_drm             73728  3
nvidia_uvm           2551808  0
nvidia_modeset       1155072  6 nvidia_drm
nvidia              36982784  318 nvidia_uvm,nvidia_modeset

with 495.46 , login appears , so drivers are working
but Xorg go down on _clone call ( error 6 )

may be this sequence go wrong
module A is loaded → module A is Inserted
module B is loaded → module A is Inserted , etc … this is ok

module A is loaded → module B is loaded
module A is Inserted → module B is inserted goes wrong
here
there is
module nvidia-uvm ( and modeset ) is loaded , Then drm-nvidia , module nvidia-uvm ( and modeset ) is inserted

Are those people having issues also building some/all nvidia modules into their initramfs?

see this
https://bugs.archlinux.org/task/73031

Those issues seem to be related to partial updates and optimus-manager (which needed to be rebuild due to Python 3.10).

I don’t think there’s a “general pattern” here, more like people not updating their systems correctly/fully.

I don’t have any of this python stuff on my system? What packages besides Optimus would cause this. My Nvidia updated and works no issues.I’ve had updated drivers, kernels and xorg.

Edit: Mine is working flawless on GTX1060 desktop card!

[SOLVED]
OK, I got a new SSD and used GPartEd to partition it, and installed EndeavourOS on it just fine.

Followed the detailed instructions, and once again, stuck on the display manager.

Opened the console, and deleted the nvidia files, then used the downgrade command to install the last 495.44 files, which worked. Rebooted, and I have a computer again. Something with my hardware does NOT like the 495.46 driver.

I think some problems will stem from the use of nvidia-installer-dkms which looks to have a few issues hidden away.

Firstly:

This runs a partial upgrade. If it’s installing nvidia drivers without updating the rest of the system then this will cause problems. Here, I’d err on the side of either making sure the system is up-to-date before continuing (or forcing an update with -Syu) or using only -S.

Secondly:

If the user has added all the modules necessary for the nvidia driver to their initramfs then this command will remove one of them - I suspect this will also cause issues like the “out of order” module loading Stephane identified above.

Finally (in this batch),

This is updating the initramfs only for linux and linux-lts, even though the DKMS driver works on all kernels. Just run mkinitcpio -P here rather than doing fancy (but pointless) tests.

1 Like

I really don’t understand this. I have had zero issues on Nvidia on my desktop. :thinking:

I had zero problems until Tuesday, and apparently it’s been showing up on the Arch forums, too.

https://bugs.archlinux.org/task/73031

But what I’m saying is how come it’s working fine for me? You would think if there is an issue everyone would have it. :thinking:

Edit: I understand your SSD issue but the Nvidia card i have all the latest drivers including mesa and xorg.

This should be standard practice on Arch based distro’s. I think we need to elevated this as a prority in our messaging?

Edit: I’m always up to date before.

I have these in mine but i added them just recently?

Is there a way to ensure it updates all installed kernels then?