tags 572991 + patch
thanks
Bjørn Mork <[email protected]> writes:
> Looking at the list of available modes in the guest showed that there
> was no 1440x900 anymore, which probably explains why Windows chose
> another one close by. There were also a number of other expected modes
> missing.
Think I got it.
The modes were once added to KVMs local copy of vgabios:
http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commitdiff;h=ebfac597cf
but never made it upstream or into QEMU. So when you included a copy of
the vgabios source from QEMU in the Debian qemu-kvm package, you
removed these modes.
I'm attaching a patch to be applied on top of
debian/patches/vgabios-0.12.3.diff
which fixes this problem for me.
See also https://bugzilla.redhat.com/show_bug.cgi?id=501545
Bjørn
--- a/roms/vgabios/vbetables-gen.c 2010-03-08 04:16:02.000000000 +0100
+++ b/roms/vgabios/vbetables-gen.c 2010-02-26 03:34:00.000000000 +0100
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <stdio.h>
-#define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB 8
+#define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB 16
typedef struct {
int width;
@@ -55,6 +55,30 @@
{ 1152, 864, 16 , 0x14a},
{ 1152, 864, 24 , 0x14b},
{ 1152, 864, 32 , 0x14c},
+{ 1280, 768, 16 , 0x175},
+{ 1280, 768, 24 , 0x176},
+{ 1280, 768, 32 , 0x177},
+{ 1280, 800, 16 , 0x178},
+{ 1280, 800, 24 , 0x179},
+{ 1280, 800, 32 , 0x17a},
+{ 1280, 960, 16 , 0x17b},
+{ 1280, 960, 24 , 0x17c},
+{ 1280, 960, 32 , 0x17d},
+{ 1440, 900, 16 , 0x17e},
+{ 1440, 900, 24 , 0x17f},
+{ 1440, 900, 32 , 0x180},
+{ 1400, 1050, 16 , 0x181},
+{ 1400, 1050, 24 , 0x182},
+{ 1400, 1050, 32 , 0x183},
+{ 1680, 1050, 16 , 0x184},
+{ 1680, 1050, 24 , 0x185},
+{ 1680, 1050, 32 , 0x186},
+{ 1920, 1200, 16 , 0x187},
+{ 1920, 1200, 24 , 0x188},
+{ 1920, 1200, 32 , 0x189},
+{ 2560, 1600, 16 , 0x18a},
+{ 2560, 1600, 24 , 0x18b},
+{ 2560, 1600, 32 , 0x18c},
{ 0, },
};