You are not logged in.

#1 2014-11-06 17:25:31

naquad
Member
Registered: 2010-02-27
Posts: 11

xrandr --setprovideroutputsource 1 0 in xorg.conf

Hi.

I've got 2 ATI video cards and I would like to expand workspace on all 4 connected monitors. I've been using Xinerama before, but because of its flaws I would like to move to XRandr.
I've managed to make it work from CLI:

xrandr --setprovideroutputsource 1 0

xrandr --output DVI-0 --auto --right-of DVI-1
xrandr --output DVI-1-2 --auto --left-of DVI-1
xrandr --output DVI-1-3 --auto --left-of DVI-1-2

That works. Now I'm trying to put it into xorg.conf because there are issues with 4th monitor time to time (I see cloned image from DVI-1-2 while X thinks it is expanded work area).
I think that'll be eliminated if settings would be applied on X startup from config.

I've tried this in xorg.conf:

Section "Monitor"
  Identifier "DVI-0"
  Option "Primary" "true"
EndSection

Section "Monitor"
  Identifier "DVI-1"
  Option "LeftOf" "DVI-0"
EndSection

Section "Monitor"
  Identifier "DVI-1-2"
  Option "LeftOf" "DVI-1"
EndSection

Section "Monitor"
  Identifier "DVI-1-3"
  Option "LeftOf" "DVI-1-2"
EndSection

But second video card is not initialized on star, DVI-1-* outputs appear only after xrandr --setprovideroutputsource 1 0.

What should I write in xorg.conf to get the same effect?

Offline

#2 2014-11-06 19:19:29

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: xrandr --setprovideroutputsource 1 0 in xorg.conf

Can you just put the xrandr commands in a startup script somewhere? I know that when I set my machine up to use only the nVidia card in the Optimus system I have, I put the xrandr stuff in a script that executes before the login manager runs. See the Optimux Wiki setup for some options on where to place these xrandr startup scripts.

As for getting the same changes in xorg.conf, I don't know.


Matt

"It is very difficult to educate the educated."

Offline

#3 2014-11-19 22:03:01

doorknob60
Member
Registered: 2008-09-29
Posts: 404

Re: xrandr --setprovideroutputsource 1 0 in xorg.conf

I just realized we are having basically the same problem. Here's my thread: https://bbs.archlinux.org/viewtopic.php?id=190098

Which exact GPUs do you have? I have 2 Radeon HD 3450s.

Unfortunately, I haven't been able to solve this yet. The only ways I've gotten this 4 monitor setup to work is with an old version of Catalyst (in Debian, not compatible with Arch AFAIK) and in Windows.

One question though, do you have the configuration for your Xinerama setup? I'd like to try that out, but I couldn't get it working.

Offline

Board footer

Powered by FluxBB