How do I properly edit a xorg.conf file?

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
omynos

How do I properly edit a xorg.conf file?

Post by omynos »

First I was having problems installing the drivers, now I'm having a problem getting X-Win to boot. Well, X boots just fine... I think... but both of my TV's and my monitor all say the same thing: "Not Support!"

Here are the specifications for my card:

Code: Select all

dubious@dubious~$: inxi -Gx
Graphics:  Card nVidia NV18 [GeForce4 MX 4000] X.Org 1.9.0 Res: 1024x768@60.0hz
           GLX Renderer Software Rasterizer GLX Version 2.1 Mesa 7.9-devel Direct Rendering Yes
I have the 96.43.19 drivers.

When everything is installed, this is the file generated:

Code: Select all

sudo nvidia-xconfig

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Wed Oct 27 19:20:23 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
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"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Initially, the file "/etc/X11/xorg.conf" does not exist, so one is created. All is fine and dandy up to this point. It loads the splash screen all weird, it says Linux Mint 10 with the little dots that flash green underneath it. (I know how to resolve that problem with Startup Manager.) But as I said before, when the gdm initially loads, the screen goes blank and the TV/monitor states the current mode is not supported.

The safe maximum resolution is 1024x768@60.0Hz. How do I edit this file so that it boots with that resolution? Are there any other files I may need to edit/configure? Thanks in advance to whomever provides an answer.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
abercrombieande

Re: How do I properly edit a xorg.conf file?

Post by abercrombieande »

Hmm. The default would like something like below. It looks like it still might not be installed right. There is a tutorial here http://forums.linuxmint.com/viewtopic.php?f=42&t=63239 if you want to try again.

Section "Monitor"
Identifier "My Monitor"
HorizSync 30-82
Vertrefresh 56-76
Modeline "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -HSync +VSync
EndSection
Locked

Return to “Hardware Support”