Re: Corrupted text background color on VirtualBox

2020-05-16 Thread Stuart Henderson
Nice find! This change also fixes vga1 at pci3 dev 0 function 0 "ASPEED Technology AST2000" rev 0x30 as seen on many server boards from smaller manufacturers (especially common on Supermicro).

Re: Corrupted text background color on VirtualBox

2020-05-16 Thread Matthieu Herrb
On Sat, May 16, 2020 at 05:59:06PM +1000, Jonathan Gray wrote: > That fixes the console background issue for me on a KVM / virt-manager virtual machine. > Index: vga.c > === > RCS file: /cvs/src/sys/dev/ic/vga.c,v > retrieving revisi

Re: Corrupted text background color on VirtualBox

2020-05-16 Thread Jonathan Gray
On Fri, May 15, 2020 at 10:02:22PM -0700, jo...@armadilloaerospace.com wrote: > Ok, new theory: > > VirtualBox ignores the pas bit, so writes to the attribute data register > after vga_enable() is called go ahead and modify the attribute palette > index 0, but on a real vga the write is ignored. >

Re: Corrupted text background color on VirtualBox

2020-05-15 Thread johnc
sage ---- Subject: Re: Corrupted text background color on VirtualBox From: Jonathan Gray Date: Fri, May 15, 2020 8:13 pm To: jo...@armadilloaerospace.com Cc: "bugs@openbsd.org" On Fri, May 15, 2020 at 05:03:30PM -0700, jo...@armadilloaerospace.com wrote: > One of the first things I noti

Re: Corrupted text background color on VirtualBox

2020-05-15 Thread Jonathan Gray
On Fri, May 15, 2020 at 05:03:30PM -0700, jo...@armadilloaerospace.com wrote: > One of the first things I noticed when I tried OpenBSD in VirtualBox > was that doing ctrl-alt-2, then ctrl-alt-1 to switch back and forth > between virtual screens left the text mode background a dim red > color instea

Corrupted text background color on VirtualBox

2020-05-15 Thread johnc
One of the first things I noticed when I tried OpenBSD in VirtualBox was that doing ctrl-alt-2, then ctrl-alt-1 to switch back and forth between virtual screens left the text mode background a dim red color instead of black. Here is someone else noting it, ten years ago: http://daemonforums.org/sh