glxgears + glxinfo segfault with nvidia (2x) 9800gtx SLI

Looking for troubleshooting tips or even best install practices (so I can reinstalll correctly) to support 3d on nvidia 2x 9800 gtx rig in SLI. my first install failed to start x until I DL’d and installed the drivers from nvidia using their installation script. Since then, I’ve verified the basic 3d xorg settings, but glxgears and glxinfo produce seg faults. Any thoughts would be appreciated!

Error output below:

npmarks@linux-il9d:~/Desktop> glxgears
Segmentation fault
npmarks@linux-il9d:~/Desktop> glxinfo
name of display: :0.0
Segmentation fault
npmarks@linux-il9d:~/Desktop>

xorg.conf

nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 1.0 (buildmeister@builder58) Thu Jul 17 18:39:00 PDT 2008

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

Section “Files”
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”
EndSection

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “RenderAccel” “True”
Option “AddARGBGLXVisuals” “True”
SubSection “Display”
Depth 24
EndSubSection
EndSection

Section “Extensions”
Option “Composite” “Enable”
EndSection

(II) Mouse0: ps2EnableDataReporting: succeeded
(II) NVIDIA(0): Setting mode “1600x1200_60”
SetClientVersion: 0 9

output from lspci
03:00.0 VGA compatible controller: nVidia Corporation Device 0612 (rev a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 829b
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=16]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256]
Region 3: Memory at ea000000 (64-bit, non-prefetchable) [size=32]
Region 5: I/O ports at cf00 [disabled] [size=128]
[virtual] Expansion ROM at ed000000 [disabled] [size=128]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <4us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Latency L0 <256ns, L1 <1us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Virtual Channel <?>
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information <?>
Kernel driver in use: nvidia
Kernel modules: nvidia, nvidiafb

04:00.0 VGA compatible controller: nVidia Corporation Device 0612 (rev a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 829b
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=16]
Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256]
Region 3: Memory at e6000000 (64-bit, non-prefetchable) [size=32]
Region 5: I/O ports at bf00 [size=128]
[virtual] Expansion ROM at e9fe0000 [disabled] [size=128]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <4us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #2, Speed 5GT/s, Width x16, ASPM L0s L1, Latency L0 <256ns, L1 <1us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Virtual Channel <?>
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information <?>
Kernel driver in use: nvidia
Kernel modules: nvidia, nvidiafb[/size][/size][/size][/size][/size][/size][/size][/size][/size][/size]

Hi
Can you try changing the Composite setting to “on” rather than
“Enable” and restarting the X server. Did you ever try using Sax2 to
setup your cards?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 1 day 15:29, 4 users, load average: 0.09, 0.44, 0.46
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80

Thanks, Malcolm!
using “On” rather than Enabledidn’t seem to make a difference. I can’t get sax2 to run undare any circumstances. Any time I use the -r option it dies in /usr/share/sax/init/pl line 653
if I use
-c 0 -m 0=nvidia
or -c 0 -m 0=nvidia,1=nvidia

It fails and tosses some fairly vague errors;
no screen found

I’m just not sure how to move forward.

Hi
Following is my standard blurb for nvidia…

Have you installed the nvidia driver via 1-click? If not I recommend
the hard way, else follow the easy way here;
Nvidia

This is my canned response for doing it the ‘Hard Way’ :slight_smile:

If you have installed via the easy way, I suggest removing the
downloaded rpms, and disabling the nvidia repository first.

You can download the driver for your arch from;
Nvidia Unix Drivers

On the download page, check that your card is supported by the driver
your about to download by using the following command;


/sbin/lspci -nv |grep VGA |cut -f4 -d ":"

From the above output use the four numbers from the output to look
at the Supported Products List (on the left) to verify your card is
supported by the driver.

For downloading the current version 177.80 (Note the wget and url are
all on one line)

for 32bit;


wget
http://us.download.nvidia.com/XFree86/Linux-x86/177.80/NVIDIA-Linux-x86-177..80-pkg1.run

for 64bit;


wget
http://us.download.nvidia.com/XFree86/Linux-x86_64/177.80/NVIDIA-Linux-x86_64-177.80-pkg2.run

You may wish to ensure your system is up to date. The first command
refreshes the repositories, the second lists any updates, the third
will apply the updates.


sudo zypper ref
sudo zypper lu
sudo zypper up

NOTE: If the kernel updated, please reboot before continuing :slight_smile:

If you don’t have the kernel source and tools etc installed then


sudo zypper in kernel-source linux-kernel-headers kernel-syms
sudo zypper in -t pattern devel_basis devel_C_C++

Press ctrl+alt+F1 and login as your user :slight_smile:


su -
init 3

cd to the Nvidia Unix Driver you downloaded


sh NV*.run -q
sax2 -r -m 0=nvidia
init 5 && exit
ctrl+alt+F1
exit
ctrl+alt+F7

The ctrl+alt+F7 gets you back to the GUI (X session).

Now after a kernel update, you don’t need to run the sax2 command, just
the others to get to run level 3, rebuild the driver and exit.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 2 days 0:38, 1 user, load average: 0.11, 0.07, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80