LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   PCI graphics card problem (https://www.linuxquestions.org/questions/linux-hardware-18/pci-graphics-card-problem-462950/)

Craig Watson 07-11-2006 09:01 AM

PCI graphics card problem
 
Hello,
I have two graphics cards, one radeon 9200 on agp, and one radeon 9250 on pci. I'd like to have a triple screen setup with xinerama (or ATi's equivalent, whatever) I have 2 screens connected to the agp card, and one connected to the pci card. Problem is, I can't configure the pci card to actually be used... In ubuntu, no matter how I edit xorg.conf, it isn't used, or once or twice it was corrupted... And in SuSE, it doesn't show up in Sax.. What's going on? Is there a way to have dual graphics cards in linux?

This is the output of lspci:

Code:

lspci | grep VGA
00:0b.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01)

I run openSuSE 10.1 and Ubuntu 6.06...
Here's suse's xorg.conf:
Code:

# SaX generated X11 config file
# Created on: 2006-07-11T15:37:13+0200.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath    "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/local"
  FontPath    "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath    "/usr/X11R6/lib/X11/fonts/URW"
  FontPath    "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath    "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath    "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath    "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath    "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath    "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/CID"
  FontPath    "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath    "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath    "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath    "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option      "AllowMouseOpenFail" "on"
EndSection

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

Section "InputDevice"
  Driver      "kbd"
  Identifier  "Keyboard[0]"
  Option      "Protocol" "Standard"
  Option      "XkbLayout" "ch"
  Option      "XkbModel" "pc102"
  Option      "XkbRules" "xfree86"
  Option      "XkbVariant" "fr"
EndSection


Section "InputDevice"
  Driver      "mouse"
  Identifier  "Mouse[1]"
  Option      "Buttons" "10"
  Option      "Device" "/dev/input/mice"
  Option      "Name" "Logitech USB Receiver"
  Option      "Protocol" "explorerps/2"
  Option      "Vendor" "Sysp"
  Option      "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option      "CalcAlgorithm" "XServerPool"
  DisplaySize  390 290
  HorizSync    30-121
  Identifier  "Monitor[0]"
  ModelName    "D2847 P1110 21-INCH MONITOR"
  Option      "DPMS"
  VendorName  "HEWLETT-PACKARD"
  VertRefresh  50-180
  UseModes    "Modes[0]"
EndSection


Section "Modes"
  Identifier  "Modes[0]"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  Device      "Device[0]"
  Identifier  "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "RV280 5961"
  BusID        "1:0:0"
  Driver      "fglrx"
  Identifier  "Device[0]"
  Option      "SaXDualHead"
  Option      "1024x600" ""
  Option      "1024x768" ""
  Option      "1152x864" ""
  Option      "1280x768" ""
  Option      "800x600" ""
  Option      "no_dri" "no"
  Option      "1600x1000" ""
  Option      "VideoOverlay" "on"
  Option      "640x480" ""
  Option      "Reverse" ""
  Option      "StereoSyncEnable" "0"
  Option      "crt1" ""
  Option      "1280x1024" ""
  Option      "1600x1024" ""
  Option      "SaXDualMonitorVendor" "HEWLETT-PACKARD"
  Option      "HSync2" "30-121"
  Option      "SaXDualResolution" "1600x1200"
  Option      "DesktopSetup" "Horizontal,Reverse"
  Option      "SaXDualOrientation" "RightOf"
  Option      "SaXDualMode" "Xinerama"
  Option      "ForceMonitors" "auto,crt1"
  Option      "SaXDualHSync" "30-121"
  Option      "SaXDualMonitorModel" "D8915A HP P1120 21-INCH MONITOR"
  Option      "1366x768" ""
  Option      "SaXDualVSync" "50-160"
  Option      "VRefresh2" "50-160"
  Option      "Mode2" "1600x1200,1600x1024,1600x1000,1400x1050,1280x1024,1440x900,1280x960,1366x768,1280x800,1152x864,1280x768,1024x768,1280x600,1024x600,800x600,768x576,640x480"
  Option      "FSAADisableGamma" "no"
  Option      "Capabilities" "0x00000000"
  Option      "FSAAMSPosX3" "0.000000"
  Option      "CenterMode" "off"
  Option      "FSAAMSPosY1" "0.000000"
  Option      "mtrr" "off"
  Option      "FSAAMSPosX4" "0.000000"
  Option      "1440x900" ""
  Option      "ForceGenericCPU" "no"
  Option      "FSAAMSPosX5" "0.000000"
  Option      "FSAAMSPosY2" "0.000000"
  Option      "FSAAMSPosY3" "0.000000"
  Option      "no_accel" "no"
  Option      "UseFastTLS" "0"
  Option      "UseInternalAGPGART" "no"
  Option      "1280x800" ""
  Option      "1400x1050" ""
  Option      "1280x960" ""
  Option      "768x576" ""
  Option      "1280x600" ""
  Screen      0
  VendorName  "ATI"
EndSection


Section "ServerLayout"
  Identifier  "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option      "Clone" "off"
  Option      "Xinerama" "off"
  Screen      "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode      0660
EndSection

Section "Extensions"
EndSection


and here is Ubuntu's (manually edited)

Code:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ExplorerPS/2"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "Radeon 9200"
        VendorName        "ATi"
        Driver                "radeon"
        BusID                "PCI:1:0:0"
        Screen                0
        Option                "AGPMode" "4"
        Option                "AGPSize" "64"
        Option                "RingSize" "8"
        Option                "BufferSize" "2"
        Option                "EnablePageFlip" "true"
        Option                "EnableDepthMoves" "true"
        Option                "RenderAccel" "true"
EndSection

Section "Device"
        Identifier        "Radeon 9200 2"
        VendorName        "ATi"
        Driver                "radeon"
        BusID                "PCI:1:0:0"
        Screen                1
EndSection

Section "Device"
        Identifier        "Radeon 9250"
        VendorName        "ATi"
        Driver                "radeon"
        BusID                "PCI:0:11:0"
#        Screen                0
EndSection

#Section "Device"
        #Identifier        "Radeon 9250 2"
#        VendorName        "ATi"
#        Driver                "radeon"
#        BusID                "PCI:0:11:0"
#EndSection

Section "Monitor"
        Identifier        "HP P1120"
        Option                "DPMS"
        HorizSync        30-130
        VertRefresh        50-160
EndSection

Section "Monitor"
        Identifier        "HP P1110"
        Option                "DPMS"
        HorizSync        30-130
        VertRefresh        50-160
EndSection

Section "Monitor"
        Identifier        "Compaq MV740"
        Option                "DPMS"
        HorizSync        31-70       
        VertRefresh        50-120
EndSection

Section "Screen"
        Identifier        "P1120"
        Device                "Radeon 9200 2"
        Monitor                "HP P1120"
        DefaultDepth        24
        SubSection "Display"
                Depth                16
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


Section "Screen"
        Identifier        "P1110"
        Device                "Radeon 9200"
        Monitor                "HP P1110"
        DefaultDepth        24
        SubSection "Display"
                Depth                16
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier        "MV740"
        Device                "Radeon 9250"
        Monitor                "Compaq MV740"
        DefaultDepth        24
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerFlags"
        Option                "Xinerama" "on"
EndSection

Section "ServerLayout"
        Identifier        "Triple Head Layout"
        Screen                0 "P1110" 0 0
        Screen                1 "P1120" RightOf "P1110"
        Screen                2 "MV740" RightOf "P1110"
        InputDevice        "Keyboard"
        InputDevice        "Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection

Thanks for any help you can give

Craig Watson 07-12-2006 06:01 AM

I've just used ubuntu's xorg.conf in Suse to see if that worked (since sax doesn't detect the pci card), just changing the driver from radeon to fglrx, but when I type 'startx' I get this error:
Code:

(WW) fglrx: No matching Device section for instance (BusID PCI:0:11:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0:11:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found

Here are the modified device sections:
Code:

Section "Device"
        Identifier        "Radeon 9200"
        VendorName        "ATi"
        Driver                "fglrx"
        BusID                "PCI:1:0:0"
        Screen                0
EndSection

Section "Device"
        Identifier        "Radeon 9200 2"
        VendorName        "ATi"
        Driver                "fglrx"
        BusID                "PCI:1:0:1"
        Screen                1
EndSection

Section "Device"
        Identifier        "Radeon 9250"
        VendorName        "ATi"
        Driver                "fglrx"
        BusID                "PCI:0:11:0"
        Screen                2       
EndSection

Section "Device"
        Identifier        "Radeon 9250 2"
        VendorName        "ATi"
        Driver                "fglrx"
        BusID                "PCI:0:11:1"
EndSection

Changin 'Screen 2' to 'Screen 0' or 1 doesn't change anything...
Any ideas how to fix this?
Thanks

[EDIT] This is the output of lspci:
Code:

lspci | grep ATI
00:0b.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)
00:0b.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01)
01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200] (Secondary) (rev 01)

So the values are right in my xorg.conf.. anyone know why it doesn't seem to see that?


All times are GMT -5. The time now is 12:45 AM.