Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a cluster of machines running on Ubuntu 10.04 LTS which are supposed to be homogeneous, but apparently they are not. In particular, I am configuring the X server on these machines, and I pushed a /etc/X11/XF86Config that includes the following section:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:5:0:0"

The problem is that the BusID of the graphic card is PCI:5:0:0 for some machines, and PCI:3:0:0 for others. Is there a way that the X server automatically detects the appropriate Device (based on the name for instance)?


share|improve this question
XF86Config? Surely you mean xorg.conf - Ubuntu is far too new for XFree86. – alanc Mar 1 '11 at 21:51
up vote 1 down vote accepted

It is optional according to the documentation:

  BusID "bus-id"
  ... 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 ...

That text can be found here (search for "BusID" in the resulting page to get to the relevant "BusID" section that is roughly half way down the page):

share|improve this answer
Ok, but isn't there another way of selecting the secondary graphics card over the primary one? Apparently not according to the doc... So I therefore need to enter manually the BusID for each of the nodes. – Greg Mar 1 '11 at 7:36
Unless you have a way of programmatically finding out the bus-id and substituting it. – Zsub Mar 1 '11 at 8:14
Yes, but this is always feasible :P The only question is: what will consume the least of my time? – Greg Mar 1 '11 at 8:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .