Shut up, and do as I say!

How to force things in Linux.

X.org resolution

BEWARE: Make sure that your graphic card and your monitor support the resolutions you want to use. Otherwise hardware failure may occur!

In some cases X.org won't use the resolution you want and you know your hardware supports. Here is a way to force it. Adapt the snippet to your configuration.

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31-101
    VertRefresh 60-160
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "YOURDRIVER"
    Option      "UseEDIDFreqs" "FALSE"
    Option      "UseEDIDDpi" "FALSE"
    Option      "ModeValidation" "NoEdidModes"
EndSection

Section "Screen"
    Identifier   "Default Screen"
    Device       "Card0"
    Monitor      "Monitor0"
    DefaultDepth 24
    Option       "NoVirtualSizeCheck"
    Option       "UseEDIDFreqs" "FALSE"
    Option       "UseEDIDDpi" "FALSE"
    Option       "ModeValidation" "NoEdidModes"
    SubSection   "Display"
        Depth        24
        Modes        "1280x1024"
    EndSubSection
EndSection
linux/shut_up_and_do_as_i_say.txt · Last modified: 2008/11/21 10:23 by mad
GNU Free Documentation License 1.2
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0