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.
Created attachment 201884 [details] Corruption to vt under i915kms after switching from xserver
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.
I've not observed this on my X220 w/ i915 graphics.
What's the version of your X server and drm kmod packages?
I recently started using a very old laptop and also saw video corruption, too. I haven't care much about it but seeing this made me curious how this incident will go and if I also get benefit, too...
I can reproduce this on my new laptop, Lenovo X1 Carbon 7th Generation, with: $ pciconf -lv | grep -B2 -A2 Graphics vgapci0@pci0:0:2:0: class=0x030000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x3ea0 subvendor=0x17aa subdevice=0x2292 vendor = 'Intel Corporation' device = 'UHD Graphics 620 (Whiskey Lake)' class = display subclass = VGA
There is a few stuff worth to try: - Use 13.0-CURRENT with the latest drm-current-kmod (based on Linux 5.2) - Set hw.i915kms.enable_fbc=0 in loader.conf - Set hw.i915kms.enable_psr=0 in loader.conf I don't have the issue on all my intel systems so that might take a while to debug ...
I cannot reproduce this on my X1 carbon now, releng/13.0 with drm-kmod at the following: commit f7a3f523e006a1071cab494cf9237378bc564d68 (HEAD, tag: drm_v5.4.144, origin/5.4-lts) Author: Mark Yacoub <markyacoub@google.com> Date: Thu Aug 12 15:49:17 2021 -0400 drm: Copy drm_wait_vblank to user before returning [ Upstream commit fa0b1ef5f7a694f48e00804a391245f3471aa155 ]
Presumed fixed by drm-kmod update. If still reproducible please reopen and indicate the drm-kmod version in use.