Using AGP video card over PCI

Asked by yetanotherpunter

I have 2 Nvidia Geforce FX5200's installed one PCI one AGP (i use dual moniter in windows) now the AGP is set the the default and yet ubuntu boots on the PCI one. This is frustrating as ultimatly i want to set up dual screen on ubuntu. how do i either disable the PCI card in Ubuntu (thus forcing it to use the AGP) or set the AGP as default for Ubuntu as well?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu hal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mike Perry (mike.perry) said :
#1

When you say boots on the pci one do you mean X loads only the pci one? This is probably the case but can be configured via the xorg configuration file.
Try "sudo dpkg-reconfigure xserver-xorg". This will let you reconfigure xorg. The part you are concerned with is when it asks you about the pcibus. You can find out who is attached to what via the command "lspci -v". Hal might give you some info too.
If you are interested in two monitors check out Xinerma. I have never used Xinerma, but I know it is what you are looking for.

Revision history for this message
yetanotherpunter (elbmt) said :
#2

Mike... many thanks for the quick reply, yes i did mean that X only loads on the PCI one. I edited the xorg config file, told it to use the AGP one (told it that the address of the video card was PCI0:0:1 (address of the AGP)), then X would not load at all. so reverted back to PCI0:14:0 - the PCI one.

Have done some research on Xinerama, IT suggests that you can use 2 seperate video cards, as Ubuntu sees both cards i presume this would work. For which reason i looked on synaptic, all i could find was "X11-proto-Xinerama-dev"; this installed i cant find where i can configure this. I have searched the help forums but cannot find any examples of either how to install it or use it with different cards (only dual head cards). CAn you shed any light on this for me? Sorry (as you can tell) i'm a bit of a newbie

Revision history for this message
Mike Perry (mike.perry) said :
#3

Unfortunatly I've never used Xinerama so I really wouldn't know how to configure it. Maybe someone else on launch pad might be able to help. You could always try the forums too. Any way I found a few maybe useful links:

https://wiki.ubuntu.com/XineramaHowTo
https://wiki.ubuntu.com/XineramaMultipleMonitors
http://pwp.netcabo.pt/0150048402/linux/Multiple_Nvidia_Multiple_Head.html
http://nozell.com/blog/archives/2005/09/29/dualhead-with-xinerama-using-ubuntubreezy-compaq-nc6000/

Perhaps you made a typo when you tried the PCI trick. That "should" work.

Anyway sorry I couldn't completely solve your problem. Good luck.

Revision history for this message
yetanotherpunter (elbmt) said :
#4

many thanks, its sorted now, ended up whippin the PCI one out then running xserver-xorg.

Revision history for this message
steph291 (smarchand291) said :
#5

Hi,

   This the scenario : 3 monitors, one on a pci matrox low end, 2 monitors on a
nvidia twinhead (let say dualhead...) fx5200 .

   With the 173 nvidia driver, everything work fine, you get 2 monitors with
3d acceleration but still, the matrox/monitor stay dead.

   You would suggest to edit the xorg.conf fine... but the contain isn't standard.
I don't know how to add anything in there.
here's my xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Mon Nov 3 08:46:46 UTC 2008

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

Section "Files"
EndSection

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

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

Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "DELL P1230"
    HorizSync 30.0 - 130.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce FX 5200"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "1"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "CRT-0: 1152x864_75 +0+0, CRT-1: 1152x864_75 +1152+0"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection