https://www.phoronix.com/news/Linux-DRM-Panic-QR-Codes Phoronix * Articles & Reviews * News Archive * Forums * Premium Ad-Free * Contact * Popular Categories * Close * * Articles & Reviews * News Archive * Forums * Premium * Contact * Categories Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals * [ ] [Search] Linux's DRM Panic "Screen of Death" Sees Patches For QR Code Error Messages Written by Michael Larabel in Linux Kernel on 3 July 2024 at 02:05 PM EDT. 14 Comments LINUX KERNEL Linux 6.10 introduces DRM Panic for providing a new panic screen in case of kernel errors and situations where the VT support may be disabled. This new kernel functionality is akin to Windows' Blue Screen of Death or thanks to open-source can be adapted to take on other forms such as a black screen of death and conveying monochrome logos rather than ASCII art. New patches provide for the ability to show QR codes of error messages within the DRM Panic screens. As kernel error messages can be quite lengthy especially if including a stack trace and at times not even fitting the contents within the screen, patches posted today allow for condensing kernel error messages into QR codes. This can make it easy to capture the error message easily with a smartphone for later analysis or easily attaching to a bug report, etc. This isn't the first time using QR codes for kernel error messages has been talked about... Ten years ago I wrote about kernel developers looking at QR codes for error messages. Windows and other operating systems have also explored using QR codes within their error messages. Jocelyn Falempe of Red Hat today posted the set of four patches for implementing a "qr_code" panic screen. Making this all the more interesting is the DRM Panic QR code handler being written within the Rust programming language. Jocelyn commented on the reasoning behind writing this QR code generator in Rust, "There is no particular reason to do it in rust, I just wanted to learn rust, and see if it can work in the kernel." Here are some examples from Jocelyn Falempe of the QR code DRM Panic support in action: DRM Panic QR error example 1 DRM Panic QR error example 2 The code is now under review on the mailing list for those interested. 14 Comments Tweet Related News Meta Sees ~5% Performance Gains To Optimizing The Linux Kernel With BOLT Linux 6.10-rc6 Arrives As A "Fairly Calm" Release DRM Panic "Screen of Death" To Gain Monochrome Logo Support In Linux 6.11 Linux 6.10-rc5 Released With This Kernel Cycle Looking Good So Far Red Hat Proposes Queue PerCPU Work "QPW" For Better Handling Per-CPU Work On RT Linux Linux Can Have A "Black Screen Of Death" For Kernel Panics About The Author Michael Larabel Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com. Popular News This Week KDE Plasma 6.1 Performing Much Better On Older Intel Integrated Graphics RegreSSHion: Remote Code Execution Vulnerability In OpenSSH Server NUMA Emulation Yields "Significant Performance Uplift" To Raspberry Pi 5 DRM Panic "Screen of Death" To Gain Monochrome Logo Support In Linux 6.11 Microsoft's WSL2 Transitions To Linux 6.6 LTS Kernel NVIDIA 555.58 Stable Linux Driver Brings Wayland Explicit Sync, GSP Firmware Default GNOME 47 Can Now Be Built With X11 Support Disabled COSMIC Alpha Desktop Release Still Planned For Late July Latest Linux News getrandom() In The vDSO Aims For Linux 6.11 To Provide Faster Yet Secure User-Space RNG Linux's DRM Panic "Screen of Death" Sees Patches For QR Code Error Messages Meta Sees ~5% Performance Gains To Optimizing The Linux Kernel With BOLT CentOS Stream 10 Taking Shape, Fedora-Flavored Kernels From Kmods SIG "Indirector" Attack Disclosed For Intel Alder Lake & Raptor Lake CPUs Updated GCC Patches For OpenMP Unified Shared Memory On AMD & NVIDIA GPUs Ubuntu Developing "crypto-config" For System-Wide Cryptography Configuration Debian GNU/Hurd Adds Experimental 32-bit SMP Kernel & Rust Compiler RADV Driver Enables Device Generated Commands Task Shader Support Microsoft Releases New Azure Linux 3.0 Preview Fedora 42 Looks To Make It Easier For Unprivileged System Flatpaks & Disk Management Show Your Support, Go Premium Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations. Latest Featured Articles AMD Zen 4 vs. Intel Core Ultra 7 "Meteor Lake" In 400+ Benchmarks On Linux 6.10 Intel's Linux Software Optimizations Still Pay Off For Xeon 6700E "Sierra Forest" E-Core CPUs FreeBSD 14.1 vs. DragonFlyBSD 6.4 vs. NetBSD 10 vs. Linux Benchmarks FreeBSD 14.1 vs. FreeBSD 14.0 Benchmarks On AMD Ryzen Threadripper One-Line Patch For Intel Meteor Lake Yields Up To 72% Better Performance, +7% Geo Mean Support Phoronix The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through a PayPal tip or tip via Stripe. Phoronix Media --------------------------------------------------------------------- * Contact * Michael Larabel * OpenBenchmarking.org Phoronix Premium --------------------------------------------------------------------- * Support Phoronix * While Having Ad-Free Browsing, * Single-Page Article Viewing Share --------------------------------------------------------------------- * Facebook * Twitter * Legal Disclaimer, Privacy Policy, Cookies | Privacy Manager | Contact * Copyright (c) 2004 - 2024 by Phoronix Media. * All trademarks used are properties of their respective owners. All rights reserved.