Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xf86-video-nouveau doesn't find my card
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
EoD
n00b
n00b


Joined: 30 May 2008
Posts: 36

PostPosted: Sat Mar 19, 2011 2:56 pm    Post subject: xf86-video-nouveau doesn't find my card Reply with quote

I got an Asus M3A32-Deluxe board with 4 PCIe slots of which two can do x16. In those two I plugged in my graphic cards, but I only can start X on the first one. I already tried several BIOS options with no success so far.
I want to explicatively start the X server on the 2nd card, because I want to create a multiseat session in the end.

My xorg.conf
Dmesg
Xorg.0.log
lspci -nnk

I have the following software installed:
[I] media-libs/mesa (7.10.1@03/04/2011): OpenGL-like graphic library for Linux
[I] x11-base/xorg-server (1.9.5@03/19/2011): X.Org X servers
[I] x11-drivers/xf86-input-evdev (2.6.0@03/19/2011): Generic Linux input driver
[I] x11-drivers/xf86-video-ati (6.14.1@03/19/2011): ATI video driver
[I] x11-drivers/xf86-video-nouveau (0.0.16_pre20101130@03/19/2011): Accelerated Open Source driver for nVidia cards
[I] x11-libs/libdrm (2.4.23@02/05/2011): X.Org libdrm library

Anyone got an idea what am I doing wrong? I already plugged two different cards in the 2nd slot, a NV4B/G73 and a NV46/G72. No difference with both.


I'm sorry if this is in the wrong forum, but it said X-related stuff should go here. And I guess this is more X than hardware related.
_________________
Sun Blade 100 (UltraSPARC IIe) server with multilib and Java
----
Gentoo/SPARC, Gentoo/AMD64, Gentoo/x86
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Tue Mar 22, 2011 10:57 pm    Post subject: Reply with quote

Section "Device"
Identifier "Card0"
Driver "nouveau"
EndSection

I think if you have multiple cards, you need to tell X in this section the PCI ID of the card it should use.

If you want to use 2 cards under the same X server with separate X displays on each, I think you need two Device sections, each specifying the PCI device.

Code:
BusID  "bus-id"
              This  specifies  the  bus  location  of  the graphics card.  For
              PCI/AGP   cards,   the    bus-id    string    has    the    form
              PCI:bus:device:function  (e.g., “PCI:1:0:0” might be appropriate
              for an AGP card).  This field is usually optional in single-head
              configurations  when using the primary graphics card.  In multi-
              head configurations, or when using a secondary graphics card  in
              a  single-head configuration, this entry is mandatory.  Its main
              purpose is to make an unambiguous connection between the  device
              section  and  the hardware it is representing.  This information
              can usually be found by running the Xorg server with the  -scan‐
              pci command line option.


So, for your second card, you probably want the device section to look like:

Section "Device"
Identifier "Card1"
Driver "nouveau"
BusID "PCI:06:00.0"
EndSection

At least, give that a shot and see if the X log messages change at all. I changed Identifier to Card1, if you're testing one card at a time, it might be easier to leave it as Card0, but suggest using Card0 and Card1 if you try running both at the same time.
Back to top
View user's profile Send private message
EoD
n00b
n00b


Joined: 30 May 2008
Posts: 36

PostPosted: Sat Apr 02, 2011 2:16 pm    Post subject: Reply with quote

Thanks for your idea, but it didn't change anything. I got the same log as above.
I think I know how to setup a multiseat session, but due to the fact that the 2nd card doesn't work properly, I don't see a chance :)

I also tried it also with the current git version, without success.
Code:
[I] x11-drivers/xf86-video-nouveau (9999[1]@04/02/2011): Accelerated Open Source driver for nVidia cards
[1] "x11" /var/lib/layman/x11


What made me curious today, was the following line in the Xorg.0.log
Code:
[    82.552] (--) PCI: (0:6:0:0) 10de:0393:1043:8276 rev 161, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfc000000/16777216, I/O @ 0x0000d800/128, BIOS @ 0x????????/131072

It seems to have found the card (on the right PCI slot at least), but it can't work with it. Does this make sense? Should I report that upstream?
_________________
Sun Blade 100 (UltraSPARC IIe) server with multilib and Java
----
Gentoo/SPARC, Gentoo/AMD64, Gentoo/x86
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Tue Apr 05, 2011 12:03 am    Post subject: Reply with quote

If you investigate the nouveau source code, you should probably find a list somewhere of the supported PCI ID's. Does your card show up in there? If not, does adding it with the same settings as the most similar card you see help it any?
Back to top
View user's profile Send private message
EoD
n00b
n00b


Joined: 30 May 2008
Posts: 36

PostPosted: Sun Apr 24, 2011 8:20 pm    Post subject: Reply with quote

Sorry for the late response. I just tested it again with 2.6.39-rc4 and the current mesa git code without success.

Where exactly do you think I should have a look for the PCI ID?
I couldn't find anything in the mesa source code, nor in the kernel drm code. Actually I don't know exactly what to search for, I just parsed for the following strings: 7500, NV46, 01dd, 046d00a3
_________________
Sun Blade 100 (UltraSPARC IIe) server with multilib and Java
----
Gentoo/SPARC, Gentoo/AMD64, Gentoo/x86
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Apr 25, 2011 8:49 pm    Post subject: Reply with quote

I would think it would appear as a hex string - 01dd should yield results.

Perhaps the fact that it doesn't is the problem - try looking up the pci id of a known working card and seeing if that's present.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Apr 25, 2011 9:04 pm    Post subject: Reply with quote

asking from a position of total ignorance but should not xrandr or xinerama appear in a multiple card multiple monitor discussion?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
EoD
n00b
n00b


Joined: 30 May 2008
Posts: 36

PostPosted: Mon Apr 25, 2011 10:19 pm    Post subject: Reply with quote

BradN wrote:
I would think it would appear as a hex string - 01dd should yield results.

Perhaps the fact that it doesn't is the problem - try looking up the pci id of a known working card and seeing if that's present.

I have a working AGP NV40 on my other computer, I'll check this later. Do you know of any PCIe NV40 card? This might be PCIe related.


DONAHUE wrote:
asking from a position of total ignorance but should not xrandr or xinerama appear in a multiple card multiple monitor discussion?

Nah, that's not necessary. And we are talking about a multiseat session, which means in my case 2 monitors, 2 keyboards, 2 mice and 2 people using the same computer.
_________________
Sun Blade 100 (UltraSPARC IIe) server with multilib and Java
----
Gentoo/SPARC, Gentoo/AMD64, Gentoo/x86
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Mon Apr 25, 2011 10:26 pm    Post subject: Reply with quote

When you start the X server with the nouveau driver, is another X server already running for the radeon card? What if you start the one for nouveau alone?
Back to top
View user's profile Send private message
EoD
n00b
n00b


Joined: 30 May 2008
Posts: 36

PostPosted: Mon Apr 25, 2011 10:58 pm    Post subject: Reply with quote

chithanh wrote:
When you start the X server with the nouveau driver, is another X server already running for the radeon card? What if you start the one for nouveau alone?

No, there is no other x server running, only the one on the nouveau card. All the logs from above are from a single X server on the nouveau card.
_________________
Sun Blade 100 (UltraSPARC IIe) server with multilib and Java
----
Gentoo/SPARC, Gentoo/AMD64, Gentoo/x86
Back to top
View user's profile Send private message
appetitus
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 210

PostPosted: Tue Apr 26, 2011 1:14 am    Post subject: Reply with quote

Getting two Xservers running used to be easy, before all this automated BS config stuff showed up. I've run them for years, but recent upgrades have gotten more annoying. If you don't have your full final device setup, the current code breaks and whines about missing hardware and shuts down everything. Really a useful feature isn't it? Packages from about 1.5 years ago were more sane and would simply ignore missing devices.

Check your Xorg log for complaints about a missing device; something like this works:
Code:

...
Section "Device"
   Identifier "NV31 GeForce FX5600 AGP 0"
   Driver "nvidia"
   Screen 0
EndSection

Section "Device"
   Identifier "NV31 GeForce FX5600 AGP 1"
   Driver "nvidia"
   BusID "PCI:1:0:0"
# refers to video port on card only
   Screen 1
EndSection
...


It's been years since I set it up, so I don't remember why the NV31; the Bus ID stuff used to be found in the Xorg log. For identical cards, BusID is the only way the software can determine which card goes to which screen. NOTE that the prior poster left out the last statement, so it failed. Don't get the screen in "Device" mixed up with Xorg.conf "Screen" sections, they are not the same.

Since you want MultiSeat, you need a different ServerLayout than I use.
_________________
Being a Gentoo user means living in a house inhabited by a family of crazed carpenters. When you wake up, the house is different. Maybe there is a new turret, or some walls have moved, or perhaps someone has removed the floor under your bed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum