diff --git a/src/via_display.c b/src/via_display.c index 5b1b2fb..534be68 100644 --- a/src/via_display.c +++ b/src/via_display.c @@ -966,6 +966,15 @@ iga1_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, if (pVia->UseLegacyModeSwitch) { ViaModePrimaryLegacy(crtc, adjusted_mode); } else { + // # Start Hack + // Taken from ViaModePrimaryLegacy + vgaHWPtr hwp = VGAHWPTR(pScrn); + /* Clean Second Path Status */ + hwp->writeCrtc(hwp, 0x6A, 0x00); + hwp->writeCrtc(hwp, 0x6B, 0x00); + hwp->writeCrtc(hwp, 0x6C, 0x00); + //hwp->writeCrtc(hwp, 0x93, 0x00); + // # end Hack ViaCRTCInit(pScrn); ViaModeFirstCRTC(pScrn, adjusted_mode);