You are not logged in.
Someone else has posted about this, but this subject header might be easier to search for other people running in to this issue.
After running updates this morning (2022-01-01), entering credentials to the lightdm-greeter screen just results in a return to the greeter screen; i.e. the user session fails to start. Looking through the log files I couldn't find any evidence that the Xorg server is crashing, nor were there any clues in the lightdm log file, but after removing the nvidia driver:
# pacman -Rns nvidia nvidia-utils nvidia-settings
# reboot
and letting the nouveau driver take over, I am able to log in and get a user session under lightdm again.
Perhaps someone can explain why this didn't work? Following a suggestion in another post, I tried downgrading the nvidia driver from 465.46 to nvidia-dkms-495.44 using the Arch Linux Archive:
# pacman -Rns nvidia nvidia-utils nvidia-settings
# pacman -S dkms
# cd /var/cache/pacman/pkg
# pacman -U ./nvidia-utils-495.44-6-x86_64.pkg.tar.zst ./nvidia-settings-495.44-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/n/nvidia-dkms/nvidia-dkms-495.44-6-x86_64.pkg.tar.zst
# reboot
This looks a little unorthodox, but worked to install the nvidia drivers. However, after doing this I can't get the lightdm service to start at all. It starts and stops in rapid succession a few times and then gives up. I couldn't find anything in the lightdm log files that explains why this was happening.
Last edited by pgoetz (2022-01-03 21:49:50)
Offline
Post those lightdm logs and an updated /var/log/Xorg.0.log. If you've set up early KMS you will also need to regenerate your initramfs with
mkinitcpio -P
if you didn't set up a relevant pacman hook (if you did and you previously used the "nvidia" package you'd have to change the hook's Taregt= to nvidia-dkms)
Offline
If you've set up early KMS
Thanks for the suggestions, however I'm not sure what early KMS means.
if you didn't set up a relevant pacman hook
I also don't understand why I would set up a pacman hook for the nvidia driver -- I'm just installing from the repos, either Extra or the Archive, so presumably any pacman hooks would already be in the PKGBUILD?
Offline
Here is the bug report on the Mate Desktop Github page:
https://github.com/mate-desktop/mate-desktop/issues/505
However, it looks like the problem has already been identified on the Nvidia forum:
https://forums.developer.nvidia.com/t/4 … p/199076/4
Or more specifically:
https://gitlab.freedesktop.org/xorg/xse … ssues/1275
Offline
https://wiki.archlinux.org/title/NVIDIA#Early_loading
For lightdm you can also try https://wiki.archlinux.org/title/LightD … TTY_output
If that doesn't help, please post an xorg log from the failing lightdm start.
Offline
Thanks for your help with this, Seth!
The problem appears to have been that I didn't have linux-headers package installed, even though I was certain I checked for this before going the DKMS route. Now the 495.44 nvidia driver is installed and working with lightdm. For completeness sake, here are the complete steps to resolve this issue:
# pacman -Rns nvidia nvidia-utils nvidia-settings
# pacman -S dkms linux-headers
# cd /var/cache/pacman/pkg
# pacman -U ./nvidia-utils-495.44-6-x86_64.pkg.tar.zst ./nvidia-settings-495.44-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/n/nvidia-dkms/nvidia-dkms-495.44-6-x86_64.pkg.tar.zst
# reboot
If you don't have the 495.44 nvidia-utils and nvidia-settings in your pacman cache, you'll have to retrieve these from the ALA also. Marking this problem as solved with work around.
Offline
After the most recent update (linux 5.16.1.arch1-1 + gcc 11.1.0-3) the procedure described above no longer works, as nvidia-dkms-495.44 won't compile properly. The log files indicate the kernel was built with a different version of gcc, resulting in a compile error which I unfortunately didn't keep track of. Since the bug has been tracked down to an incompatibility between nvidia-495-46 and the xorg-server, and since an xorg-server patch has been created, this time I tried installing a patched version of xorg-server 21.1.3-1.0, which I found here:
https://forum.garudalinux.org/t/upgrade … mate/16155
This works with the pre-compiled nvidia-496.46-9 from Extra.
Last edited by pgoetz (2022-01-21 11:17:32)
Offline