You are not logged in.

#1 2020-11-13 06:20:32

sputnik208
Member
From: Eagle, Idaho
Registered: 2020-08-02
Posts: 2
Website

[SOLVED] nvidia-lts & sddm - boot hangs / black screen after updating

Hey everyone,

I have a Nvidia GeForce RTX 2070 SUPER card and have been successfully using the nvidia-lts driver for some time. I would prefer to use nouveau driver but, this being a newer card, the chipset is not supported.
I keep my system up to date and after performing full update from 5.4.72-1-lts to 5.4.77-1-lts SDDM did not appear to start after a reboot.
The boot seemed to hang. By this I mean, I'm not presented with a greeter or KDE after the following:

[ OK ] Started Simple Desktop Display Manager.

I added 'debug --verbose' to my GRUB_CMDLINE_LINUX_DEFAULT to investigate and it appears that SDDM does actually start.
When I press Ctrl+Alt+F1 I have a black screen with a cursor. Looking at my pacman.log I can see that the nvidia-lts driver has been updated recently.
nvidia-lts (updated yesterday) I suspect this is the cause.
In my journal I see this entry:

Nov 12 20:01:10 archlinux kernel: snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD data byte 39

I don't use HDMI audio so I'm not sure if this might be a clue or if this is benin.

I don't see anything glaring in Xorg.0.log except this:

[   223.939] (II) NVIDIA(0): Setting mode "DFP-3:nvidia-auto-select"
[   224.087] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   224.087] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   224.087] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   224.087] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   224.087] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   224.087] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   224.087] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   224.087] (II) NVIDIA(0):     Config Options in the README.

The WIKI indicates this warning can be ignored.

Am I over looking something obvious? I would appreciate any hints / advice. Let me know if I can provide anymore specifics.

Thanks!

My info:

$ uname -a

Linux archlinux 5.4.77-1-lts #1 SMP Tue, 10 Nov 2020 22:42:03 +0000 x86_64 GNU/Linux

$ journal -b
journal log

$ cat /var/log/Xorg.0.log
http://ix.io/2DYy

$ lspci -v
full output

10:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: eVga.com. Corp. Device 3071
	Flags: bus master, fast devsel, latency 0, IRQ 66, IOMMU group 7
	Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at f000 [size=128]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [258] L1 PM Substates
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [420] Advanced Error Reporting
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] Secondary PCI Express
	Capabilities: [bb0] Physical Resizable BAR
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

$ pacman -Q --info nvidia-lts

Provides        : libnvidia-egl-wayland.so=1-64
Required By     : nvidia-utils
                  nvidia-utils: Nvidia NVDEC/NVENC support [installed]
Required By     : chromium  electron  electron9  firefox  gdl  granite  gtkmm3  gtkspell3  libdbusmenu-gtk3  libgnomekbd  libindicator-gtk3  nutty  nvidia-settings  thunderbird  timeshift  vte3
Required By     : libnm  libteam  nvidia-settings  smbclient
Optional Deps   : nvidia-utils: NVIDIA GPU usage [installed]
Required By     : eglexternalplatform  glu  lib32-libglvnd  libva  mesa  nvidia-lts  nvidia-utils  projectm  qt5-base  sdl2  xorg-server  xorg-server-xephyr  xorg-server-xvfb  xorg-server-xwayland  xorg-xdriinfo
Required By     : ffmpeg  gst-plugins-bad-libs  nvidia-settings
URL             : https://github.com/NVIDIA/nvidia-settings
Required By     : nvidia-settings
Required By     : ffmpeg  gst-plugins-base-libs  nvidia-settings  xorg-server-xephyr  xorg-xvinfo  zbar
Required By     : nvidia-lts
Name            : nvidia-lts
URL             : https://www.nvidia.com/
Depends On      : linux-lts  nvidia-utils=455.28  libglvnd
Name            : nvidia-settings
URL             : https://github.com/NVIDIA/nvidia-settings
Depends On      : jansson  gtk3  libxv  libvdpau  nvidia-utils  libxnvctrl
Optional For    : nvidia-utils
Name            : nvidia-utils
URL             : http://www.nvidia.com/
Provides        : vulkan-driver  opengl-driver  nvidia-libgl
Optional Deps   : nvidia-settings: configuration tool [installed]
                  xorg-server-devel: nvidia-xconfig [installed]
                  opencl-nvidia: OpenCL support
Required By     : libglvnd  nvidia-lts  nvidia-settings
Conflicts With  : nvidia-libgl
Replaces        : nvidia-libgl
                  libva-vdpau-driver: vdpau backend nvidia
Required By     : nvidia-utils  sddm
Conflicts With  : nvidia-utils<=331.20  glamor-egl  xf86-video-modesetting
Optional For    : nvidia-utils

Solution

It was auto login that was bunk. Once I disabled auto login from /etc/sddm.conf.d/kde_settings.conf the SDDM displayed as normal.

It was:

[Autologin]
Relogin=false
Session=
User=nick
 

It needs to be:

[Autologin]
Relogin=false
Session=plasma  #note the session is specified
User=nick

Pretty sure I set this originally from within KDE. Not sure why that was blank.

Last edited by sputnik208 (2020-11-13 22:58:44)

Offline

Board footer

Powered by FluxBB