You are not logged in.

#1 2011-03-23 19:56:36

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

[SOLVED]Triple Monitors Xorg with AMD&NVIDIA: XRANDR and Xinerama...

Hello,

I'm trying to set up a tri monitor setup. Unfortunately I must use 2 cards, one an AMD HD4350 and a PCI Geforce FX200. (Old skool I know)

Due to the restrictions, I am forced to use the open source drivers (else nvidia glx will clash).

As I see it, I have 2 solutions available to me:

1: Use XRANDR to span the displays (this is what I did previous to the introduction of the third monitor and nvidia card to my system)
I tried to do this, by setting up a second X screen on the NVIDIA card, disabling Xinerama; but after much googling I can't figure out the syntax for panning across 2 screens (X screens) in XRANDR, even tho it's >1.3, which supposedly supports multi card output.

2:Use Xinerama, sacrificing randr, and composite extensions.
I also attempted to do this, with some limited success. I could get the NVIDIA screen to be right of the ATI, but I couldn't get 2 independent outputs running on the ATI card, even with "ZapohHeads" appended to one of the device sections for my ATI card.

Any suggestions to how I can sort this?

I'm amazed there's not a way to have mixed nvidia/radeon on X11 in 2011.

Thanks,

Chris.

EDIT:

It turns out the xrandr multi card output is an urban myth.

I went the Xinerama route, I've pasted my xorg.conf below.

Section "ServerLayout"
    Identifier     "Hand Configured"
    Screen 0  "LeftScreen" 0 0
    Screen 1 "MiddleScreen" RightOf "LeftScreen"
    Screen 2 "RightScreen"  RightOf "MiddleScreen"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
    Option "Xinerama" "ON"
    Option "RandR" "false"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load           "glx"
    Load           "record"
    Load           "dbe"
    Load           "dri"
    Load       "drm"
    Load           "extmod"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard       "yes"
    Option               "XkbLayout" "gb"
EndSection


Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    Modeline "1280x1024@75" 156.43 1280 1312 1904 1936 1024 1043 1056 1076
    Modeline "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
    ModeLine       "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    Modeline "1280x1024@75" 156.43 1280 1312 1904 1936 1024 1043 1056 1076
    Modeline "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
    ModeLine       "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    Modeline "1280x1024@75" 156.43 1280 1312 1904 1936 1024 1043 1056 1076
    Modeline "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
    ModeLine       "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "radeon"
    Option "AccelMethod" "EXA"
    Option "DRI" "on"
    Option "ColorTiling" "on"
    #Screen 0
#    Option "ZaphodHeads" "DVI-0"
    BusID "PCI:01:00:0"
#    Option "DynamicPM" "on"
#    Option "ClockGating" "on"
EndSection

Section "Device"
    Identifier     "Card1"
    Driver         "radeon"
    Option "AccelMethod" "EXA"
    Option "DRI" "on"
    Option "ColorTiling" "on"
    Screen 1
    Option "ZaphodHeads" "DVI-0"
    BusID "PCI:01:00:0"
#    Option "DynamicPM" "on"
#    Option "ClockGating" "on"
EndSection

Section "Device"
    Identifier "nvidia card"
    Driver "nouveau"
    BusID "PCI:3:5:0"
    #Screen 1
EndSection

Section "Screen"
    Identifier     "LeftScreen"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth 24
    SubSection     "Display"
        Depth       24
    Modes "1280x1024"
    #Virtual 2560 1024
    EndSubSection
EndSection

Section "Screen"
    Identifier     "MiddleScreen"
    Device         "Card1"
    Monitor        "Monitor1"
    DefaultDepth 24
    SubSection     "Display"
        Depth       24
    Modes "1280x1024"
    #Virtual 2560 1024
    EndSubSection
EndSection

Section "Screen"
    Identifier "RightScreen"
    Device "nvidia card"
    Monitor "Monitor2"
    DefaultDepth 24
       SubSection     "Display"
          Depth       24
        Modes "1280x1024"
        #Virtual 2560 1024
    EndSubSection
EndSection

Last edited by kernel_geek (2011-03-24 18:44:26)

Offline

Board footer

Powered by FluxBB