Linux 5.20 To Feature Faster Console Scrolling At Boot For Old FBDEV Drivers

Written by Michael Larabel in Linux Kernel on 23 June 2022 at 05:40 AM EDT. 11 Comments
LINUX KERNEL
This week's DRM-Misc-Next pull request was sent out of new DRM changes ready for queuing ahead of Linux 5.20. There isn't too much to get excited about for this week's code updates going to DRM-Next, but there is "fbcon: Improve scrolling performance" that did get my attention.

This scrolling performance work for the frame-buffer console (FBCON) it turns out is aimed at improving the scrolling performance at boot time. The change is targeted at improving the frame-buffer device (FBDEV) scrolling performance while a logo is shown (such as is commonly the case for showing the Tux logo) amid the boot messages for those not using a graphical boot splash setup like Plymouth.

This optimization for Linux 5.20 doesn't improve the performance if using a DRM driver with FBCON but rather for those still relying on an accelerated FBDEV driver.


FBDEV maintainer summarized the difference with this scrolling performance improvement as, "if you run an accelerated fbdev driver and have FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION enabled, console scrolling is slowed down by factors so that it feels as if you use a 9600 baud terminal. So, drop those unnecessary checks and speed up fbdev console acceleration during bootup."

Outside of the scrolling performance at boot, this change doesn't appear to have any other impact. This scrolling optimization and changes to the smaller Direct Rendering Manager drivers is part of this week's drm-misc-next pull.
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