On Wed, Nov 18, 2009 at 10:49:07 +0100,
  Martin Jürgens <[email protected]> wrote:
> Hi, I am using a very old 17'' TFT (1280x1024) which does not provide
> any autodetection data. Thus, only the resolution of 800x600 is
> autodetected. I'd like to provide KMS a custom modeline at boot up so
> that it uses my TFT's real resolution. How can I do that / what kernel
> parameter do I have to use?

I use xorg.conf files for this. It doesn't affect early boot, but does apply
later. Here is one I use on a system with an nVidia card using nouveau:

# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"

# keyboard added by system-config-display
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105+inet"
        Option      "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "NEC MultiSync LCD2010X"
        HorizSync    31.0 - 80.0
        VertRefresh  56.0 - 85.0
        Modeline "1280x1024_70.00"  129.00  1280 1368 1504 1728  1024 1027 1034 
1069 -hsync +vsync
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nouveau"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Virtual 1280 1024
                Depth     24
                Modes "1280x1024_70.00"
        EndSubSection
EndSection

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to