DRM_Log Continues To Be Worked On As New Boot Logger For Kernel Messages

Written by Michael Larabel in Linux Kernel on 11 October 2024 at 08:30 AM EDT. 13 Comments
LINUX KERNEL
DRM_Log is an effort that continues to be worked on by Jocelyn Falempe at Red Hat as a new boot logger for printing the kernel messages on the screen.

DRM_Log uses the DRM client API to nicely print the kernel messages log on the screen at boot time. But by design it's not intended to replace FBCON as it's only displaying messages with no plans of handling user input or other functionality that is "better done in userspace", per Falempe.

DRM_Log is designed to work with all Direct Rendering Manager drivers, doesn't scroll the kernel messages by design, and uses the non-blocking console API so it's friendly with real-time "PREEMPT_RT" kernel builds. DRM_Log is only intended for boot messages until the user-space is ready to take over the display job.

drm_log


Another nice feature of DRM_Log is integer scaling support to be able to increase the text size sufficiently for modern HiDPI displays. With the likes of "drm_log.scale=2" as a boot option is a means of increasing the integer scaling factor for kernel messages.

Those interested in this DRM_Log work can see the new v4 patches out for review.
Related News
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