Bug 235635 - vt video corruption when switching from xserver to tty
Summary: vt video corruption when switching from xserver to tty
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: vt
Depends on:
Blocks:
 
Reported: 2019-02-10 07:44 UTC by Damien
Modified: 2019-02-18 14:30 UTC (History)
1 user (show)

See Also:


Attachments
Corruption to vt under i915kms after switching from xserver (657.23 KB, image/jpeg)
2019-02-10 07:51 UTC, Damien
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damien 2019-02-10 07:44:12 UTC
On i915kms, vt(4) is shown to have corruption as per the attached image in the top left of the display resulting in some unreadable text.

Steps to replicate:
As a regular user, run startx
Press Alt-Ctrl-F? to switch to a tty
Corruption is seen on top left of the display.

This issue can be intermittent and also affects 12.0 RELEASE on the same system.

Machine is Lenovo T480 with integrated graphics from Intel.
Comment 1 Damien 2019-02-10 07:51:40 UTC
Created attachment 201884 [details]
Corruption to vt under i915kms after switching from xserver
Comment 2 Damien 2019-02-18 14:30:23 UTC
Additional Information:

I can confirm that this only occurs when switching from X server to tty without shutting down X first.
If X server is shut down, when the switch to the tty occurs, any corruption is now gone.
Also, if the corruption persists due to X server being shut down forceably i.e. through kill etc., restarting X and then shutting it down gracefully prevents the corruption from being displayed when it X server terminates.
It should be noted that no corruption is ever seen when the tty is switched to the active X server.