1ca630
diff -up xf86-video-vesa-2.3.0/src/vesa.c.jx xf86-video-vesa-2.3.0/src/vesa.c
1ca630
--- xf86-video-vesa-2.3.0/src/vesa.c.jx	2010-01-04 14:16:31.000000000 -0500
1ca630
+++ xf86-video-vesa-2.3.0/src/vesa.c	2010-10-11 15:29:52.000000000 -0400
1ca630
@@ -651,10 +651,12 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags
1ca630
 				    V_MODETYPE_VBE);
1ca630
 
1ca630
     /* Preferred order for default depth selection. */
1ca630
-    if (depths & V_DEPTH_24)
1ca630
+    if ((depths & V_DEPTH_24) && (flags24 & Support32bppFb))
1ca630
 	defaultDepth = 24;
1ca630
     else if (depths & V_DEPTH_16)
1ca630
 	defaultDepth = 16;
1ca630
+    else if (depths & V_DEPTH_24)
1ca630
+	defaultDepth = 24;
1ca630
     else if (depths & V_DEPTH_15)
1ca630
 	defaultDepth = 15;
1ca630
     else if (depths & V_DEPTH_8)