New nVidia driver does not allow logging in to desktop

I’ve done this too with users but once the problem exists i don’t think it always fixes it?

Yes - there are a whole class of issues here. Not rebuilding the initramfs for those people who have added the modules (though it’s not generally necessary to add them), having a partial upgrade (e.g. some nvidia or kernel packages held back), using a Python-based tool that hasn’t been rebuilt for Python 3.10, …

There’s also the possibility that the two-chunk change to 495.46 actually had some unforeseen effect on certain configurations - or that it’s operating correctly and those systems are hitting some sort of undefined behaviour.

1 Like

I have always had the modules added before but lately i just reinstalled testing some new ISO’s so i put them back in. I may be in between why i haven’t had the issue? :thinking:

I don’t know, and I suspect noone else does either. It’s impossible to replicate a non-issue. :wink:

I also don’t have a problem with 495.46, but then I installed and configured everything myself.

Maybe we should just do remote installs only? :wink:

My GTX 1070 is also working great; only difference is that I’m using the Zen kernel.

My GTX 1060 is working great and i have the current kernel.

You made very good points of nvidia-installer-dkms (which is mostly a relic from good old Antergos :wink:).
But note that nvidia-installer-dkms is not used when updating a system.
If I read this thread right, the problems started after a normal system update.

1 Like

I was getting a GL error trying to run Steam, so I tried reinstalling again. I was able to downgrade nvidia-settings, but now when I enter

sudo downgrade nvidia-dkms

I get "cannot resolve “nvidia-utils=495.44”, a dependency of “nvidia-dkms”

pacman -Q nvidia-settings

returns

nvidia settings 495.44-1

Why am I getting the “cannot resolve” error?

Yes, it was a normal system update.

It looks like you need to downgrade nvidia-utils and nvidia-dkms at the same time.

I did that, and, while it worked the first time, it didn’t work again.

I didn’t downgrade nvidia-utils the first time.

My command was

sudo downgrade nvidia-settings nvidia-utils nvidia-dkms

Rebooted and all seems fine.

it is ok on side manjaro , so there is something wrong on side archlinux
i will check kernel LTS

Yes - but it looks like people are using it to reinstall the nvidia drivers (e.g. try and resolve other issues) and I suspect that’s having knock-on effects.

1 Like

Actually we are working on it… :wink:

1 Like

Ya… I’m not understanding why it doesn’t install. I have read somewhere that if the nvidia updates come and they don’t have the nvidia-utils newer version? :thinking:

there is this point to check
in both case , lsmod show drivers nvidia loaded ( i have GUI login )
nvidia-smi works ( no Xorg after only in TTY )
but nvidia-settings -q fails

same result kernel-zen or lts

Do you only have this conf file?

/etc/X11/xorg.conf.d/20-nvidia.conf

yes , i have apply pacman -Syyu ( version 495.46 )
then

nvidia-installer-dkms -t
2021-12-17 19:33:12 [INFO]: EndeavourOS Nvidia Installer v3.3.11
2021-12-17 19:33:12 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
2021-12-17 19:33:12 [INFO]: Running the installer in testing mode...
2021-12-17 19:33:12 [INFO]: Updating Nvidia graphics cards database...
2021-12-17 19:33:12 [INFO]: nvidia-installer-update-db --tmpdb
2021-12-17 19:33:13 [INFO]: Installing nvidia-dkms driver...
2021-12-17 19:33:13 [INFO]: Removing conflicting packages...
2021-12-17 19:33:13 [INFO]: Downloading and installing driver packages, please wait as this may take a few minutes...
2021-12-17 19:33:13 [INFO]: pacman -Sqy --noconfirm --noprogressbar nvidia-dkms libvdpau nvidia-settings lib32-nvidia-utils lib32-libvdpau
2021-12-17 19:33:13 [INFO]: Unpatching /usr/share/applications/nvidia-settings.desktop...
2021-12-17 19:33:13 [INFO]: /usr/bin/sed -i s|Exec=optirun -b none /usr/bin/nvidia-settings -c :8|Exec=/usr/bin/nvidia-settings| /usr/share/applications/nvidia-settings.desktop
2021-12-17 19:33:13 [INFO]: Patching kernel line with nvidia-drm.modeset=1
2021-12-17 19:33:13 [INFO]: nvidia-installer-kernel-para
2021-12-17 19:33:13 [INFO]: Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
2021-12-17 19:33:13 [INFO]: Installation finished. Nothing has been modified as testing mode was ON.

[steph@endv ~]$ sudo nvidia-installer-dkms -f
INFO:root:Removing /tmp/nvidia-installer_r.log file...
INFO:root:EndeavourOS Nvidia Installer v3.3.11
2021-12-17 19:29:14 [INFO]: EndeavourOS Nvidia Installer v3.3.11
INFO:root:All logs will be stored in /tmp/nvidia-installer_r.log
2021-12-17 19:29:14 [INFO]: All logs will be stored in /tmp/nvidia-installer_r.log
INFO:root:Updating Nvidia graphics cards database...
2021-12-17 19:29:14 [INFO]: Updating Nvidia graphics cards database...
INFO:root:Installing nvidia-dkms driver...
2021-12-17 19:29:15 [INFO]: Installing nvidia-dkms driver...
INFO:root:Removing conflicting packages...
2021-12-17 19:29:15 [INFO]: Removing conflicting packages...
INFO:root:Downloading and installing driver packages, please wait as this may take a few minutes...
2021-12-17 19:29:15 [INFO]: Downloading and installing driver packages, please wait as this may take a few minutes...
INFO:root:Unpatching /usr/share/applications/nvidia-settings.desktop...
2021-12-17 19:31:23 [INFO]: Unpatching /usr/share/applications/nvidia-settings.desktop...
INFO:root:Patching kernel line with nvidia-drm.modeset=1
2021-12-17 19:31:23 [INFO]: Patching kernel line with nvidia-drm.modeset=1
INFO:root:Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
2021-12-17 19:31:23 [INFO]: Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
INFO:root:MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm" will be changed to MODULES=" _modeset _uvm _drm" in /etc/mkinitcpio.conf
2021-12-17 19:31:23 [INFO]: MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm" will be changed to MODULES=" _modeset _uvm _drm" in /etc/mkinitcpio.conf
WARNING:root:Cannot run mkinitcpio -p linux: Command '['mkinitcpio', '-p', 'linux']' returned non-zero exit status 1., please run it manually before rebooting!
2021-12-17 19:31:27 [WARNING]: Cannot run mkinitcpio -p linux: Command '['mkinitcpio', '-p', 'linux']' returned non-zero exit status 1., please run it manually before rebooting!
INFO:root:Installation finished. You need to reboot now!
2021-12-17 19:31:27 [INFO]: Installation finished. You need to reboot now!

file 20-nvidia.conf is present

under 495.46 , i cant get with tty nvidia-settings -q all > file , error message say cant find Opengl