--- xf86-video-nv-1.2.0/src/nv_setup.c.jx 2006-06-16 20:48:53.000000000 -0400 +++ xf86-video-nv-1.2.0/src/nv_setup.c 2006-08-29 18:11:03.000000000 -0400 @@ -690,6 +690,26 @@ NVCommonSetup(ScrnInfoPtr pScrn) if(monitorA) xf86SetDDCproperties(pScrn, monitorA); + else if (pNv->FlatPanel) { + float hsync, vsync; + DisplayModePtr mode = + xf86CVTMode(pNv->fpWidth, pNv->fpHeight, 61, 0, 0); + hsync = (float)mode->Clock / (float)mode->HTotal; + vsync = mode->Clock * 1000.0 / mode->HTotal / mode->VTotal; + if (!pScrn->monitor->nHsync && hsync > 31.5) { + pScrn->monitor->hsync[0].lo = 31.5; + pScrn->monitor->hsync[0].hi = hsync; + pScrn->monitor->nHsync++; + } + if (!pScrn->monitor->nVrefresh && vsync > 50.0) { + pScrn->monitor->vrefresh[0].lo = 50.0; + pScrn->monitor->vrefresh[0].hi = vsync; + pScrn->monitor->nVrefresh++; + } + if (mode->Clock > pScrn->monitor->maxPixClock) + pScrn->monitor->maxPixClock = mode->Clock; + xfree(mode); + } if(!pNv->FlatPanel || (pScrn->depth != 24) || !pNv->twoHeads) pNv->FPDither = FALSE;