From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 16 Aug 2009 16:41:02 -1000 From: Tim Newsham To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [9fans] vga and vmware Topicbox-Message-UUID: 4bf3066e-ead5-11e9-9d60-3106f5b1d025 > When booting plan9 in vmware the graphics seem to work fine up > to 1024x768x8, but higher resolutions cause a panic trying to [...] > panic: kernel fault: bad address pc=0xf01eb43e addr=0xe03c0000 > panic: kernel fault: bad address pc=0xf01eb43e addr=0xe03c0000 /dev/vgactl says 0xe0000000 has 0x3c0000 mapped. Enough for 1024x768x4 bytes but not enoug hfor 1280x1024x4 bytes. I patched vgavmware.c line 179 to allocate 2*vmrd(vm, Rfbsize) instead of vmrd(vm, Rfbsize) and now I'm able to go into 1280x1024x8 mode. This is obviously just a hack, I don't know what a real solution would be (is it possible that the hardware register returns a different size after changing the mode?) Tim Newsham http://www.thenewsh.com/~newsham/