Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding A New Video Card To Xorg.conf?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ShadowMetis
Apprentice
Apprentice


Joined: 03 Feb 2005
Posts: 181
Location: Newburgh, NY

PostPosted: Tue Mar 15, 2005 9:22 pm    Post subject: Adding A New Video Card To Xorg.conf? Reply with quote

Got a new video card today and I'm working on getting my computer all ready for it. Is there a program I can use to add it to Xorg.conf?
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Tue Mar 15, 2005 9:54 pm    Post subject: Reply with quote

Does xorgconfig care about secondary GPU`s ? Dunno...

Anyway:

Simply use "lspci" to get die Bus-adresses of your cards:
Code:
bash-2.05b# lspci
0000:00:00.0 Host bridge: Intel Corp. 82875P/E7210 Memory Controller Hub (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02)
0000:00:03.0 PCI bridge: Intel Corp. 82875P/E7210 Processor to PCI to CSA Bridge (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) SATA Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600/GeForce 6600 GT] (rev a2)
0000:02:01.0 Ethernet controller: Intel Corp. 82547EI Gigabit Ethernet Controller (LOM)
0000:03:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 04)
0000:03:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 01)
0000:03:0d.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)


In my system you can see there a two Adapters, a GF6600@AGP(1:00.0) and a GF5200@PCI(3:0d.0)

Now compare with my xorg.conf:
Code:

Section "Device"
        BoardName    "Xfx Geforce 6600GT Ausgang #1"
        BusID        "1:0:0"
        Driver       "nvidia"
        Identifier   "AGP-1"
        Option       "ConnectedMonitor" "CRT-0"
        Option       "NvAGP" "1"
        #Option       "Multisamplecompatibility" "1"
        #Option       "NoLogo" "1"
        Screen       0
        VendorName   "NVidia"
EndSection

Section "Device"
        BoardName    "Xfx Geforce 6600GT Ausgang #2"
        BusID        "1:0:0"
        Driver       "nvidia"
        Identifier   "AGP-2"
        Option       "ConnectedMonitor" "CRT-1"
        Option       "NvAGP" "1"
        #Option       "Multisamplecompatibility" "1"
        #Option       "NoLogo" "1"
        Screen       1
        VendorName   "NVidia"
EndSection

Section "Device"
       BoardName    "Xfx Geforce FX 5200"
       BusID        "3:11:0"
       Driver       "nvidia"
       Identifier   "Device3"
       #Option      "NoLogo" "1"
       Screen       0
       VendorName   "NVidia"
EndSection


All you now need to know, is that a hexadecimal "d" is a decimal "13"...(compare BusID)
Back to top
View user's profile Send private message
alkan
Guru
Guru


Joined: 06 Aug 2004
Posts: 385
Location: kasimlar yaylasi

PostPosted: Tue Mar 15, 2005 9:57 pm    Post subject: Reply with quote

'X -configure' should create the new entries in the xorg.conf. But if you do know the PCI ID it is not hard to manually add the entries. Just duplicate the display, screen and device sections, modify as needed and modify server layout section to your taste.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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