Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with triple head setup
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
503e2
n00b
n00b


Joined: 03 Feb 2014
Posts: 4

PostPosted: Mon Feb 03, 2014 1:16 pm    Post subject: Problems with triple head setup Reply with quote

Hi,

I got a few problems with my triple head setup using gnome:
2 monitors and a tv connected to a AMD Radeon HD6870
Dell U2412M connected via display port (primary screen, 1920x1200)
Dell 2007FP connected via DVI (secondary screen, right of primary, 1600x1200)
Samsung TV connected via HDMI (1920x1080)

The two Dell screens should display the gnome desktop (DISPLAY=:0.0) and the tv should be a second screen for XBMC (DISPLAY=:0.1, so that XBMC can change the refresh rate of the tv to match the video, no gnome/desktop). I got it sort of working but there are still some problems:

When X starts without the tv running the gnome desktop looks like I want it to on the two monitors (top bar only on the primary screen, maximized windows not spanned across both monitors, windows draggable from one monitor to the other).
When X starts with the tv running everything gets spanned across both monitors (i.e. they act as one big monitor). Is it possible to make gnome/X behave as above in that case?

Additionally when X starts without the tv being on and I later turn on the tv it isn't a separate screen but displays the same image as the primary screen. Is there any way to change that, without having to restart X/gdm every time?

Im using gnome 3.8 and ati-drivers (fglrx) 13.9. The xinerama use flag is not set and my xorg.conf was created by amdcccle (I only modified the identifiers).

Any help is much appreciated :wink:

Code:
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
   Identifier     "Layout1"
   Screen      0  "primary_screen" 1920 0
   Screen         "tv_screen" 0 0
EndSection

Section "Monitor"
   Identifier   "dp"
   Option       "VendorName" "DELL"
   Option       "ModelName" "UltraSharp U2412M"
   Option       "DPMS" "true"
   Option       "PreferredMode" "1920x1200"
   Option       "TargetRefresh" "60"
   Option       "Position" "0 0"
   Option       "Rotate" "normal"
   Option       "Disable" "false"
EndSection

Section "Monitor"
   Identifier   "hdmi"
   Option       "VendorName" "Samsung"
   Option       "ModelName" "UE42C7700"
   Option       "DPMS" "true"
   Option       "PreferredMode" "1920x1080"
   Option       "TargetRefresh" "60"
   Option       "Position" "0 0"
   Option       "Rotate" "normal"
   Option       "Disable" "false"
EndSection

Section "Monitor"
   Identifier   "dvi"
   Option       "VendorName" "DELL"
   Option       "ModelName" "UltraSharp 2007FP"
   Option       "DPMS" "true"
   Option       "PreferredMode" "1600x1200"
   Option       "TargetRefresh" "60"
   Option       "Position" "1920 0"
   Option       "Rotate" "normal"
   Option       "Disable" "false"
EndSection

Section "Device"
   Identifier  "primary_device"
   Driver      "fglrx"
   Option       "Monitor-DFP1" "dp"
   Option       "Monitor-DFP7" "dvi"
   BusID       "PCI:1:0:0"
EndSection

Section "Device"
   Identifier  "tv_device"
   Driver      "fglrx"
   Option       "Monitor-DFP5" "hdmi"
   BusID       "PCI:1:0:0"
   Screen      1
EndSection

Section "Screen"
   Identifier "primary_screen"
   Device     "primary_device"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Virtual 3540 1200
      Depth     24
   EndSubSection
EndSection

Section "Screen"
   Identifier "tv_screen"
   Device     "tv_device"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Code:
$ xrandr -v
xrandr program version       1.4.1
Server reports RandR version 1.4

Code:
$ DISPLAY=":0.0" xrandr
Screen 0: minimum 320 x 200, current 3520 x 1200, maximum 3540 x 1200
DFP1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0 
   1600x1200      60.0 
   1680x1050      60.0 
   1400x1050      60.0 
   1600x900       60.0 
   1360x1024      60.0 
   1280x1024      60.0 
   1440x900       60.0 
   1280x960       60.0 
   1280x800       60.0 
   1280x768       60.0 
   1280x720       60.0 
   1024x768       60.0 
   800x600        60.3 
   640x480        59.9 
DFP2 disconnected (normal left inverted right x axis y axis)
DFP3 disconnected (normal left inverted right x axis y axis)
DFP4 disconnected (normal left inverted right x axis y axis)
DFP5 disconnected (normal left inverted right x axis y axis)
DFP6 disconnected (normal left inverted right x axis y axis)
DFP7 connected 1600x1200+1920+0 (normal left inverted right x axis y axis) 367mm x 275mm
   1600x1200      60.0*+
   1400x1050      60.0 
   1600x900       60.0 
   1360x1024      60.0 
   1280x1024      75.0     60.0 
   1440x900       60.0 
   1280x960       75.0     60.0 
   1152x864       60.0     75.0 
   1280x768       75.0     60.0 
   1280x720       75.0     60.0 
   1024x768       75.0     60.0 
   800x600        75.0     60.3 
   640x480        75.0     59.9 
CRT1 disconnected (normal left inverted right x axis y axis)

Code:
$ DISPLAY=":0.1" xrandr
Screen 1: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1920
DFP1 disconnected (normal left inverted right x axis y axis)
DFP2 disconnected (normal left inverted right x axis y axis)
DFP3 disconnected (normal left inverted right x axis y axis)
DFP4 disconnected (normal left inverted right x axis y axis)
DFP5 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 708mm x 398mm
   1920x1080      60.0*+   50.0     59.9     60.1     50.0     24.0     60.0     24.0 
   1776x1000      50.0     59.9     50.0     24.0     60.0 
   1680x1050      60.0     50.0     59.9     24.0     24.0 
   1400x1050      60.0     50.0     59.9     24.0     24.0 
   1600x900       50.0     59.9     24.0 
   1360x1024      60.0     50.0     59.9     24.0     24.0 
   1280x1024      60.0     50.0     59.9     24.0     24.0 
   1440x900       50.0     59.9     24.0 
   1280x960       50.0     59.9     24.0 
   1280x768       50.0     59.9     24.0 
   1280x720       60.0     50.0     59.9     24.0 
   1024x768       50.0     59.9     24.0 
   1152x648       50.0     59.9 
   800x600        50.0     59.9 
   720x480        50.0     24.0     60.1     60.0     60.1     59.9 
   640x480        50.0     24.0     60.0     59.9 
DFP6 disconnected (normal left inverted right x axis y axis)
DFP7 disconnected (normal left inverted right x axis y axis)
CRT1 disconnected (normal left inverted right x axis y axis)
Back to top
View user's profile Send private message
503e2
n00b
n00b


Joined: 03 Feb 2014
Posts: 4

PostPosted: Tue Feb 04, 2014 12:41 pm    Post subject: Reply with quote

In the meantime I tried the radeon driver (because with that I get LPCM over HDMI).
But with that I can't get the secondary screen to work.

With the following xorg.conf only one of the monitors work (hdmi always works). When I try to turn on the other one I get this:
Code:
$ xrandr --output DVI-1 --auto --right-of DisplayPort-0
xrandr: cannot find crtc for output DVI-1


When I configure all three displays as separate devices (see # lines in xorg.conf), they all work but of course I don't get one desktop out of the two monitors.

Has anyone run into similar problems with the radeon driver?

Code:
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
   Identifier     "Layout1"
   Screen      0  "primary_screen" 1920 0
#   Screen   "secondary_screen" RightOf "primary_screen"
   Screen         "tv_screen" 0 0
EndSection

Section "ServerFlags"
   Option  "StandbyTime"  "10"
EndSection

Section "Monitor"
   Identifier   "dp"
   Option       "VendorName" "DELL"
   Option       "ModelName" "UltraSharp U2412M"
   Option       "DPMS" "true"
   Option       "PreferredMode" "1920x1200"
   Option       "TargetRefresh" "60"
   Option       "Position" "0 0"
   Option       "Rotate" "normal"
   Option       "Disable" "false"
   Option      "Primary" "true"
EndSection

Section "Monitor"
   Identifier   "hdmi"
   Option       "VendorName" "Samsung"
   Option       "ModelName" "UE42C7700"
   Option       "DPMS" "false"
   Option       "PreferredMode" "1920x1080"
   Option       "TargetRefresh" "60"
   Option       "Position" "0 0"
   Option       "Rotate" "normal"
   Option       "Disable" "false"
EndSection

Section "Monitor"
   Identifier   "dvi"
   Option       "VendorName" "DELL"
   Option       "ModelName" "UltraSharp 2007FP"
   Option       "DPMS" "true"
   Option       "PreferredMode" "1600x1200"
   Option       "TargetRefresh" "60"
   Option       "Position" "1920 0"
   Option       "Rotate" "normal"
   Option       "Disable" "false"
   Option      "Primary" "false"
   Option      "RightOf" "dp"
EndSection

Section "Device"
   Identifier  "primary_device"
   Driver      "radeon"
   Option       "Monitor-DisplayPort-0" "dp"
   Option       "Monitor-DVI-1" "dvi"
   Option      "ZaphodHeads" "DisplayPort-0,DVI-1"
   BusID       "PCI:1:0:0"
EndSection

Section "Device"
   Identifier  "tv_device"
   Driver      "radeon"
   Option       "Monitor-HDMI-0" "hdmi"
   BusID       "PCI:1:0:0"
   Option      "ZaphodHeads" "HDMI-0"
   Screen      1
EndSection

#Section "Device"
#   Identifier  "secondary_device"
#   Driver      "radeon"
#   Option       "Monitor-DVI-1" "dvi"
#   BusID       "PCI:1:0:0"
#   Screen      2
#   Option      "ZaphodHeads" "DVI-1"
#EndSection


Section "Screen"
   Identifier "primary_screen"
   Device     "primary_device"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

#Section "Screen"
#   Identifier "secondary_screen"
#   Device "secondary_device"
#   SubSection "Display"
#      Viewport 0 0
#      Depth 24
#   EndSubSection
#EndSection

Section "Screen"
   Identifier "tv_screen"
   Device     "tv_device"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Code:
$ DISPLAY=":0.0" xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 16384 x 16384
DisplayPort-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0 
   1600x1200      60.0 
   1680x1050      59.9 
   1280x1024      60.0 
   1280x960       60.0 
   1024x768       60.0 
   800x600        60.3 
   640x480        60.0 
   720x400        70.1 
DVI-1 connected (normal left inverted right x axis y axis)
   1600x1200      60.0 +
   1280x1024      75.0     60.0 
   1152x864       75.0 
   1024x768       75.1     60.0 
   800x600        75.0     60.3 
   640x480        75.0     60.0 
   720x400        70.1

Code:
$ DISPLAY=":0.1" xrandr -q
Screen 1: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080      60.0*+   50.0     24.0 
   1920x1080i     50.0     60.1 
   1280x720       50.0     60.0 
   1440x576i      50.1 
   1440x480i      60.1 
   720x576        50.0 
   720x480        59.9 
   640x480        59.9


edit: this might be important too :D
Code:
$ uname -rm
3.10.25-gentoo x86_64


edit2: I fiddled around a little bit more and it looks like there is something wrong with the way the CRTCs get allocated. When I put all three screens on one device it looks great on the desktop. xrandr gives the following then:
Code:
$ xrandr --verbose
Screen 0: minimum 320 x 200, current 5440 x 1200, maximum 16384 x 16384
DisplayPort-0 connected primary 1920x1200+1920+0 (0x5a) normal (normal left inverted right x axis y axis) 518mm x 324mm
   Identifier: 0x55
   Timestamp:  2478970
   Subpixel:   horizontal rgb
   Gamma:      1.0:1.0:1.0
   Brightness: 1.0
   Clones:   
--->   CRTC:       0
--->   CRTCs:      0 1 2 3 4 5
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   EDID:
      00ffffffffffff0010ac7aa04c484e30
      3015010380342078eaee95a3544c9926
      0f5054a1080081408180a940b300d1c0
      010101010101283c80a070b023403020
      360006442100001a000000ff00593148
      3554314250304e484c0a000000fc0044
      454c4c2055323431324d0a20000000fd
      00323d1e5311000a20202020202000f4
   dither: off
      supported: off, on
   audio: auto
      supported: off, on, auto
   underscan vborder: 0
      range: (0, 128)
   underscan hborder: 0
      range: (0, 128)
   underscan: off
      supported: off, on, auto
   coherent: 1
      range: (0, 1)
...resolutions...
HDMI-0 connected 1920x1080+0+0 (0x64) normal (normal left inverted right x axis y axis) 160mm x 90mm
   Identifier: 0x56
   Timestamp:  2478970
   Subpixel:   horizontal rgb
   Gamma:      1.0:1.0:1.0
   Brightness: 1.0
   Clones:   
--->   CRTC:       1
--->   CRTCs:      0 1 2 3 4 5
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   EDID:
      00ffffffffffff004c2d9b0601000000
      33130103805932780aee91a3544c9926
      0f5054bdef80714f8100814081809500
      950fb300a940023a801871382d40582c
      4500a05a0000001e662150b051001b30
      40703600a05a0000001e000000fd0018
      4b1a5117000a202020202020000000fc
      0053414d53554e470a2020202020017f
      020350f14b901f041305140312202122
      3b097f070d7f070f7f07617e00657e00
      677e00597e015d7e015f7e0129150755
      3d1fc0570600835f0000e2000fe30503
      016e030c001100882120d0040140073f
      023a80d072382d40102c4580a05a0000
      001e011d00bc52d01e20b8285540a05a
      0000001e0000000000000000000000e6
   dither: off
      supported: off, on
   audio: auto
      supported: off, on, auto
   underscan vborder: 0
      range: (0, 128)
   underscan hborder: 0
      range: (0, 128)
   underscan: off
      supported: off, on, auto
   coherent: 1
      range: (0, 1)
...resolutions...
DVI-0 disconnected (normal left inverted right x axis y axis)
   Identifier: 0x57
   Timestamp:  2478970
   Subpixel:   horizontal rgb
   Clones:   
   CRTCs:      0 1 2 3 4 5
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   dither: off
      supported: off, on
   audio: auto
      supported: off, on, auto
   underscan vborder: 0
      range: (0, 128)
   underscan hborder: 0
      range: (0, 128)
   underscan: off
      supported: off, on, auto
   coherent: 1
      range: (0, 1)
DVI-1 connected 1600x1200+3840+0 (0x5c) normal (normal left inverted right x axis y axis) 367mm x 275mm
   Identifier: 0x58
   Timestamp:  2478970
   Subpixel:   horizontal rgb
   Gamma:      1.0:1.0:1.0
   Brightness: 1.0
   Clones:   
--->   CRTC:       2
--->   CRTCs:      0 1 2 3 4 5
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   EDID:
      00ffffffffffff0010ac21a04c524835
      1812010380291f78eeee91a3544c9926
      0f5054a54b008180a940714f01010101
      010101010101483f403062b0324040c0
      13006f131100001e000000ff00473335
      38483836453548524c0a000000fc0044
      454c4c203230303746500a20000000fd
      00384c1e5311000a2020202020200062
   load detection: 1
      range: (0, 1)
   dither: off
      supported: off, on
   audio: auto
      supported: off, on, auto
   underscan vborder: 0
      range: (0, 128)
   underscan hborder: 0
      range: (0, 128)
   underscan: off
      supported: off, on, auto
   coherent: 1
      range: (0, 1)
  ...resolutions...

But then of course XBMC doesn't work as I want it to.
When the TV is on a separate device, both displays (ie DISPLAY=":0.1" and ":0.2") only have CRTCs: 0 and the tv and the primary screen both get CRTC: 0. But then of course there is no CRCT left for the secondary screen.
Am I doing something wrong here or is that a bug in the software? (if so, which? xrandr, x.org, radeon?)
I also tried kernel 3.13.1-gentoo but that didn't change anything.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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