Comment 12 for bug 288807

Revision history for this message
TJ (tj) wrote :

Today I found that an update to the Jaunty packages changed something subtle and the previously working xorg.conf settings were no longer effective. The symptom was the intel driver deciding it is possible to do 1360x768 on the 1024x768 monitor.

The intel driver also ignores monitor options "PreferredMode" "MaxClock" which meant the pixel clock rate of the monitor can't be specified, to prevent the incorrect mode.

I used the Windows tool, PowerStrip, (referenced from the Xorg FAQ at http://www.x.org/wiki/FAQVideoModes#head-82230a582646cbf28ac41dec2139732ee868e0d2). to get the ModeLine that works for Windows.

That didn't help either because the intel driver either ignores it or merges it with its own calculations.

The final solution was to add the "Virtual" size setting to "Display" SubSections of the "Screen" section.

Here's the resulting xorg.conf:

Section "Device"
        Identifier "Configured Video Device"
EndSection

Section "Monitor"
        Identifier "Sony Notebook Panel"
        # no EDID
        DisplaySize 210 158
        HorizSync 28-48.5
        VertRefresh 43-75
        Option "DPMS"
        # clock is in kHz
        Option "MinClock" "10000"
        Option "MaxClock" "65000"
        Option "PreferredMode" "1024x768"
        ModeLine "1024x768" 65.000 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Sony Notebook Panel"
        Device "Configured Video Device"
        DefaultDepth 24
        SubSection "Display"
                Depth 24
                Virtual 1024 768
        EndSubSection
        SubSection "Display"
                Depth 16
                Virtual 1024 768
        EndSubSection
EndSection