Fedora 42 Looks To Make Use Of The "Screen Of Death" DRM Panic Screen
([Fedora] 5 Hours Ago
Fedora 42 + DRM Panic)
- Reference: 0001478248
- News link: https://www.phoronix.com/news/Fedora-42-DRM-Panic-Plans
- Source link:
While Fedora 41 isn't even out yet, early feature planning is already underway for Fedora 42 that will debut in the early months of 2025. One of the interesting proposals raised so far is for making use of the new DRM Panic screen functionality for a "Blue Screen of Death" of sorts for better presenting kernel error messages in case of kernel panics.
The [1]DRM Panic infrastructure was merged for Linux 6.10 but for v6.11 and beyond is yet more functionality being wired up. It can [2]present a nice Blue Screen of Death for Linux or [3]a Black Screen of Death . There's also pending work for v6.11 to add [4]monochrome logo support and further out is also the ability to [5]embed QR codes of errors in the DRM Panic screen.
Red Hat's Javier Martinez Canillas [6]showing off DRM Panic in its early form.
The proposal for Fedora 42 that was raised by Red Hat engineers Jocelyn Falempe and Javier Martinez Canillas is to enable DRM_PANIC for the Fedora kernel builds. This proposal also inches Fedora closer toward the long running quest of disabling [7]CONFIG_VT .
"This change will improve the user experience when a kernel panic occurs.
It's also a first step to switch to userspace console, and being able to disable CONFIG_VT in the kernel. VT and fbcon are legacy part of the kernel, that would reduce maintenance burden if we can disable them, and It will also reduce CVE impact, as userspace vulnerabilities are usually less critical."
The proposal still needs to be voted on by FESCo but for those interested the draft in its current form can be found on the [8]Fedora Wiki .
[1] https://www.phoronix.com/search/DRM+Panic
[2] https://www.phoronix.com/news/Linux-DRM-Panic-BSoD-Picture
[3] https://www.phoronix.com/news/Linux-Black-BSoD
[4] https://www.phoronix.com/news/DRM-Panic-Monochrome-Logo
[5] https://www.phoronix.com/news/Linux-DRM-Panic-QR-Codes
[6] https://www.phoronix.com/news/Linux-DRM-Panic-BSoD-Picture
[7] https://www.phoronix.com/search/CONFIG_VT
[8] https://fedoraproject.org/wiki/Changes/EnableDrmPanic
The [1]DRM Panic infrastructure was merged for Linux 6.10 but for v6.11 and beyond is yet more functionality being wired up. It can [2]present a nice Blue Screen of Death for Linux or [3]a Black Screen of Death . There's also pending work for v6.11 to add [4]monochrome logo support and further out is also the ability to [5]embed QR codes of errors in the DRM Panic screen.
Red Hat's Javier Martinez Canillas [6]showing off DRM Panic in its early form.
The proposal for Fedora 42 that was raised by Red Hat engineers Jocelyn Falempe and Javier Martinez Canillas is to enable DRM_PANIC for the Fedora kernel builds. This proposal also inches Fedora closer toward the long running quest of disabling [7]CONFIG_VT .
"This change will improve the user experience when a kernel panic occurs.
It's also a first step to switch to userspace console, and being able to disable CONFIG_VT in the kernel. VT and fbcon are legacy part of the kernel, that would reduce maintenance burden if we can disable them, and It will also reduce CVE impact, as userspace vulnerabilities are usually less critical."
The proposal still needs to be voted on by FESCo but for those interested the draft in its current form can be found on the [8]Fedora Wiki .
[1] https://www.phoronix.com/search/DRM+Panic
[2] https://www.phoronix.com/news/Linux-DRM-Panic-BSoD-Picture
[3] https://www.phoronix.com/news/Linux-Black-BSoD
[4] https://www.phoronix.com/news/DRM-Panic-Monochrome-Logo
[5] https://www.phoronix.com/news/Linux-DRM-Panic-QR-Codes
[6] https://www.phoronix.com/news/Linux-DRM-Panic-BSoD-Picture
[7] https://www.phoronix.com/search/CONFIG_VT
[8] https://fedoraproject.org/wiki/Changes/EnableDrmPanic
Nuc!eoN