nvidia-detect hangs when two nvidia GPU installed

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this

nvidia-detect hangs when two nvidia GPU installed

Postby LZux on Thu Feb 28, 2013 7:12 am

I have a PC with and Nvidia graphics card installed, the motherboard is an Nvidia as well.

The nvidia-detect command detects that there are two cards but then fails when it uses the lspci command. Output is shown below:-
-----------------------------------------------
# nvidia-detect
Detected NVIDIA GPUs:
00:0d.0 VGA compatible controller [0300]: NVIDIA Corporation C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 430] [10de:0de1] (rev a1)
Several NVIDIA GPUs detected. Checking only the first.
Usage: lspci [<switches>]

Basic display modes:
-mm Produce machine-readable output (single -m for an obsolete format)
-t Show bus tree

Display options:
-v Be verbose (-vv for very verbose)
-k
.................etc, just sits here never completing...
-----------------------------------------------

Ive found where the problem lies, the lspci command below is given BOTH nvidia card details and cannot deal with this. In my example, "${NV_DEVICES%% *}" returns "00:0d.0 02:00.0"
NVGA=$(lspci -mn -s ${NV_DEVICES%% *} | awk '{ gsub("\"",""); print $3 $4 }')
-----------------------------------------------
Ive done a 'hack job' myself to deal with my situation but its not suitable for the real world.
I think the nvidia-detect script needs to be changed so that it passes just one nvidia device to the lspci command?
-----------------------------------------------

Code: Select all
inxi -Fx
System:    Host homer Kernel 3.2.0-4-686-pae i686 (32 bit) Distro Linux Mint Debian Edition
CPU:       Dual core AMD Athlon 64 X2 4000+ (-MCP-) cache 1024 KB flags (lm nx sse sse2 sse3 svm) bmips 4018.26
           Clock Speeds: (1) 1000.00 MHz (2) 1000.00 MHz
Graphics:  Card-1 NVIDIA C61 [GeForce 6150SE nForce 430] Card-2 NVIDIA GF108 [GeForce GT 430] X.Org 1.12.4 Res: 1680x1050@60.0hz
           GLX Renderer GeForce GT 430/PCIe/SSE2/3DNOW! GLX Version 4.2.0 NVIDIA 304.48 Direct Rendering Yes
Audio:     Card-1 NVIDIA GF108 High Definition Audio Controller driver snd_hda_intel BusID: 02:00.1
           Card-2 NVIDIA MCP61 High Definition Audio driver snd_hda_intel BusID: 00:05.0
           Sound: Advanced Linux Sound Architecture Version 1.0.24
Network:   Card NVIDIA MCP61 Ethernet driver forcedeth at port ec00 BusID: 00:07.0
Disks:     HDD Total Size: 310.1GB (47.8% used) 1: /dev/sda WDC_WD2500KS 250.1GB
           2: /dev/sdb FUJITSU_MHV2060A 60.0GB
Partition: ID:/ size: 20G used: 8.8G (48%) fs: rootfs ID:/ size: 20G used: 8.8G (48%) fs: ext4
           ID:/home size: 168G used: 97G (61%) fs: ext3 ID:swap-1 size: 1.07GB used: 0.00GB (0%) fs: swap
Sensors:   System Temperatures: cpu: 30.0C mobo: 32.0C gpu: 0.0:28C
           Fan Speeds (in rpm): cpu: 1527 fan-2: 0
Info:      Processes 215 Uptime 3:52 Memory 1501.5/3791.7MB Runlevel 2 Client Shell inxi 1.4.23

-----------------------------------------------
LZux
Level 1
Level 1
 
Posts: 8
Joined: Sun Sep 09, 2012 6:43 am

Linux Mint is funded by ads and donations.
 

Return to Graphic Cards & Monitors

Who is online

Users browsing this forum: guidonietmann and 7 guests