0

I have two AMD/ATI Radeon X1300/X1550 video cards and four Iiyama 22 inch monitors with a resolution of 1680x1050 working together on Linux Mint Debian Edition with a simple script that runs on startup:

xrandr --setprovideroutputsource 1 0
xrandr --output DVI-1-0 --mode 1680x1050                 --pos 0x0
xrandr --output VGA-1   --mode 1680x1050 --rotate normal --right-of DVI-1-0 --primary
xrandr --output DVI-1   --mode 1680x1050 --rotate right  --above    VGA-1
xrandr --output VGA-1-0 --mode 1680x1050 --rotate left   --left-of  DVI-1

The first line activates the second video card and the next line positions the screens as to monitors in portrait position next to each other and two monitors in landscape position below that like so:

    | |
   __ __

I would rather have the four monitors positioned next to each other, with the two portrait positioned monitors in the middle of the two landscape positioned monitors. This however seems to be a problem, both when I use xrandr or xorg config files.

When I use xrandr or the display tool the right most monitor gets out of sync when positioned right of the other three.

When I use xorg config files either the one card or the other is activated, but not both at the same time. With or without using Xinerama, it does not work. I used this to find the bus-ids of the cards:

# lspci|grep Radeon
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV516 [Radeon X1300/X1550 Series]
01:00.1 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] RV516 [Radeon X1300/X1550 Series] (Secondary)
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV516 [Radeon X1300/X1550 Series]
08:00.1 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] RV516 [Radeon X1300/X1550 Series] (Secondary)

And put these files in /usr/share/X11/xorg.conf.d to position them from right to left:

20-ati.conf
30-0-landscaperight.conf
30-1-portraitright.conf
30-2-portraitleft.conf
30-3-landscapeleft.conf
90-serverlayout.conf

20-ati.conf The funny thing in the configuration below is, that if I change the BusID's from the first two entries with the last two, the left two monitors work instead of the right two. So this confirms that the BusID's work, but not all four together:

Section "Device"
  Identifier "ati0vga"
  Driver     "radeon"
  BusID      "PCI:08:00:0"
  Screen     0
EndSection

Section "Device"
  Identifier "ati0dvi"
  Driver     "radeon"
  BusID      "PCI:08:00:1"
  Screen     1
EndSection

Section "Device"
  Identifier "ati1vga"
  Driver     "radeon"
  BusID      "PCI:01:00:0"
  Screen     2
EndSection

Section "Device"
  Identifier "ati1dvi"
  Driver     "radeon"
  BusID      "PCI:01:00:1"
  Screen     3
EndSection

30-0-landscaperight.conf As you can see in this and the next three configs I experimented with setting the viewport and a virtual desktop. But with our without: only those that are connected to the first two entries in the 20-ati.conf configuration are activated.

Section "Monitor"
  Identifier  "VGA-1"
  VertRefresh 60
  Modeline      "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
  Option "dpms" "on"
EndSection

Section "Screen"
  Identifier   "LandscapeRight"
  Device       "ati0vga"
  Monitor      "VGA-1"
  DefaultDepth 24
  Subsection   "Display"
    Depth       24
#    Modes       "1680 1050"
#    ViewPort    3880 0
#    Virtual     5460 1680
  EndSubSection
EndSection

30-1-portraitright.conf

Section "Monitor"
  Identifier  "DVI-1"
  VertRefresh 60
  Modeline      "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
  Option "dpms" "on"
EndSection

Section "Screen"
  Identifier   "PortraitRight"
  Device       "ati0dvi"
  Monitor      "DVI-1"
  DefaultDepth 24
  Subsection   "Display"
    Depth       24
#    Modes       "1680 1050"
#    ViewPort    2730 0
#    Virtual     5460 1680
  EndSubSection
  Option "Rotate" "right"
EndSection

30-2-portraitleft.conf

Section "Monitor"
  Identifier  "VGA-1-0"
  VertRefresh 60
  Modeline      "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
  Option "dpms" "on"
EndSection

Section "Screen"
  Identifier   "PortraitLeft"
  Device       "ati1vga"
  Monitor      "VGA-1-0"
  DefaultDepth 24
  Subsection   "Display"
    Depth       24
#    Modes       "1680 1050"
#    ViewPort    1680 0
#    Virtual     5460 1680
  EndSubSection
  Option "Rotate" "left"
EndSection

30-3-landscapeleft.conf

Section "Monitor"
  Identifier    "DVI-1-0"
  VertRefresh   60
  Modeline      "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
  Option "dpms" "on"
EndSection

Section "Screen"
  Identifier   "LandscapeLeft"
  Device       "ati1dvi"
  Monitor      "DVI-1-0"
  DefaultDepth 24
  Subsection   "Display"
    Depth       24
#    Modes       "1680 1050"
#    ViewPort    0 0
#    Virtual     5460 1680
  EndSubSection
EndSection

90-serverlayout.conf As you can see, I tried this with the Xinerama option as well.

Section "ServerLayout"
  Identifier  "Main"
  Screen      0  "LandscapeRight"
  Screen      1  "PortraitRight"  LeftOf "LandscapeRight"
  Screen      2  "PortraitLeft"   LeftOf "PortraitRight"
  Screen      3  "LandscapeLeft"  LeftOf "PortraitLeft"
  EndSection

Section "ServerFlags"
#  Option "Xinerama" "1"
EndSection

So what goes wrong here? Why does everything work fine in a four quadrant setup, but not positioned next to each other?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.