Bug 261928 - vt: Loading the drm-kmod driver creates a gap in the vt newcons scrollback buffer
Summary: vt: Loading the drm-kmod driver creates a gap in the vt newcons scrollback bu...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: vt
Depends on:
Blocks:
 
Reported: 2022-02-13 13:02 UTC by Stefan B.
Modified: 2023-06-14 06:57 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan B. 2022-02-13 13:02:00 UTC
When the drm-kmod driver (i915kms, radeonkms, amdgpu) is kldloaded, a big gap in the vt newcons scrollback buffer is being created.

There are almost a screenful of blank lines being inserted when the screen is being resized.
This does not create an impression of careful programming, in particular when also taking into consideration that old output is being overwritten at (possibly random) positions (see PR261641: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261641 ).

Instead of this behavior, the output should just be continued where the current printing position in the console was before loading the drm-kmod driver.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2022-02-24 18:40:19 UTC
Updated title to remove drm-kmod as a primary contributor to this issue - the same sort of thing happens when switching between different size fonts that result in a different window size