<div dir="ltr"><div>It would be nice with native resolution video mode.<br></div>Such as 1920x1200.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 4:06 PM, David Woodhouse <span dir="ltr"><<a href="mailto:dwmw2@infradead.org" target="_blank">dwmw2@infradead.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When booting with OVMF+CSM, the first video mode that we ask for is mode<br>
0x143. This doesn't seem to work; the qemu display window doesn't change<br>
size, and remains blank.<br>
<br>
If the first thing we ask for is a *text* mode, then things work fine.<br>
This is arguably a bug, but I'm not about to go chasing it. Most video<br>
BIOSes will enter mode 3 for themselves as part of the POST anyway,<br>
won't they? And that's sufficient to work around the problem for me...<br>
<br>
Signed-off-by: David Woodhouse <<a href="mailto:David.Woodhouse@intel.com">David.Woodhouse@intel.com</a>><br>
<br>
diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c<br>
index 3e26e32..82aa5fc 100644<br>
--- a/vgasrc/vgabios.c<br>
+++ b/vgasrc/vgabios.c<br>
@@ -1320,4 +1320,6 @@ vga_post(struct bregs *regs)<br>
     u8 sum = -checksum_far(get_global_seg(), 0,<br>
                            GET_GLOBAL(_rom_header_size) * 512);<br>
     SET_VGA(_rom_header_checksum, sum);<br>
+<br>
+    vga_set_mode(3, 0);<br>
 }<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
dwmw2<br>
<br>
</font></span><br>_______________________________________________<br>
SeaBIOS mailing list<br>
<a href="mailto:SeaBIOS@seabios.org">SeaBIOS@seabios.org</a><br>
<a href="http://www.seabios.org/mailman/listinfo/seabios" target="_blank">http://www.seabios.org/mailman/listinfo/seabios</a><br>
<br></blockquote></div><br></div>