Firstly, sorry, it's another one of these threads...
This post has been long in the making, and I’m about ready to throw in the towel by disabling SDDM. I’ve been fighting this ever since I first installed Garuda, and so far, nothing I’ve tried has worked – I also ran into some other issues along the way, but those are for another day (and thread).
Essentially, this is yet another ‘SDDM does not start/is stuck on black screen after GRUB/freezes on a starting process’ issue. I have the Plymouth boot screen theme set to ‘details’ with all
quiet params removed since I am basically always pressing
esc to check the textual output, and what I’ve discovered is that sometimes the freeze will happen while trying to load the Samba service, in which case I can see all the textual output – other times it’ll tell me that SDDM has started, and then freeze on a black screen.
What both instances have in common is that the laptop will completely freeze – can’t change to another tty, can’t do any
sysreq combos such as
alt+prtsc+b to reboot, and can’t login by typing my password as though the login screen is just invisible. A hard reset is always required.
All the stuff I’ve tried to resolve this issue that has failed to fix it:
Everything suggested in this thread: Computer doesn’t boot, boots to a black screen, or stops at a message
Using different kernels (tried zen, lts and hardened, all to no avail – currently using lts due to some other issues related to suspend)
systemctl set-default graphical.targetso that the system isn’t using
Adding a 30 second delay (which has somewhat lessened the occurrence of this issue) to the start of SDDM by executing the following:
sudo systemctl edit sddm-plymouth # inside the override config file [Service] ExecStartPre=/bin/sleep 30
xf86-video-intel, as I noticed in my
Xorg.0.logbefore that it could not find any Intel modules. I’m actually not sure whether this could’ve made the issue worse, as the display manager now has two (possibly competing) graphical modules?
Adding the proprietary NVIDIA modules to
mkinitpcio.confso it contains
MODULES=(crc32c-intel intel_agp i915 nouveau nvidia nvidia_modeset nvidia_uvm nvidia_drm), and then refreshing the initramfs with
sudo mkinitpcio -P
usr/share/sddm/scripts/Xsetupto use NVIDIA with
xrandr –setprovideroutputsource modesetting NVIDIA-G0 xrandr –auto
- Changing SDDM to use Wayland instead of X11 – didn’t solve the problem and only brought on its own set of problems, such as a black screen with cursor after suspend (at least I could switch to a virtual console…)
There may have been some changes which I forgot about since I wasn’t thoroughly documenting my steps >_>;; but these were the main ones.
Here are some links to logs which might be relevant (some logs are a few days old as that’s when I happened to be adamantly troubleshooting the issue – if you would like newer logs, please let me know):
journalctl –unit=sddm-plymouth.service: Garuda's PrivateBin
Xorg.0.log (most recent): Garuda's PrivateBin
startxon a different tty to generate this log): Garuda's PrivateBin
sudo journalctl -b -1: Garuda's PrivateBin
I’m at a loss for what to try next – any help would be appreciated! ^^;
If there's any further elaboration and/or logs required, lemme know and I'll get them to you when I can.
In the end if nothing works, I’m happy to follow the advice of a Redditor who essentially said, “From my experience with NVIDIA, you are better off forgoing graphical login managers. Log into a console and use
startx instead”. :’)
System: Kernel: 5.15.79-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=c9f99daa-f49a-4d9f-a961-e0361c675eed rw [email protected] splash rd.udev.log_priority=3 vt.global_cursor_default=0 resume=UUID=8d72c892-6d9c-4514-b2d6-398dc499ca0c loglevel=3 ibt=off Desktop: KDE Plasma v: 5.26.3 tk: Qt v: 5.15.7 info: latte-dock wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda Linux base: Arch Linux Machine: Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <superuser required> Chassis: type: 10 serial: <superuser required> Mobo: Dell model: 05FFDN v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0 date: 08/10/2021 Battery: ID-1: BAT0 charge: 26.7 Wh (32.3%) condition: 82.7/97.0 Wh (85.3%) volts: 11.2 min: 11.4 model: LGC-LGC8.33 DELL 5XJ28 type: Li-ion serial: <filter> status: discharging CPU: Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9 microcode: 0xF0 Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB Speed (MHz): avg: 900 min/max: 800/3800 scaling: driver: intel_pstate governor: powersave cores: 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 7: 900 8: 900 bogomips: 44798 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable Type: mds mitigation: Clear CPU buffers; SMT vulnerable Type: meltdown mitigation: PTI Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable Type: retbleed mitigation: IBRS Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: Not affected Type: srbds mitigation: Microcode Type: tsx_async_abort status: Not affected Graphics: Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300 Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 520.xx+ status: current (as of 2022-10) arch: Pascal code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302 Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-12:7 chip-ID: 1bcf:2b95 class-ID: 0e02 Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5 compositor: kwin_x11 driver: X: loaded: intel dri: i965 gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 3840x2160 s-dpi: 168 s-size: 580x326mm (22.83x12.83") s-diag: 665mm (26.19") Monitor-1: eDP-1 mapped: eDP1 model: Sharp 0x1476 built: 2016 res: 3840x2160 hz: 60 dpi: 279 gamma: 1.2 size: 350x190mm (13.78x7.48") diag: 397mm (15.6") ratio: 16:9 modes: 3840x2160 API: OpenGL v: 4.6 Mesa 22.2.3 renderer: Mesa Intel HD Graphics 630 (KBL GT2) direct render: Yes Audio: Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a171 class-ID: 0403 Sound API: ALSA v: k5.15.79-1-lts running: yes Sound Server-1: PulseAudio v: 16.1 running: no Sound Server-2: PipeWire v: 0.3.60 running: yes Network: Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Rivet Networks Killer Wireless-n/a/ac 1535 driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 41.0 C IF: wlp2s0 state: up mac: <filter> Bluetooth: Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 type: USB driver: btusb v: 0.8 bus-ID: 1-4:4 chip-ID: 0cf3:e300 class-ID: e001 Report: bt-adapter note: tool can't run ID: hci0 rfk-id: 1 state: down bt-service: disabled rfk-block: hardware: no software: no address: N/A Drives: Local Storage: total: 476.94 GiB used: 587.04 GiB (123.1%) SMART Message: Unable to run smartctl. Root privileges required. ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: AADA4106 temp: 31.9 C scheme: GPT Partition: ID-1: / raw-size: 459.61 GiB size: 459.61 GiB (100.00%) used: 148.98 GiB (32.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2 ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 10.2 MiB (3.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 ID-3: /home raw-size: 459.61 GiB size: 459.61 GiB (100.00%) used: 148.98 GiB (32.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2 ID-4: /var/log raw-size: 459.61 GiB size: 459.61 GiB (100.00%) used: 148.98 GiB (32.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2 ID-5: /var/tmp raw-size: 459.61 GiB size: 459.61 GiB (100.00%) used: 148.98 GiB (32.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2 Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) ID-1: swap-1 type: zram size: 15.48 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 ID-2: swap-2 type: partition size: 17.03 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 Sensors: System Temperatures: cpu: 46.0 C pch: 43.5 C mobo: N/A Fan Speeds (RPM): cpu: 0 fan-2: 0 Info: Processes: 281 Uptime: 1h 30m wakeups: 3 Memory: 15.48 GiB used: 5.18 GiB (33.5%) Init: systemd v: 252 default: graphical tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1780 libs: 500 tools: octopi,pamac,paru pm: appimage pkgs: 0 Client: shell wrapper v: 5.1.16-release inxi: 3.3.23 Garuda (2.6.9-1): System install date: 2022-10-19 Last full system update: 2022-11-26 Is partially upgraded: No Relevant software: NetworkManager Windows dual boot: Probably (Run as root to verify) Snapshots: Snapper Failed units: systemd-vconsole-setup.service