Black screen when starting from grub

Hi!

I installed the Garuda Ultimate Gnome and I'm facing an issue that I don't know how to continue debugging.

Starting from the generated grub entry doen't work, it show the Garuda loading screen and then a black screen, in that point you can't change to another tty

But, starting the same grub entry but with multi-user target (adding a 3 at the end of the linux entry) it loads the tty, and I can start correctly the X with startx or sudo systemctl start lightdm

I've been looking at journalctl and logs but I can't find what's stopping the "normal" startup to freeze at the black screen.

Thanks for the help!

System information:

❯ inxi -Fxxxza
System:    Kernel: 5.9.4-zen1-1-zen x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=58032c4f-eb8b-4d24-8b98-976a72db0bd7 rw 
           rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 
           systemd.unified_cgroup_hierarchy=1 loglevel=3 3 
           Desktop: GNOME 3.38.1 tk: GTK 3.24.23 wm: gnome-shell dm: LightDM 1.30.0 Distro: Garuda Linux 
Machine:   Type: Laptop System: LENOVO product: 20TKCTO1WW v: ThinkPad X1 Extreme Gen 3 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20TKCTO1WW v: SDK0R32862 WIN serial: <filter> UEFI: LENOVO v: N2VET19W (1.04 ) date: 07/10/2020 
Battery:   ID-1: BAT0 charge: 83.1 Wh condition: 83.4/80.4 Wh (104%) volts: 17.4/15.4 model: SMP 5B10X19049 type: Li-poly 
           serial: <filter> status: Unknown cycles: 1 
CPU:       Info: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A family: 6 model-id: A5 (165) stepping: 2 
           microcode: C8 L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
           Speed: 2590 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 2600 2: 2601 3: 2601 4: 2600 5: 2601 6: 2600 7: 2600 
           8: 2600 9: 2600 10: 2600 11: 2600 12: 2600 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           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: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:9bc4 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Lenovo driver: nvidia v: 455.38 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1f95 
           Device-3: Chicony Integrated Camera type: USB driver: uvcvideo bus ID: 1-8:3 chip ID: 04f2:b6cb serial: <filter> 
           Display: x11 server: X.Org 1.20.9 compositor: gnome-shell driver: modesetting,nvidia 
           alternate: fbdev,intel,nouveau,nv,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.0x22.5") s-diag: 1165mm (45.9") 
           Monitor-1: eDP-1 res: 3840x2160 hz: 60 dpi: 284 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.2.1 direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo driver: sof-audio-pci 
           alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:06c8 
           Sound Server: ALSA v: k5.9.4-zen1-1-zen 
Network:   Device-1: Intel Wireless-AC 9462/9560 driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3 chip ID: 8086:06f0 
           IF: wlp0s20f3 state: up mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 22.95 GiB (2.4%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 953.87 GiB block size: physical: 512 B logical: 512 B 
           speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 5107AGLA scheme: GPT 
Partition: ID-1: / raw size: 704.02 GiB size: 704.02 GiB (100.00%) used: 22.92 GiB (3.3%) fs: btrfs dev: /dev/nvme0n1p5 
           ID-2: /home raw size: 704.02 GiB size: 704.02 GiB (100.00%) used: 22.92 GiB (3.3%) fs: btrfs dev: /dev/nvme0n1p5 
           ID-3: /var/log raw size: 704.02 GiB size: 704.02 GiB (100.00%) used: 22.92 GiB (3.3%) fs: btrfs dev: /dev/nvme0n1p5 
           ID-4: /var/tmp raw size: 704.02 GiB size: 704.02 GiB (100.00%) used: 22.92 GiB (3.3%) fs: btrfs dev: /dev/nvme0n1p5 
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100) 
           ID-1: swap-1 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0 
           ID-2: swap-2 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1 
           ID-3: swap-3 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2 
           ID-4: swap-4 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3 
           ID-5: swap-5 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram4 
           ID-6: swap-6 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram5 
           ID-7: swap-7 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram6 
           ID-8: swap-8 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram7 
           ID-9: swap-9 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram8 
           ID-10: swap-10 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram9 
           ID-11: swap-11 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram10 
           ID-12: swap-12 type: zram size: 661.9 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram11 
Sensors:   System Temperatures: cpu: 39.0 C mobo: 37.0 C 
           Fan Speeds (RPM): cpu: 2374 
Info:      Processes: 381 Uptime: 19m Memory: 31.03 GiB used: 3.06 GiB (9.9%) Init: systemd v: 246 Compilers: gcc: 10.2.0 
           clang: 10.0.1 Packages: pacman: 1830 lib: 559 flatpak: 0 Shell: Zsh v: 5.8 running in: gnome-terminal inxi: 3.1.06

Do you use


?

But i read only barebones seems to work, for the lite version you need to install all packages without >extra from list

I installed the ultimate version (https://builds.garudalinux.org/iso/garuda/gnome/ultimate/201026/)

I checked and all the packages without >extra on that list are installed.

Of course, must be so.

and

garuda-orange-welcome-200 :slight_smile:

Ups , second read I saw you wrote Ultimate, we stop Ultimate versions.

So maybe @dr460nf1r3 can help?

1 Like

Thanks for the welcome! I'm actually really excited with this distro, I've been an arch and antergos user for a few years now, and I really like the Garuda features :slight_smile:

So, the gnome ultimate versions are not mantained/supported anymore? Maybe they should be removed from the main page: https://garudalinux.org/downloads.html

Well in the next release there will be no more ultimate versions apart from KDE but you will be able to upgrade at first startup.
Are there hints on lightdm doing weird stuff without the “3” in the boot args?

1 Like

Check for errors in the failed boot. (journalctl -b -1 for previous boot, cat /var/log/Xorg.0.log.old). If you can’t find Xorg logs there, check in ~/.local/share/xorg/, IIRC.

It may have to do with dual graphics (Optimus).

2 Likes

That was the login that I was looking at. With lightdm I wasn't able to find anything wrong.

I changed to gdm, and now instead of a blackscreen, I was seeing the "oh no something was gone wrong" error, but I could change to other tty, and restarting the gdm service worked like a charm.

With gdm I saw this error:

nov 07 16:26:00 valhalla gnome-shell[1279]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
nov 07 16:26:00 valhalla gnome-shell[1279]: JS ERROR: TypeError: this._userProxy.Display is null
                                            getCurrentSessionProxy@resource:///org/gnome/shell/misc/loginManager.js:111:41
                                            ScreenShield@resource:///org/gnome/shell/ui/screenShield.js:104:28
                                            _initializeUI@resource:///org/gnome/shell/ui/main.js:212:24
                                            start@resource:///org/gnome/shell/ui/main.js:159:5
                                            @<main>:1:47
nov 07 16:26:00 valhalla gnome-shell[1279]: Execution of main.js threw exception: Script <main> threw an exception
nov 07 16:26:00 valhalla gnome-session-binary[1233]: Unrecoverable failure in required component org.gnome.Shell.desktop

I tried finding what was the problem (for example disabling all the extensions), but I had no luck.

Then I changed to sddm, and with it works perfectly, so I'm sticking with sddm for now since I don't have a preference for the session manager :smile:

You have tried to correct the problem, but not find out what was it.
You may still have a look at old logs with journalctl -p3 -b -3 (where -b -3 means 3rd oldest boot) and help fixing a possible bug, if it was coming from Garuda installation sequence.

Maybe you haven’t updated your system properly, or DM was not enabled, or a Gnome package failed in some vendor patch. Just guessing…

2 Likes

I tried to find the problem, this comments are just 10 lines summaries of hours looking at logs and trying to understand what’s going on without luck and/or knowledge. But since I wasn’t able to find it and this is happening in my working laptop, I went to “bypass” the problem (my next steps if using other session manager didn’t worked was to install the ultimate KDE or just install archlinux)

When I have some time I’ll enable gdm or lightdm again and try to find the problem again and update here, but as I said, this is my working laptop and I need it working.

Thanks for the help!

1 Like