nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   two nvidia cards, twinview, IRQs, setup? (http://www.nvnews.net/vbulletin/showthread.php?t=8019)

bodo 02-26-03 03:10 PM

two nvidia cards, twinview, IRQs, setup?
 
1 Attachment(s)
Hi all,

I've installed the 4191 driver on my system (see full spec below).
It works quite fine (thanks to reading this forum and the Nvidia documentation), except for the second graphics device, which is a GF2 400MX PCI. The (pci-)monitor remains standby.

/var/log/XFree86.0.log says:
(II) PCI: 00:0d:0: chip 10de,0110 card 0000,0000 rev b2 class 03,00,00 hdr 00
...
(II) PCI: 01:00:0: chip 10de,0153 card 10de,006d rev a4 class 03,00,00 hdr 00
...
(--) PCI: (0:13:0) NVidia GeForce2 MX/MX 400 rev 178, Mem @ 0xe9000000/24, 0xe0000000/27
(--) PCI:*(1:0:0) NVidia Quadro2 Pro rev 164, Mem @ 0xea000000/24, 0xd8000000/27
...
(II) NVIDIA XFree86 Driver 1.0-4191 Mon Dec 9 11:51:41 PST 2002
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(WW) NVIDIA: No matching Device section for instance (BusID PCI:0:13:0) found
(--) Chipset NVIDIA GPU found
...
(WW) NVIDIA(0): 2 display devices connected, but only 1 supported;
(WW) NVIDIA(0): adjusting...
...
(WW) NVIDIA(0): Unable to find mode "1024x768" for Display Device 1 in
(WW) NVIDIA(0): MetaMode "1024x768,1024x768"
(WW) NVIDIA(0): Unable to find mode "800x600" for Display Device 1 in MetaMode
(WW) NVIDIA(0): "800x600,800x600"
...


XF86Config says:
Section "Device"
BoardName "Quadro2 Pro"
BusID "01:00:0"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
# Option "Rotate" "off"
Option "NvAgp" "3"
Option "TwinView"
Option "TwinViewOrientation" "LeftOf"
Option "MetaModes" "1024x768,1024x768; 800x600, 800x600"
Option "ConnectedMonitor" "crt,crt"
VendorName "NVidia"
EndSection

Section "Device"
BoardName "GeForce2 MX/MX 400"
BusID "00:0d:0"
Driver "nvidia"
Identifier "Device[1]"
Screen 1
# Option "Rotate" "off"
Option "TwinView"
VendorName "NVidia"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
# Option "Clone" "off"
# Option "Xinerama" "on"
Screen "Screen[0]" LeftOf "Screen[1]"
Screen "Screen[1]"
EndSection


lspci says:
00:0d.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX] (rev b2)
...
01:00.0 VGA compatible controller: nVidia Corporation NV15 [Quadro2 Pro] (rev a4)


I'm a bit confused now; I plugged the PCI GF2 into another slot, after I found out that it is sitting on the same IRQ as the AGP card, and changed the address in the XF86Config from 0:12:0 (or 0:13:0; can't remeber) to 0:0d:0 as stated in BIOS and lspci after the replugging.

How does it come that X is trying to get a device from 0:13:0?
IIRC the PCI card had a similar address when I installed the kernel and compiled the Nvidia driver from .src.rpm . Is this relevant?

In the attached files you can see the whole context.
BTW: are the Twinview-options set correctly in the XF86Config?

Help!

cheers, Bodo


o/s Suse 8.1 standard kernel
m/b VIA KT400
cpu Athlon 2000+
ram 512MB DDR333
1 Nvidia Quadro 2 Pro (AGP)
1 Nvidia GeForce 2 MX400 (PCI)

bodo 02-26-03 03:11 PM

1 Attachment(s)
and the XF86Config:

bwkaz 02-26-03 04:19 PM

Well, 13 decimal is 0d hex.

Change your BusID back to 13. Does that work?

bodo 02-26-03 04:33 PM

Quote:

Originally posted by bwkaz
Well, 13 decimal is 0d hex.

Change your BusID back to 13. Does that work?

Thanks, that'll explain the different figures.
But it doesn't work either, maybe because the XF86Config allows hex numbers:
(from the manual)
"Integer an integer number in decimal, hex or octal"

Maybe it's the twinview configuration in XF86Config?

Twinview should work with Quadro2 Pro and GeForce2 MX400, or doesn't the Quadro2 Pro support twinview?

cheers, Bodo :)

bodo 03-01-03 09:57 AM

I've made some further investigation:

during startx PCI seems to be scanned twice by different modules:

(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x8000003c, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3189 card 1458,5000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b168 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:0b:0: chip 11ad,0002 card 1385,f004 rev 20 class 02,00,00 hdr 00
(II) PCI: 00:0d:0: chip 10de,0110 card 0000,0000 rev b2 class 03,00,00 hdr 00 <this must be the GF2 MX400, because of the vendor code '10de' for nvidia>
(II) PCI: 00:10:0: chip 1106,3038 card 1458,5004 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:1: chip 1106,3038 card 1458,5004 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:2: chip 1106,3038 card 1458,5004 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:3: chip 1106,3104 card 1458,5004 rev 82 class 0c,03,20 hdr 00
(II) PCI: 00:11:0: chip 1106,3177 card 1458,5001 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 1458,5002 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:5: chip 1106,3059 card 1458,a002 rev 50 class 04,01,00 hdr 00
(II) PCI: 00:13:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00 <this is an ethernet controller according to lspci>
(II) PCI: 00:14:0: chip 1106,3044 card 1458,1000 rev 46 class 0c,00,10 hdr 00
(II) PCI: 01:00:0: chip 10de,0153 card 10de,006d rev a4 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
<snip>
(II) Bus -1 prefetchable memory range:
(--) PCI:*(0:13:0) NVidia GeForce2 MX/MX 400 rev 178, Mem @ 0xe9000000/24, 0xe0000000/27 <ok, so libscanpci.a sees 0:13:0 for the GF2 MX400 :confused: >
(--) PCI: (1:0:0) NVidia Quadro2 Pro rev 164, Mem @ 0xea000000/24, 0xd8000000/27


When I startx with the address set to 0:13:0, X won't start. When I startx with the address set to 0:0d:0, X starts, but not on the second device/monitor; no matter if I boot from AGP or PCI.

From what I see, there are two different informations about the hardware address, which confuses startx of course.

I assume 0:13:0 is the right one, as can be seen in the BIOS; now my question is:

What must I do to let /usr/X11R6/lib/modules/libpcidata.a and lspci get the real address?

cheers, Bodo


All times are GMT -5. The time now is 10:15 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.