This problem has existed for many months already. While I am on the console (x11 or wayland are not loaded), 8 BSD logos sometimes appear in the left corner of my screen. The problem can be seen in the attachment provided. I use drm-devel-kmod/i915kms. I am running FreeBSD 13.0-CURRENT r364115, but as I said, this problem has existed for many months already.
Created attachment 217170 [details] 8 BSD logos
Comment on attachment 217170 [details] 8 BSD logos Turn the attachment content into comment: https://pasteboard.co/Jm2tkQw.jpg
This seems like it might be a bug in VT splash CPUs; as a workaround, the (non-default) splash cpus can be disabled by removing kern.vt.splash_cpu from loader.conf and sysctl.conf, or by setting a zero value.
While investigating PR 211922 I observed orb logos, despite kern.vt.splash_cpu=0.
I'm seeing this in FreeBSD 12.2-RC3 amd64 also. It is extremely reproducible: 1. In the framebuffer console run yes(1). 2. Left-click and drag the mouse. 3. Switch to another console. The orb logos (4, equalling the no. of CPUs) appear at the top-left corner and then the mouse pointer cannot be brought to the bottom of the screen anymore. It stops at what looks like (fb_height - orb_logo_height) of the screen.
This patch seemed to fix it for me: https://people.freebsd.org/~manu/0001-vt-Disable-splash_cpu-when-replacing-the-backend.patch
(In reply to Steve Wills from comment #6) It doesn't fix the issue for me.
(In reply to Steve Wills from comment #6) That patch doesn't work for me either on FreeBSD 12.2-RELEASE with efifb.
*** Bug 253419 has been marked as a duplicate of this bug. ***
reported again on 13 in PR253419
(In reply to Conrad Meyer from comment #3) Setting "kern.vt.splash_cpu" to 0 only changes the content of the image. On FreeBSD 12-STABLE, that changed red head orbs to sitting penguins.
I've got the same problem with my new dell vostro 5415. I've spent some time on debugging, here are results: 1) this happens due to buffer overflow inside vt(4) - internal variable vt_draw_logo_cpus gets non-zero value, this why we see those logos. 2) i'm not sure about security issues with this problem, thus i'll post mail to secteam@ before revealing the fix.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=dbc7ca59451561a179f9852642e13ef024169d84 commit dbc7ca59451561a179f9852642e13ef024169d84 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-09-22 18:41:00 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-09-23 13:51:36 +0000 vt: bound buffer access in redraw optimization PR: 248628 Reported by: oleg Reviewed by: cem, oleg (both earlier) Fixes: ee97b2336aa4 ("Speed up vt(4) by keeping...") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32059 sys/dev/vt/hw/fb/vt_fb.c | 6 ++++++ sys/dev/vt/hw/vga/vt_vga.c | 6 ++++++ 2 files changed, 12 insertions(+)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9352de39c3dcc94f2745f939e52388a8e1cc1c05 commit 9352de39c3dcc94f2745f939e52388a8e1cc1c05 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-09-22 18:41:00 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-09-25 18:14:12 +0000 vt: bound buffer access in redraw optimization PR: 248628 Reported by: oleg Reviewed by: cem, oleg (both earlier) Fixes: ee97b2336aa4 ("Speed up vt(4) by keeping...") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32059 (cherry picked from commit dbc7ca59451561a179f9852642e13ef024169d84) sys/dev/vt/hw/fb/vt_fb.c | 6 ++++++ sys/dev/vt/hw/vga/vt_vga.c | 6 ++++++ 2 files changed, 12 insertions(+)
A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e4fcff8ee124f8faed2f1fcc1e15b7ae6906d4d7 commit e4fcff8ee124f8faed2f1fcc1e15b7ae6906d4d7 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-09-22 18:41:00 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-09-25 16:32:06 +0000 vt: bound buffer access in redraw optimization PR: 248628 Reported by: oleg Reviewed by: cem, oleg (both earlier) Fixes: ee97b2336aa4 ("Speed up vt(4) by keeping...") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32059 (cherry picked from commit dbc7ca59451561a179f9852642e13ef024169d84) sys/dev/vt/hw/fb/vt_fb.c | 6 ++++++ sys/dev/vt/hw/vga/vt_vga.c | 6 ++++++ 2 files changed, 12 insertions(+)
A commit in branch releng/13.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3e0a1e12416996b63949de2b11ca74a0e0d70bd5 commit 3e0a1e12416996b63949de2b11ca74a0e0d70bd5 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-09-22 18:41:00 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-01-10 14:51:54 +0000 vt: bound buffer access in redraw optimization PR: 248628 Reported by: oleg Reviewed by: cem, oleg (both earlier) Fixes: ee97b2336aa4 ("Speed up vt(4) by keeping...") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32059 (cherry picked from commit dbc7ca59451561a179f9852642e13ef024169d84) (cherry picked from commit e4fcff8ee124f8faed2f1fcc1e15b7ae6906d4d7) Approved by: so Security: FreeBSD-SA-22:01.vt sys/dev/vt/hw/fb/vt_fb.c | 6 ++++++ sys/dev/vt/hw/vga/vt_vga.c | 6 ++++++ 2 files changed, 12 insertions(+)
A commit in branch releng/12.2 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9c9d0d90512f0e5950b179d1a07f717ad7c8fe28 commit 9c9d0d90512f0e5950b179d1a07f717ad7c8fe28 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-09-22 18:41:00 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-01-10 18:04:06 +0000 vt: bound buffer access in redraw optimization PR: 248628 Reported by: oleg Reviewed by: cem, oleg (both earlier) Fixes: ee97b2336aa4 ("Speed up vt(4) by keeping...") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32059 (cherry picked from commit dbc7ca59451561a179f9852642e13ef024169d84) (cherry picked from commit e4fcff8ee124f8faed2f1fcc1e15b7ae6906d4d7) Approved by: so Security: FreeBSD-SA-22:01.vt sys/dev/vt/hw/fb/vt_fb.c | 6 ++++++ sys/dev/vt/hw/vga/vt_vga.c | 6 ++++++ 2 files changed, 12 insertions(+)