nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Multiple cards and multiple heads on one card problems (http://www.nvnews.net/vbulletin/showthread.php?t=71279)

Scanner 06-05-06 06:12 PM

Multiple cards and multiple heads on one card problems
 
2 Attachment(s)
Hello,

I have a freebsd 6.1-stable desktop. In this desktop I want to put
two video cards to drive a total of three displays.

I have two nVidia GeForce 6200 cards. One AGP and one PCI.
If I plug just the AGP card in and do the things to configure two displays
on one card it works just fine. Hooray for FreeBSD support, rah rah.

If I plug the second card in, however, it does not work.

The first two heads on the first card still work, but the driver refuses
to basically see the second card.

I will attach the full log files after this, but here is the salient log
messages that lead to great confusion on my part:

yomiko/scanner (4) $ pciconf -l -v

...

Quote:

nvidia0@pci1:0:0: class=0x030000 card=0x02bb0000 chip=0x022110de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
class = display
subclass = VGA
nvidia1@pci2:1:0: class=0x030000 card=0x00000000 chip=0x022110de rev=0xa1
hdr=0x00
vendor = 'NVIDIA Corporation'
class = display
subclass = VGA
fxp0@pci2:8:0: class=0x020000 card=0x30058086 chip=0x10398086 rev=0x81 hdr=0x00
vendor = 'Intel Corporation'

so, pciconf sees the two cards.

In my xorg.conf I have:

Quote:

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "UseDisplayDevice" "DFP"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Device"
Identifier "Device2"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:2:1:0"
Screen 2
EndSection
(it has appropriate monitor & screen sections too)

In Xorg.0.log:

Quote:

...
(--) PCI:*(1:0:0) nVidia Corporation GeForce 6200 rev 161, Mem @ 0xf9000000/24, 0xb0000000/28, 0xf8000000/24, BIOS @ 0xfa9e0000/17
(--) PCI: (2:1:0) nVidia Corporation GeForce 6200 rev 161, Mem @ 0xfb000000/24, 0xfb000000/24
...
(II) NVIDIA dlloader X Driver 1.0-8762 Mon May 15 14:09:34 PDT 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(WW) NVIDIA: No matching Device section for instance (BusID PCI:2:1:0) found
(--) Chipset NVIDIA GPU found
(--) Chipset NVIDIA GPU found
(--) Chipset NVIDIA GPU found
(there is a /dev/nvidia0 and /dev/nvidia1)

I have no clue where to go next. This should just work from all the documentation and examples I can find.

Help?

BashfulTux 06-05-06 06:26 PM

Re: Multiple cards and multiple heads on one card problems
 
When I had a pci and agp dual head setup instead of my dual agp I have now I had to set the pci as the default boot device in the BIOS or the card would never get initialized, you may want to try similar.

Scanner 06-05-06 06:57 PM

Re: Multiple cards and multiple heads on one card problems
 
1 Attachment(s)
Quote:

Originally Posted by BashfulTux
When I had a pci and agp dual head setup instead of my dual agp I have now I had to set the pci as the default boot device in the BIOS or the card would never get initialized, you may want to try similar.

Hm! Good idea.

Unfortunately things work even less well there. Basically I configured
the PCI card as the main one in the BIOS. Machine came up, and hey, the booting text came out on the 3rd head.

Tried the X server (with the same config that is in the attachment on
my original post.)

In the Xorg log we have the following messages:

Quote:

...
(--) PCI: (1:0:0) nVidia Corporation GeForce 6200 rev 161, Mem @ 0xf7000000/24
(--) PCI:*(2:1:0) nVidia Corporation GeForce 6200 rev 161, Mem @ 0xfd000000/24, 0xd0000000/28, 0xfc000000/24, BIOS @ 0xfeae0000/17
...
(II) NVIDIA dlloader X Driver 1.0-8762 Mon May 15 14:09:34 PDT 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 02:01:0
(WW) NVIDIA: No matching Device section for instance (BusID PCI:2:1:0) found
(--) Chipset NVIDIA GPU found
(--) Chipset NVIDIA GPU found
(--) Chipset NVIDIA GPU found
...
(EE) Screen 2 deleted because of no matching config section.
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ramdac"
(II) UnloadModule: "fb"
...
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "UseDisplayDevice" "DFP"
(**) NVIDIA(0): Enabling RENDER acceleration
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): *** Aborting ***
(**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(1): Enabling RENDER acceleration
(EE) NVIDIA(1): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(1): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ramdac"
(II) UnloadModule: "fb"
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ramdac"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.
Another problem, looking in /dev/ I only see /dev/nvidia1 (and /dev/nvidiactl).

So, now it is still failing because it can not load the pci video card at
PCI:2:1:0, but the AGP card at PCI:1:0:0 is not initialized at all.

Hrm. The thing that has me puzzled is that the bios and os and even the Xorg startup log indicate that they all see the device. The problem seems to be specifically that it says "no 'device' entry found for device PCI:2:1:0 even though there clearly is a device entry for PCI:2:1:0. It is like something is silently barfing or skipping over that device section.

I guess I should look in the provided source to see if there is anything obvious.

Scanner 06-05-06 07:56 PM

Re: Multiple cards and multiple heads on one card problems
 
as another test I will be picking up another pci graphics card to see
if that works, and start reducing possibilities. (It occurs to me that my GeForce6200 pci card may be broken in some weird way.)

BashfulTux 06-05-06 08:16 PM

Re: Multiple cards and multiple heads on one card problems
 
You might want to try turning off the render acceleration with

Code:

     
Option      "RenderAccel" "false"

in each of the device sections and see if that helps also I notice in your pci.txt that the card does not seems to have an entry in its database that could be causing problems.
Code:

nvidia1@pci2:1:0:      class=0x030000 card=0x00000000 chip=0x022110de rev=0xa1
hdr=0x00


Div2006 06-06-06 05:44 AM

Re: Multiple cards and multiple heads on one card problems
 
Ohhh.. I have same problems with card PCI Quadro 4 NVS 0x017A. And the same don't working 2 chips from 4... I don't known what doing... :(

David_Jones 07-10-06 11:55 AM

Re: Multiple cards and multiple heads on one card problems
 
I think in your
Code:

Section "Device"

    Identifier "Device2"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:2:1:0"
    Screen 2

EndSection

bit...the "Screen 2" shouldn't be there... As far as I understand that Screen 0,1 is to specify which output of a dual head card to use and since this is the first port on this card to use either set it to 0 or take it out completely. Just an idea...I'm no expert since I'm having similar troubles...have a dual head 6800U which I can run both at the same time as independant screens but running one at a time (trying to use a separate kbd and mouse on each) it gives me issues (same as yours) for the second monitor.

I think this is due to it only using one device section (the one with "Screen 2") and not knowing/understanding whats going on? Lol can someone help me too?

Scanner 07-17-06 02:27 PM

Re: Multiple cards and multiple heads on one card problems
 
Quote:

Originally Posted by David_Jones
I think in your
Code:

Section "Device"

    Identifier "Device2"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:2:1:0"
    Screen 2

EndSection

bit...the "Screen 2" shouldn't be there... As far as I understand that Screen 0,1 is to specify which output of a dual head card to use and since this is the first port on this card to use either set it to 0 or take it out completely. Just an idea...I'm no expert since I'm having similar troubles...have a dual head 6800U which I can run both at the same time as independant screens but running one at a time (trying to use a separate kbd and mouse on each) it gives me issues (same as yours) for the second monitor.

I think this is due to it only using one device section (the one with "Screen 2") and not knowing/understanding whats going on? Lol can someone help me too?

ha! and you win the prize. Actually there were two problems: first the motherboard I had and its bios really really had problems with more then
one video card plugged in to the system.

The second was indeed just as you said.. 'Screen 2' in the config section was an error.. only to be used when telling which head of a two-head card the monitor goes on. I removed that line (and I got a new MB as well to deal with the lockups) and it is all just working. Very happy. Thanks.

ENVESTR 02-26-08 08:18 PM

Re: Multiple cards and multiple heads on one card problems
 
did u ever find a solution with using 2 6200 geforce cards and multi monitors
plz let me know i have the same problem
thanks

ntoo 10-03-10 02:22 AM

Re: Multiple cards and multiple heads on one card problems
 
Solution for me was, as above,
Screen 1
in the xorg.conf Nvidia "Device" section should be
Screen 0

with Intel onboard and Nvidia PCI. CRT on Intel, TV on Nvidia and the Intel set as main card in the BIOS


All times are GMT -5. The time now is 12:43 PM.

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