Linux's New DRM Panic "Blue Screen of Death" In Action

2 years ago by ylai to c/linux

kenkenken 82 points 2 years ago

It is not informative yet, but I like that it's blue. It's a quite recognizable color. Windows made it recognizable by having a lot of BSODs. People are asking why it couldn't be just black, but with non-black BSOD one can recognize it instantly without reading the text.

path: 0 10670383, hotness: undefined, score: 82, children: 4
ylai 35 points 2 years ago

Just for reference, a few years back, (ex-Microsoft) David Plummer had this historical dive into the (MIPS) origin of the blue color, and how Windows is not blue anymore: https://youtu.be/KgqJJECQQH0?t=780

path: 0 10670383 10670507, hotness: undefined, score: 35, children: 3
kenkenken 6 points 2 years ago

Oh, thanks! I don't know much about the current state of Windows.

path: 0 10670383 10670507 10671065, hotness: undefined, score: 6, children: 0
PipedLinkBot 2 points 2 years ago path: 0 10670383 10670507 10670521, hotness: undefined, score: 2, children: 0
princessnorah 2 points 2 years ago path: 0 10670383 10670507 10679478, hotness: undefined, score: 2, children: 0
Thorned_Rose 73 points 2 years ago

Reminds me of my Windows XP days when I used to customise the hell out of everything I could... custom boot screen... and yes custom BSOD. Which I switched to red đŸŸ„â— One day my PC RSODs in front of a family member and he said, "Oh shit, that must be really bad if it's red instead of blue!" 😂

path: 0 10672421, hotness: undefined, score: 73, children: 2
ramble81 19 points 2 years ago

VMware went with Purple for their hypervisors so you get a PSOD instead. Always was fun when you’d hit the console for a server and get greeted by that instead of the yellow and black split screen.

path: 0 10672421 10674180, hotness: undefined, score: 19, children: 1
princessnorah 3 points 2 years ago

Ahh, that sweet yellow and black split screen 😌

path: 0 10672421 10674180 10679440, hotness: undefined, score: 3, children: 0
01189998819991197253 57 points 2 years ago

A QR code created from the actual fault text would be super helpful. That way we can scan it and get the full error message (details and all) on another device without having to snap a picture or something. But not like windows does it, where it's a link to a defunct page. I'm taking about the actual text transcoded into a QR code.

path: 0 10674085, hotness: undefined, score: 57, children: 8
SteveTech 33 points 2 years ago path: 0 10674085 10677202, hotness: undefined, score: 33, children: 2
Brickardo 7 points 2 years ago

Ah man, I was hoping I'd be rickrolled

path: 0 10674085 10677202 10683227, hotness: undefined, score: 7, children: 0
01189998819991197253 4 points 2 years ago

This looks EXACTLY as I imagined!

path: 0 10674085 10677202 10691330, hotness: undefined, score: 4, children: 0
kurumin 11 points 2 years ago

And windows shows it for a few seconds, never enough time to pick the phone.

path: 0 10674085 10676568, hotness: undefined, score: 11, children: 4
01189998819991197253 4 points 2 years ago

Agreed. Probably the only One of the good thing about the win98 BSOD is that it crashed/froze along with the computer, and the PC required a hard reboot. Yeah, I know, not intentional, but it allowed me to fully read the message.

Edit: crossout

path: 0 10674085 10676568 10691351, hotness: undefined, score: 4, children: 0
the_crotch 3 points 2 years ago

You have to disable auto reboot on bsod

path: 0 10674085 10676568 10679573, hotness: undefined, score: 3, children: 2
Otherwise_Direction7 2 points 2 years ago

This should be the default option when the blue screen happened, giving users chance to scan the QR and find out about the causes before they can try restarting their PC

path: 0 10674085 10676568 10679573 10702753, hotness: undefined, score: 2, children: 1
the_crotch 1 point 2 years ago

Most users don't want to immediately troubleshoot every error, they want to get back to work. The ones that do know how to find it in event viewer or the crash dumps or disable auto reboot on bsod.

path: 0 10674085 10676568 10679573 10702753 10714883, hotness: undefined, score: 1, children: 0
verstra 44 points 2 years ago

What's DRM in this context? Surely linux kernel doesn't do digital rights management?

path: 0 10670599, hotness: undefined, score: 44, children: 10
jinwk00 73 points 2 years ago

Direct Rendering Manager. Part of Linux kernel to communicate with GPUs.

path: 0 10670599 10670760, hotness: undefined, score: 73, children: 0
bishoponarope 42 points 2 years ago

Direct Rendering Manager

path: 0 10670599 10670711, hotness: undefined, score: 42, children: 0
possiblylinux127 25 points 2 years ago

DRM came before DRM

path: 0 10670599 10671316, hotness: undefined, score: 25, children: 1
grue 4 points 2 years ago

Doesn't matter; I still get triggered by it every time anyway.

path: 0 10670599 10671316 10676236, hotness: undefined, score: 4, children: 0
DmMacniel 18 points 2 years ago

Actually there is DRM in the kernel thanks to the HDMI blobs.

path: 0 10670599 10671301, hotness: undefined, score: 18, children: 3
potatopotato 17 points 2 years ago

Fuck HDMI. The committee makes doing custom hardware near impossible unless you're a mega corp

path: 0 10670599 10671301 10674291, hotness: undefined, score: 17, children: 1
Xephonian 6 points 2 years ago

It was made by Hollywood for Hollywood.

path: 0 10670599 10671301 10674291 10685336, hotness: undefined, score: 6, children: 0
5714 1 point 2 years ago

How do they handle the naming confusion?

path: 0 10670599 10671301 10672134, hotness: undefined, score: 1, children: 0
fhein 11 points 2 years ago

It ought to be mandatory to write this out whenever talking about Linux. I've seen more than one person bash Linux in a public forum "because it has digital rights management built into the kernel" after they've misinterpreted some news headline.

path: 0 10670599 10676547, hotness: undefined, score: 11, children: 0
rotopenguin 1 point 2 years ago
path: 0 10670599 10671530, hotness: undefined, score: 1, children: 0
julianh 43 points 2 years ago

Of all the things to take from windows, this is one of the better ones. Especially if it gets more info in the future. For less tech-literate users, a screen like this is a lot better than a hard to read dump to a terminal.

path: 0 10670958, hotness: undefined, score: 43, children: 9
possiblylinux127 21 points 2 years ago

They should still include more debugging into.

path: 0 10670958 10671311, hotness: undefined, score: 21, children: 8
Sekoia 12 points 2 years ago

I'd suggest some kind of "press this key to view debug information" text (or make it documented but not visible, to avoid people just pressing whatever button is written on the screen)

path: 0 10670958 10671311 10671946, hotness: undefined, score: 12, children: 7
possiblylinux127 5 points 2 years ago

Why? People aren't idiots. If they don't know what it means they can look it up or ask for help.

path: 0 10670958 10671311 10671946 10673413, hotness: undefined, score: 5, children: 4
kitnaht 16 points 2 years ago

People aren't idiots. If they don't know what it means they can look it up or ask for help.

Flip that. People are idiots. If they don't know what something means, they won't look it up. Not Desktop Linux users today but, definitely normies if Linux ever comes on a system they buy in the future.

path: 0 10670958 10671311 10671946 10673413 10674574, hotness: undefined, score: 16, children: 0
bastion 2 points 2 years ago

Because for the bulk of users, unless they are power users, all they need to know is that things didn't work.

Things actually useful to have on the BSOD:

  • distro-specific instructions for submitting a bug report
  • option to reboot
  • option to show debug info
  • option to show a qr code that submits a bug report
  • and, if configured by the distro or system admin, debug info
path: 0 10670958 10671311 10671946 10673413 10686886, hotness: undefined, score: 2, children: 2
MondayToFriday 1 point 2 years ago

How would a kernel that has already crashed handle keypresses?

path: 0 10670958 10671311 10671946 10701020, hotness: undefined, score: 1, children: 1
Sekoia 1 point 2 years ago

I'm not an OS dev, I have no idea how stuff this low-level works.

path: 0 10670958 10671311 10671946 10701020 10701863, hotness: undefined, score: 1, children: 0
kbal 25 points 2 years ago

The kernel art department really failed us here. Instead of a blue screen of death we could've had, I don't know, literally any other colour. I'd have gone with the Puce Screen of Panic.

path: 0 10671241, hotness: undefined, score: 25, children: 2
possiblylinux127 21 points 2 years ago

How about black on white with a clear stack trace visible

path: 0 10671241 10671310, hotness: undefined, score: 21, children: 0
QuazarOmega 12 points 2 years ago

Puce Screen of Panic

That's class

path: 0 10671241 10671397, hotness: undefined, score: 12, children: 0
cmnybo 24 points 2 years ago

It needs more information about what went wrong. That's about as useful as a windows BSOD.

path: 0 10672670, hotness: undefined, score: 24, children: 0
nawordar 7 points 2 years ago

I thought for a minute that Linux now panics when trying to play DRM'd content

path: 0 10687881, hotness: undefined, score: 7, children: 0
savvywolf 6 points 2 years ago

Did they have to go with such a loud shade of blue? It would look so much better on the eyes if it was a nice deep dark blue.

Tbh I don't even know why it needs to be blue or any colour at all.

path: 0 10672475, hotness: undefined, score: 6, children: 3
ShortN0te 5 points 2 years ago

Everyone knows what the blue screen is. This makes the implication when the screen does appear really obvious.

No need to reinvent the wheel.

path: 0 10672475 10683137, hotness: undefined, score: 5, children: 0
KrapKake 3 points 2 years ago

Agree, the old windows blue screen would sear your retinas, could definitely be tuned down a bit.

path: 0 10672475 10673887, hotness: undefined, score: 3, children: 0
possiblylinux127 1 point 2 years ago

Exactly

Black with big white text would be nice

path: 0 10672475 10673429, hotness: undefined, score: 1, children: 0
autotldr 6 points 2 years ago

This is the best summary I could come up with:


After being talked about for years of DRM panic handling and coming with a "Blue Screen of Death" solution for DRM/KMS drivers, Linux 6.10 is introducing a new DRM panic handler infrastructure for being able to display a message when a panic occurs.

With Linux 6.10 the initial DRM Panic code has landed as well as wiring up the DRM/KMS driver support for the SimpleDRM, MGAG200, IMX, and AST drivers.

For those curious what DRM Panic can look like in action, Red Hat engineer Javier Martinez Canillas shared a photo of the DRM Panic "Blue Screen of Death" in action.

A BeaglePlay single board computer was used and Javier posted to Mastodon of an example implementation:

It could be extended in the future with some operating systems having looked at QR codes for kernel error messages and other efforts for presenting more technical information while still being user-friendly.

On Linux 6.10+ with platforms having the DRM Panic driver support, this "Blue Screen of Death" functionality can be tested via a route such as echo c > /proc/sysrq-trigger.


The original article contains 231 words, the summary contains 177 words. Saved 23%. I'm a bot and I'm open source!

path: 0 10669938, hotness: undefined, score: 6, children: 0
biribiri11 6 points 2 years ago

Also see: systemd-bsod. Generates QR codes, too. I think blue for userspace boot-time errors and black for kernel stuff might be nice.

path: 0 10687565, hotness: undefined, score: 6, children: 0
avidamoeba 3 points 2 years ago

It's beautiful. I assume they'll dump the kernel oops log if there's any.

path: 0 10670883, hotness: undefined, score: 3, children: 0
possiblylinux127 2 points 2 years ago

They should make it black instead.

path: 0 10671271, hotness: undefined, score: 2, children: 5
e8d79 2 points 2 years ago
path: 0 10671271 10672097, hotness: undefined, score: 2, children: 1
possiblylinux127 1 point 2 years ago

Maybe purple with yellow text

path: 0 10671271 10672097 10673388, hotness: undefined, score: 1, children: 0
ryannathans 2 points 2 years ago

I would have gone with red.. red = error

path: 0 10671271 10673275, hotness: undefined, score: 2, children: 2
possiblylinux127 5 points 2 years ago

That would make it just as hard to read. Black on white offers the most contrast

path: 0 10671271 10673275 10673377, hotness: undefined, score: 5, children: 1
ryannathans 2 points 2 years ago

Gold on purple offers more iirc

path: 0 10671271 10673275 10673377 10678133, hotness: undefined, score: 2, children: 0
yesman -12 points 2 years ago

Once again, Linux is late with a feature that Microsoft not only has had for years, but is famous for.

path: 0 10673333, hotness: undefined, score: -12, children: 3
possiblylinux127 22 points 2 years ago

Windows is famous in all the wrong ways

path: 0 10673333 10673428, hotness: undefined, score: 22, children: 0
phoenixz 12 points 2 years ago

Not sure if you're coming or simping M$

path: 0 10673333 10673642, hotness: undefined, score: 12, children: 0
smileyhead 3 points 2 years ago

It's normal for things to implement stuff from each other? đŸ€·

Microsoft is late with many things too. And I don't nessesarly think a feature here and there is what makes a good OS, the base stuff is more important.

path: 0 10673333 10677849, hotness: undefined, score: 3, children: 0
linux
linux

@lemmy.ml

login for more options
65961
9047
4822

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpår-Etele Méder, licensed under CC BY 3.0

go to feed...