hi, > I contacted the author of the VBEMP driver. He wrote me that there exist > several methods of requesting the available modes from the BIOS. > Apparently, by adding a mode to the vbetables-gen.c it's only added to > parts of the tables and not to all of them, which is incorrect. By only > using vbetables-gen I edited the BIOS only half-way.
as far as I have seen the 'special' modes have a preprocessor constant defined in vgabios/vbe.h which looks like ... #define VBE_OWN_MODE_1152X864X8888 0x14c the numbers (0x14c in this case) correspond to those used in vbetables-gen.c. I don't know if and where these definitions are used, but I guess they aren't very important, because the widescreen modes which were added to vbetables-gen.c (for example 1440x900) are not in vbe.h and they do work anyway. in fact all the non-standard (widescreen) modes defined in vbetables-gen.c work for me _except_ 1680x1050. I've tested this with kvm-60, kvm-61 and the latest snapshot (as of writing this). this really looks like a limitation somewhere, but at the moment I have no clue who could be responsible for that limitation. > Additionally, I think it may have something to do with the video memory, > as 1920x1200x32 required more than 8 MB of vmem. I increased the value > in vbetables-gen.c, but I don't know it this is sufficient to make it > work (the value gets reported correctly by the driver, though). well, the amount of memory (in bytes) needed (for the framebuffer) is: width x heigth x (color depth in bit / 8). in you example: 1920 x 1200 x 4 = 9216000 bytes which is greater than 8MB, so you might want to try using 16MB of video memory. > I'm trying to contact the VGAbios people about this, because this list > might be the wrong place for it. I hope they can help you/us. Please keep the list informed about this issue. bye, Andi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel