File xf86-video-vesa_DefaultRefresh.diff of Package xorg-x11-driver-video
Index: xf86-video-vesa-2.2.1/src/vesa.c
===================================================================
--- xf86-video-vesa-2.2.1.orig/src/vesa.c
+++ xf86-video-vesa-2.2.1/src/vesa.c
@@ -783,9 +783,16 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags
/* Use shadow by default */
if (xf86ReturnOptValBool(pVesa->Options, OPTION_SHADOW_FB, TRUE))
pVesa->shadowFB = TRUE;
+ else
+ pVesa->shadowFB = FALSE;
- if (xf86ReturnOptValBool(pVesa->Options, OPTION_DFLT_REFRESH, FALSE))
+ /* Use DefaultRefresh by default due to VBE 3.0 often wrongly
+ * implemented.
+ */
+ if (xf86ReturnOptValBool(pVesa->Options, OPTION_DFLT_REFRESH, TRUE))
pVesa->defaultRefresh = TRUE;
+ else
+ pVesa->defaultRefresh = FALSE;
pVesa->ModeSetClearScreen = FALSE;
if (xf86ReturnOptValBool(pVesa->Options, OPTION_MODESET_CLEAR_SCREEN,