Black screen before logindm, no tty (intermittent)

Hi,
My laptop with Manjaro sometimes refuses to boot into XFCE. I can see reFind, GRUB, a bunch of terminal output after GRUB, and then nothing. Just black.

The backlight is clearly on. I cannot access another TTY.
The only option is to force reboot and try again. Sometimes I have to do this 5-10 times until for some reason it goes to lightdm properly.
Other times it goes to lightdm immediately.

Relevant outputs:
inxi -Fxxxza --no-host

System:
  Kernel: 5.4.27-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=d03ccda9-7f21-470c-9f97-8f6d80a7044a rw apparmor=1 
  security=apparmor resume=UUID=b002cd20-e90e-4684-b5e6-6765bf19ae5e 
  udev.log_priority=3 
  Desktop: Xfce 4.14.2 tk: Gtk 3.24.13 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: LENOVO product: 81V5 v: Lenovo V155-15API 
  serial: <filter> Chassis: type: 10 v: Lenovo V155-15API serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700WIN serial: <filter> 
  UEFI: LENOVO v: ARCN32WW date: 07/11/2019 
Battery:
  ID-1: BAT0 charge: 36.7 Wh condition: 37.1/37.4 Wh (99%) volts: 12.7/11.2 
  model: Celxpert L18C3PF2 type: Li-poly serial: <filter> 
  status: Discharging cycles: 53 
CPU:
  Topology: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 18 (24) 
  stepping: 1 microcode: 8108102 L2 cache: 2048 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 33550 
  Speed: 1450 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 
  1: 1579 2: 1610 3: 1247 4: 1210 5: 1449 6: 1433 7: 1207 8: 1196 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  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: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Picasso vendor: Lenovo driver: amdgpu v: kernel 
  bus ID: 04:00.0 chip ID: 1002:15d8 
  Display: x11 server: X.Org 1.20.7 driver: amdgpu,ati unloaded: modesetting 
  alternate: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RAVEN (DRM 3.35.0 5.4.27-1-MANJARO LLVM 9.0.1) 
  v: 4.5 Mesa 19.3.5 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:15de 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: Lenovo driver: N/A bus ID: 04:00.5 chip ID: 1022:15e2 
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.4.27-1-MANJARO 
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  vendor: Lenovo driver: ath10k_pci v: kernel bus ID: 02:00.0 
  chip ID: 168c:0042 
  IF: wlp2s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 2000 bus ID: 03:00.0 
  chip ID: 10ec:8168 
  IF: enp3s0 state: down mac: <filter> 
  Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 3-2:2 
  chip ID: 0cf3:e500 
Drives:
  Local Storage: total: 238.47 GiB used: 31.33 GiB (13.1%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ256HAJD-000L2 
  size: 238.47 GiB block size: physical: 512 B logical: 512 B 
  speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 3L1QFXV7 scheme: GPT 
Partition:
  ID-1: / raw size: 229.37 GiB size: 224.77 GiB (97.99%) 
  used: 31.33 GiB (13.9%) fs: ext4 dev: /dev/nvme0n1p2 
  ID-2: swap-1 size: 8.80 GiB used: 0 KiB (0.0%) fs: swap 
  swappiness: 60 (default) cache pressure: 100 (default) dev: /dev/nvme0n1p3 
Sensors:
  System Temperatures: cpu: 35.4 C mobo: N/A gpu: amdgpu temp: 35 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 245 Uptime: N/A Memory: 5.75 GiB used: 1.40 GiB (24.4%) 
  Init: systemd v: 244 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16 
  running in: xfce4-terminal inxi: 3.0.37 
System:
  Kernel: 5.4.27-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=d03ccda9-7f21-470c-9f97-8f6d80a7044a rw apparmor=1 
  security=apparmor resume=UUID=b002cd20-e90e-4684-b5e6-6765bf19ae5e 
  udev.log_priority=3 
  Desktop: Xfce 4.14.2 tk: Gtk 3.24.13 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: LENOVO product: 81V5 v: Lenovo V155-15API 
  serial: <filter> Chassis: type: 10 v: Lenovo V155-15API serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700WIN serial: <filter> 
  UEFI: LENOVO v: ARCN32WW date: 07/11/2019 
Battery:
  ID-1: BAT0 charge: 36.0 Wh condition: 37.1/37.4 Wh (99%) volts: 12.7/11.2 
  model: Celxpert L18C3PF2 type: Li-poly serial: <filter> 
  status: Discharging cycles: 53 
CPU:
  Topology: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 18 (24) 
  stepping: 1 microcode: 8108102 L2 cache: 2048 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 33550 
  Speed: 1222 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 
  1: 1223 2: 1232 3: 1306 4: 1224 5: 1222 6: 1222 7: 1232 8: 1336 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  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: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Picasso vendor: Lenovo driver: amdgpu v: kernel 
  bus ID: 04:00.0 chip ID: 1002:15d8 
  Display: x11 server: X.Org 1.20.7 driver: amdgpu,ati unloaded: modesetting 
  alternate: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RAVEN (DRM 3.35.0 5.4.27-1-MANJARO LLVM 9.0.1) 
  v: 4.5 Mesa 19.3.5 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:15de 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: Lenovo driver: N/A bus ID: 04:00.5 chip ID: 1022:15e2 
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.4.27-1-MANJARO 
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  vendor: Lenovo driver: ath10k_pci v: kernel bus ID: 02:00.0 
  chip ID: 168c:0042 
  IF: wlp2s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 2000 bus ID: 03:00.0 
  chip ID: 10ec:8168 
  IF: enp3s0 state: down mac: <filter> 
  Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 3-2:2 
  chip ID: 0cf3:e500 
Drives:
  Local Storage: total: 238.47 GiB used: 31.33 GiB (13.1%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ256HAJD-000L2 
  size: 238.47 GiB block size: physical: 512 B logical: 512 B 
  speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 3L1QFXV7 scheme: GPT 
Partition:
  ID-1: / raw size: 229.37 GiB size: 224.77 GiB (97.99%) 
  used: 31.33 GiB (13.9%) fs: ext4 dev: /dev/nvme0n1p2 
  ID-2: swap-1 size: 8.80 GiB used: 0 KiB (0.0%) fs: swap 
  swappiness: 60 (default) cache pressure: 100 (default) dev: /dev/nvme0n1p3 
Sensors:
  System Temperatures: cpu: 37.4 C mobo: N/A gpu: amdgpu temp: 37 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 232 Uptime: 7m Memory: 5.75 GiB used: 1.60 GiB (27.9%) 
  Init: systemd v: 244 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16 
  running in: xfce4-terminal inxi: 3.0.37 

cat /etc/default/grub

GRUB_DEFAULT=saved
GRUB_TIMEOUT=1
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor resume=UUID=b002cd20-e90e-4684-b5e6-6765bf19ae5e udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
GRUB_DEFAULT=saved
GRUB_TIMEOUT=1
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor resume=UUID=b002cd20-e90e-4684-b5e6-6765bf19ae5e udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

journalctl -p3 -b -0

-- Logs begin at Mon 2020-03-02 17:43:46 CET, end at Sat 2020-04-11 20:57:59 CEST. --
apr 11 20:52:01 lenovo kernel: pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
apr 11 20:52:01 lenovo systemd-udevd[339]: /etc/udev/rules.d/40-libsane.rules:26: GOTO="libsane_rules_end" has no matching label, ignoring
apr 11 20:52:01 lenovo systemd-udevd[339]: /etc/udev/rules.d/S99-2000S1.rules:26: GOTO="libsane_rules_end" has no matching label, ignoring
apr 11 20:52:01 lenovo kernel: snd_pci_acp3x 0000:04:00.5: Invalid ACP audio mode : 1
apr 11 20:52:02 lenovo systemd-backlight[947]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
apr 11 20:52:02 lenovo systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
apr 11 20:52:09 lenovo lightdm[1308]: gkr-pam: unable to locate daemon control file

I will happilly provide more relevant outputs if you tell me where to get them.

I find it very weird that this problem doesn't occur at every boot.

Thank you for helping me fix this!

Hi,
Right now i think that i have similar problem on my desktop, i don't have solution and right now i have problem boot at all. My GPU is RX 5700 XT, my display lost signal and go to sleep, GPU RGB is shutdown, so i think that GPU is just offline and right now i even don't see bios, so i think that GPU is in some weird state. When i successfully boot, same problem occur in the time (in game i can still hear sound), it's do the same and only possible solution is reboot.
I tried kernel 5.6, 5.5 and Mesa 20.0.4 and 19.3.5 all it started after update from 8.4.2020.

I don't think this is the same problem as mine, because I never have trouble in BIOS.

Hi!
i dont know a lot, but maybe you can fsck /dev/sdxy on a live cd
or chroot in live manjaro too and update-grub
or try unistalling driver and stay with the free branch

hope it was usefull

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by