You are not logged in.

#1 2007-12-17 11:24:46

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Strange xorg problem - BusID changing [SOLVED]

Hi all,

Have got a strange problem with my Xorg config. I am running 2 separate screens on my nvidia 7950gt using the latest nvidia drivers ( 100.14.19-6).

Every so often and apparently at random, xorg refuses to start saying that no screens are found.

The error message shown is:

(II) NVIDIA dlloader X Driver  100.14.19  Wed Sep 12 14:14:20 PDT 2007
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 03:00:0
(WW) NVIDIA: No matching Device section for instance (BusID PCI:3:0:0) found
(EE) No devices detected.

Fatal server error:
no screens found

Sure enough, when I edit xorg.conf to change the BusID to 2:00:0 it works for a short while, until the problem occurs again and I have to change it back to 3:00:0.

I have not changed any hardware - so why is the BusID of my graphics card changing?

Any help is much appreciated!

Thanks in advance,

Stewart

Last edited by sjg (2007-12-21 13:34:01)

Offline

#2 2007-12-18 02:45:27

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Strange xorg problem - BusID changing [SOLVED]

That's really strange. I use to have problems similar with the three graphics cards in my system. I suspected it had something to do with my bios during bootup. Anyway, I solved it by adding pci=conf1 to the kernel line in my grub menu.lst to bypass the bios defaults when assigning irq's etc. Maybe that could solve your problem too.


-- archlinux 是一个极好的 linux

Offline

#3 2007-12-18 11:05:02

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Re: Strange xorg problem - BusID changing [SOLVED]

Thanks Leigh - seems to be doing the trick so far!

Offline

#4 2007-12-18 15:24:33

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Re: Strange xorg problem - BusID changing [SOLVED]

Sadly it just did it again :-(

Any other ideas would be much appreciated, I don't know how to fix this and it is getting annoying. My electricity bill (and wife!) will not let me keep the box up forever, and I have to edit xorg.conf pretty often.

Here are the relevant bits of my xorg.conf in case it helps:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7950 GT"
    BusID          "PCI:3:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7950 GT"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard0"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: 1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard1"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1680x1050 +0+0; DFP-0: 1024x768 +0+0; DFP-0: 800x600 +0+0; DFP-0: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

#5 2007-12-19 03:20:45

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Strange xorg problem - BusID changing [SOLVED]

I'm no expert and this may not even fix your BusId problem, but from past trial and error with xorg.conf, this is what I would try...

Remove or comment out the serverflags section with Xinerama since your running independent screens and Xinerama isn't activated by default.

Remove Option  "TwinView" "0" in both screen sections.

Remove Screen 0 from Section Device Videocard0. I think this could be the culprate to your BusId error. You should only need to specify a screen in the 2nd device as screen 1. Although, I don't specify a screen number at all in my multi-screen setup, but unlike you, I have a seperate card for each monitor.

so basically this is what I would try...

Section "ServerLayout"
    Identifier     "Layout0"
# Actually in my Xorg.cong I list my screens without numbering them and it works fine...
# But I don't thik it really matters... For example...
#  Screen        "Screen0" 0 0
#  Screen        "Screen1" LeftOf "Screen0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

#Commented out this section - not needed for independent screens.
#Section "ServerFlags"
#    Option         "Xinerama" "0"
#EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7950 GT"
    BusID          "PCI:3:0:0"
#commented out screen 0 as it's not needed, and am guessing it could be causing the BusID speratic error.
# Screen            0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7950 GT"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

Section "Screen"
# May want to change to reflect screen0, Videocard0, Monitor0?
    Identifier     "Screen1"
    Device         "Videocard0"
    Monitor        "Monitor1"
    DefaultDepth    24
# Commented out "twinView" "0" Not needed.
#  Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: 1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
# May want to change to reflect Screen1, Videocard1, Monitor1?
    Identifier     "Screen0"
    Device         "Videocard1"
    Monitor        "Monitor0"
    DefaultDepth    24
# Commented out "twinView" "0" Not needed.
#  Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1680x1050 +0+0; DFP-0: 1024x768 +0+0; DFP-0: 800x600 +0+0; DFP-0: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Hope that helps. Also, every time I make changes to my xorg.conf, I try to add little notes to remind myself what I did, incase it didn't work, or I need to change it later. Comes in handy sometimes smile

My setup is a lot different than yours as I have three screens connected to 3 different Nvidia cards, but it's a working configuration that you might find helpfull with specific nvidia settings. http://files.myopera.com/allisonleigh/l … /xorg.conf
Just ignore my modelines for the nec monitor. I had tons of trouble and stuck a whole bunch in there and just let Xorg choose the one it likes best for the resolution I choose.

Last edited by Leigh (2007-12-19 07:24:49)


-- archlinux 是一个极好的 linux

Offline

#6 2007-12-20 11:09:43

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Re: Strange xorg problem - BusID changing [SOLVED]

Thanks Leigh. Have made the changes you suggest and touch wood everything is working so far. Time will tell!

Thanks for the taking the time to help me out, it is really appreciated.

Stewart

Offline

#7 2007-12-20 18:21:31

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Strange xorg problem - BusID changing [SOLVED]

your welcome. I have been fiddling with the nvidia drivers and xorg.conf for the past week or so, so my mindset was kind in line with your problem.


-- archlinux 是一个极好的 linux

Offline

#8 2007-12-21 13:35:13

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Re: Strange xorg problem - BusID changing [SOLVED]

Ok, I think I have cracked it. Don't know why I didn't think of this before! PnP was enabled in the bios. Have turned it off and everything appears to be well. Just in case this is useful to anyone else.

Offline

Board footer

Powered by FluxBB