Results 1 to 4 of 4

Thread: Changes in xorg.conf not taking effect

  1. #1
    Join Date
    Apr 2008
    Beans
    44

    Changes in xorg.conf not taking effect

    I've installed the nVidia drivers to get my 9600 to work, and now I need to change the resolution to 1280X1024 and frequency to 60 Hz.

    So I modify my xorg.conf file to say the following:

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder57)  Wed Apr  2 00:14:06 PST 2008
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    
    Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
    EndSection
    
    Section "Module"
        Load           "dbe"
        Load           "extmod"
        Load           "type1"
        Load           "freetype"
        Load           "glx"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        HorizSync       30.0 - 110.0
        VertRefresh     50.0 - 150.0
        Option         "DPMS"
        Modeline "1280x1024" 109.62  1280 1336 1472 1720  1024 1024 1026 1062
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        SubSection     "Display"
            Modes      "1280X1024_60.00"
            Depth       24
        EndSubSection
    EndSection
    i.e. I added the modeline generated by http://www.bohne-lang.de/spec/linux/modeline/ to the Monitor section and the Modes to the Screen section.

    But when I restart X (ctrl-alt-backspace), it's still 1024X768@50Hz.

    I'm confused. Am I doing this right?

  2. #2
    Join Date
    Dec 2006
    Beans
    701
    Distro
    Ubuntu

    Re: Changes in xorg.conf not taking effect

    Have you looked in Systems > Preferences > Screen Resolution, to see if you can change it to the desired resolution ?


  3. #3
    Join Date
    Mar 2007
    Location
    Glasgow
    Beans
    306
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Changes in xorg.conf not taking effect

    Try using the nvidia x server settings manager GUI.

    Applications --> System Tools --> nvidia x server settings

    Or run gksu nvidia-settings from a terminal.

  4. #4
    Join Date
    Mar 2008
    Beans
    4,715
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Changes in xorg.conf not taking effect

    According to http://en.wikipedia.org/wiki/XFree86_Modeline
    Modelines are no longer necessary.

    I use an NVIDIA card, and here is the relevant parts of my xorg.conf:

    Code:
    Section "Device"
        Identifier     "Generic Video Card"
        Driver         "nvidia"
    EndSection
    
    Section "Screen"
        Identifier     "Default Screen"
        Device         "Generic Video Card"
        Monitor        "Monitor0"
        DefaultDepth    24
        SubSection     "Display"
            Depth       24
            Modes      "nvidia-auto-select"
        EndSubSection
    EndSection
    Notice the Modes line is set with "nvidia-auto-select".

    There is also a tool downloadable from nvidia
    http://download.nvidia.com/XFree86/n...fig-1.0.tar.gz
    which is meant to help you configure xorg.conf to work with your nvidia card.

    Finally, there is documentation on how to use nvidia-xconfig:
    http://us.download.nvidia.com/XFree8...hapter-06.html

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •