FS#70726 - linux 5.12.1 black screen on boot Dell XPS 15 9570
Attached to Project:
Arch Linux
Opened by Albert Astals Cid (tsdgeos) - Wednesday, 05 May 2021, 22:37 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 21 May 2021, 18:14 GMT
Opened by Albert Astals Cid (tsdgeos) - Wednesday, 05 May 2021, 22:37 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 21 May 2021, 18:14 GMT
|
Details
The system is "working" because i can ssh in
I get to see the part of the boot process happen, but at the end i get a black screen. With "rescue" kernel parameter same thing, with "emergency" it stops booting earlier and i end up correctly on the recovery shell Using linux-lts works fine. Probably an upstream issue, but if you know which logs would make sense and where to report the issue I would be grateful for the assistance :) |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Friday, 21 May 2021, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.12.3.arch2-1
Friday, 21 May 2021, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.12.3.arch2-1
If you don't have an external monitor or it does not show output to it and no SSH enabled like me. To fix it, if you use grub to boot, pulse key `e` (https://wiki.archlinux.org/title/Kernel_parameters#GRUB ) and add 'nomodeset' as kernel param (I have also removed the 'quiet' param to see the kernel output, I have never set the 'splash' param). Press Control+X and boot. That should avoid loading the Intel module and use standard VGA output.
After that I have downgraded to the Kernel 5.11.16: https://wiki.archlinux.org/title/downgrading_packages .
- When both monitors are connected, Linux 5.12 will hang the moment it starts Cinnamon.
- When a single monitor is connected to IGPU, Linux 5.12 will work normally when Cinnamon starts. Afterwards, when you hot-plug a monitor to Radeon, Linux 5.12 will hang immediately.
Definition of "hang" = display frozen. CTRL+ALT+F1 doesn't work. Doesn't respond to power off button (graceful shutdown). I didn't test SSH.
Not sure if it's the same issue, but on my desktop with two discrete GPUs I'm also getting a black screen on boot.
journalctl is reporting 'kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000' just before the system becomes unresponsive.
I've attached more detailed system log.
Laptop black screen at startup, external HDMI monitors working correctly (even the one connected with an adapter to the USB-C port).
Kernels up to 5.11.16 work fine.
There was a similar issue in the past (kernel release 5.0 https://bugs.archlinux.org/task/61964) and it is due to https://bugs.freedesktop.org/show_bug.cgi?id=109959; maybe it is a regression.
Hopes this can help to solve this issue quickly.
It seems even its root has already been found:
"
Albert Astals Cid
I have the same hardware and have bisected the offending commit to https://github.com/torvalds/linux/commit/2bbd6dba84d44219387df051a1c799b7bac46099
"
Moreover, even the test kernel that solves the issue has already been built. I am just not sure whether a custom kernel is any better than an old kernel.
Hopefully, someone smart will come along and explain how to solve this for ordinary Arch users.
Built package with fix [1] applied:
https://drive.google.com/file/d/1-tgtDthaGu_8UJSZnsAWobBEBurJ0JOe/view?usp=sharing linux-5.12.2.arch1-1.2-x86_64.pkg.tar.zst
[1] https://cgit.freedesktop.org/drm-tip/patch/?id=acca7762eb71bc05a8f28d29320d193150051f79
PKGBUILD.diff (5.3 KiB)
BTW, the reddit thread that I found that led me to this ticket:
https://www.reddit.com/r/archlinux/comments/n6tgbu/latest_linux_512_made_my_screen_go_blank/
claims that adding a "nomodeset" to the grub boot parameters will fix the issue. Folks that don't want to downgrade may want to try that.
https://gitlab.freedesktop.org/drm/intel/-/issues/3440
so the next releases should be ok (maybe already 5.12.3 but I didn't try yet).
Tried kernel versions 5.12.3.arch2-1 and 5.12.4.arch1-2 with no success.
Working if I downgrade to 5.11.16.arch1-1
If I add nomodeset to kernel parameters, I still get a black screen, but can switch to tty.