You are not logged in.

#1 2007-12-16 02:50:43

Tobias Phoenix
Member
From: Australia
Registered: 2007-12-16
Posts: 3
Website

[SOLVED] Trouble configuring xorg

I've been floating around for a few weeks now and thought I'd finally try to install arch. I was following the Beginner's Guide and everything was going smoothly until I had to configure Xorg.

My graphics card is an nVidia GeForce 7600 GS so I used pacman -S nvidia to get the drivers for it. Then I used X -configure to make a base xorg.conf, moved it to /etc/X11/xorg.conf and then used nvidia-xconfig. If I startx from there I get:

(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

I figured that there was a problem in the Screen section of my xorg.conf. Here is what it looks like:

Section "Screen"
      Identifier    "Screen0"
      Device       "Card0"
      Monitor      "Monitor0"
      Subsection    "Display"
                Viewport    0   0
      End Subsection
      Subsection    "Display"
                Viewport    0   0
                Depth        4
      End Subsection
      Subsection    "Display"
                Viewport    0   0
                Depth        8
      End Subsection
      Subsection    "Display"
                Viewport    0   0
                Depth        15
      End Subsection
      Subsection    "Display"
                Viewport    0   0
                Depth        16
      End Subsection
      Subsection    "Display"
                Viewport    0   0
                Depth        24
      End Subsection

I'm sure I'm missing a lot of things, but hopefully I can learn from these mistakes early. Any help would be greatly appreciated.

Last edited by Tobias Phoenix (2007-12-16 03:58:29)

Offline

#2 2007-12-16 03:01:00

FizDev
Member
From: Canada
Registered: 2007-06-29
Posts: 57

Re: [SOLVED] Trouble configuring xorg

You seem to be missing the Depth and Modes

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Depth     24
        Modes    "1440x900"
    EndSubSection
EndSection

Last edited by FizDev (2007-12-16 03:02:32)

Offline

#3 2007-12-16 03:04:10

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: [SOLVED] Trouble configuring xorg

It should be fine without those, mine is. I don't think those being missing would cause the module not to load anyway.

Posting your entire xorg.conf may be more helpful.

Last edited by elliott (2007-12-16 03:04:50)

Offline

#4 2007-12-16 03:05:17

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [SOLVED] Trouble configuring xorg

I have a 7600 GT. Try using my xorg.conf as a guide:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
      Option "BlankTime" "0"
      Option "StandbyTime" "0"
      Option "SuspendTime" "0"
      Option "OffTime" "0"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    Identifier     "Mouse0"
       Driver         "mouse"
       Option         "Protocol" "ExplorerPS/2"
       Option         "Device" "/dev/input/mice"
       Option         "Buttons" "7"
       Option         "ZAxisMapping" "4 5"
       Option         "ButtonMapping" "1 2 3 6 7"
                      
       EndSection

Section "InputDevice"
        Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 130.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS" "False"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "RenderAccel"  "True"
    Option         "TripleBuffer" "True"
    Option         "AddARGBGLXVisuals" "True"
#   Option         "NoLogo"  "True"
    Option         "ConnectedMonitor" "DFP"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option "AddARGBGLXVisuals"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
  
    EndSubSection
EndSection

Section "Extensions"
  Option "Composite" "Enable"
EndSection

Try adding a default depth and modes to your Screen section, and horizsync and vertrefresh to Monitor section for starters. Report back with your results, and post your entire xorg.conf.
BTW, I always need to reboot after initial installation of the nVidia driver to get it to work. smile

Last edited by Misfit138 (2007-12-16 03:10:00)

Offline

#5 2007-12-16 03:09:39

Tobias Phoenix
Member
From: Australia
Registered: 2007-12-16
Posts: 3
Website

Re: [SOLVED] Trouble configuring xorg

I changed my Screen section to look like this:

Section "Screen"
         Identifier     "Screen0"
         Device        "Card0"
         Monitor       "Monitor0"
         DefaultDepth 24
         SubSection     "Display"
              Viewport    0  0
              Depth       24
              Modes      "1280x1024"
         EndSubsection
EndSection

But I still get the same error when running startx.

EDIT: Now I'll try your other suggestions.

Last edited by Tobias Phoenix (2007-12-16 03:10:34)

Offline

#6 2007-12-16 03:10:41

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: [SOLVED] Trouble configuring xorg

Misfit138 wrote:

BTW, I always need to reboot after initial installation of the nVidia driver to get it to work. smile

"depmod -a" would probably work too, but I don't remember doing either.

Offline

#7 2007-12-16 03:27:19

Tobias Phoenix
Member
From: Australia
Registered: 2007-12-16
Posts: 3
Website

Re: [SOLVED] Trouble configuring xorg

Misfit138 wrote:

BTW, I always need to reboot after initial installation of the nVidia driver to get it to work. smile

It would appear that all I had to do was reboot after configuring, now startx works perfectly. Obviously I have a long way to go tongue. Oh well, thanks for your help anyway guys. Hopefully you won't be hearing from me too soon.

Offline

#8 2007-12-16 15:50:55

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [SOLVED] Trouble configuring xorg

elliott wrote:
Misfit138 wrote:

BTW, I always need to reboot after initial installation of the nVidia driver to get it to work. smile

"depmod -a" would probably work too, but I don't remember doing either.

Excellent tip, thank you. I will try this out on a trial install, and if it works, I'll add it to the wiki.

Offline

Board footer

Powered by FluxBB