/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
[...]
why would 8 bit color require 4 bytes-per-pixel?
I don't know. I just know that the libdraw primitives were going off the edge of allocated memory and the ctl file said something about "x8r8g8b8" so I got out the calculator and noticed that if there are 4 bytes per pixel then I would expect 1024x768 to fit and 1280x1024 not to. I plead ignorance on how the plan9 vga system is actually set up.
- erik
Tim Newsham http://www.thenewsh.com/~newsham/