You are not logged in.

#1 2008-12-22 15:25:07

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

[solved] Dual Monitor Layout with xrandr - Landscape and Portrait

So here is the setup:

Radeon X1300 w/ 2 DVI connectors.

Monitor 1 (on the left): 1680x1050
Monitor 2 (on the right): 1920x1200

What I want:

+-----+--------+
|  1  |    2   |
|     |--------+
|-----|

Monitor 1 in Portrait Mode
Moniotor 2 in Landscape Mode

Currently I am using the xf86-video-ati driver and trying to use xrandr. Can anyone help me with configuring this?
Is this even possible with xrandr? Or should I try the catalyst driver?

Output from xrandr

DVI-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
   1680x1050      59.9*+
   1600x1024      60.2  
   1400x1050      60.0  
   1280x1024      75.0     60.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8  
   1152x864       75.0     75.0     75.0     70.0     60.0  
   1024x768       75.1     75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     75.0     60.0     59.9  
   720x400        70.1  
DVI-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200      60.0*+
   1600x1200      60.0     60.0  
   1680x1050      60.0     60.0  
   1600x1024      60.2  
   1400x1050      74.8     70.0     60.0  
   1280x1024      75.0     60.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8  
   1152x864       75.0     75.0     75.0     70.0     60.0  
   1024x768       75.1     75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     75.0     60.0     59.9  
   720x400        70.1

Last edited by timetrap (2008-12-22 19:08:14)

Offline

#2 2008-12-22 16:57:53

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [solved] Dual Monitor Layout with xrandr - Landscape and Portrait

You could try arandr in the AUR, I find it's handy for setting up the right xrandr command.

Offline

#3 2008-12-22 19:05:38

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: [solved] Dual Monitor Layout with xrandr - Landscape and Portrait

Thanks for your help!

I installed arandr and was using it to setup my desktops. I ended up adding the following info to my xorg.conf

Section "Screen"
    ...
    SubSection "Display"
                Virtual   3000 1700
                ...

The last bit. "Virutal: is what I added. you need to take the maxium width of both screens and add them up. Then take the largest width of the two and use it for the second number.

1050 + 1920 = 2970

1680 > 1200 = 1680

Then due to a wierd bug in arandr [don't let the two screens touch in the GUI], I had ended up rounding off the numbers to:

3000 1700

Except now I have run straight into this this bug.

Marked as solved. Thanks again.

Last edited by timetrap (2008-12-22 19:38:19)

Offline

#4 2008-12-22 19:37:44

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: [solved] Dual Monitor Layout with xrandr - Landscape and Portrait

Update:

I fixed the slow bug in the radeon driver. (mentioned in my last post)

Whenever the xf86-video-ati (aka radeon) driver encouters a rotated screen the it becomes PAINFULLY slow.

so I added the following to my xorg.conf:

Section "Device"
...
       Option          "AccelMethod"   "EXA"
...

I am seeing much better speeds now.

Offline

#5 2009-05-13 16:21:41

alennon
Member
From: Dublin, Ireland
Registered: 2009-01-13
Posts: 15

Re: [solved] Dual Monitor Layout with xrandr - Landscape and Portrait

Thanks timetrap.

I was having a similar problem after deciding to switch to the opensource drivers due to the move of catalyst from the repos to AUR. I have two 1280x1024 monitors. To get it working I had to set virtual to 2 x 1280 and 2x1024 giving:

Virtual    2560  2048

I am currently using gnome which incorporates a display utility for controlling xrandr and this didn't seem to have a problem with rounding.

A nice spin-off of my move to the opensource driver is that I can now run compiz in side by side mode---the catalyst drivers would only let me run catalyst in dual head when I had it set up as over-under (this led to some novel mental habits being developed to  navigate my horizontally arranged monitors which must now be gladly unlearned :-) ).

My frame rate from glxgears has dropped slightly (from a little over 1000 to just over 900 which I think I can live with as this is my work desktop so no gaming required).

Last edited by alennon (2009-05-13 16:22:06)

Offline

#6 2009-05-13 16:49:05

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: [solved] Dual Monitor Layout with xrandr - Landscape and Portrait

It took me a little while to figure all this stuff out. I am glad it helped.

Offline

Board footer

Powered by FluxBB