PDA

View Full Version : Yet another radeonhd dualhead thread


conholster
05-06-2009, 01:19 AM
Hi,

having some problems setting up dualhead with radeonhd.

ATI Radeon HD3850 PCI-E

24" LG Flatron 1920x1200 <-- main monitor
20" Samsung SM206BW <-- extended

Kernel 2.6.30rc4 from here (http://kernel.ubuntu.com/~kernel-ppa/mainline/)
xserver-xorg-video-radeonhd 1.2.5+git from here (https://launchpad.net/~tormodvolden/+archive/ppa)

Kubuntu 9.04

xorg.conf


Section "Monitor"
Identifier "Flatron"
ModeLine "1920x1200" 154.0 1920 1968 2000 2080 1200 1203 1209 1235
Option "PreferredMode" "1920x1200"
Option "DPMS"
#Option "RightOf" "Samsung"
DisplaySize 508 317 #dpi 96
EndSection

Section "Monitor"
Identifier "Samsung"
ModeLine "1680x1050" 119.0 1680 1728 1760 1840 1050 1053 1059 1080
Option "PreferredMode" "1680x1050"
Option "DPMS"
Option "RightOf" "Flatron"
DisplaySize 444 277 #dpi 96
EndSection

Section "Device"
Identifier "ATI Radeon HD3850"
Driver "radeonhd"
Option "AccelMethod" "exa"
Option "DRI" "on"
Option "Monitor-DVI-0" "Flatron"
Option "Monitor-HDMI-0" "Samsung"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Flatron"
#Monitor "Samsung"
Device "ATI Radeon HD3850"
SubSection "Display"
Depth 24
Virtual 3600 1200
EndSubSection
EndSection

Section "ServerFlags"
Option "DontZap" "True"
EndSection



Output from xrandr


Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 3600 x 1200
DVI-I_1/digital connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 60.0*+
1600x1200 60.0 59.9
1680x1050 59.9
1280x1024 74.9 75.0 59.9
1280x960 74.9
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
DVI-I_1/analog disconnected (normal left inverted right x axis y axis)
TV_7PIN_DIN disconnected (normal left inverted right x axis y axis)
DVI-I_2/digital connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 433mm x 271mm
1680x1050 59.9*+
1280x1024 75.0 59.9
1280x960 59.9
1152x864 75.0 74.9
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 66.7 60.0
720x400 70.1
DVI-I_2/analog disconnected (normal left inverted right x axis y axis)


When I bootup both monitors have 1680x1050 resolution and monitors are in clone mode (both show same picture) but when I run the commands


xrandr --output DVI-I_1/digital --left-of DVI-I_2/digital
xrandr --output DVI-I_1/digital --mode 1920x1200
xrandr --output DVI-I_1/digital --left-of DVI-I_2/digital


dualhead works... What do I add to xorg.conf so I dont have to run commands everytime I login?

signor_rossi
05-06-2009, 03:34 AM
Since you use Kubuntu look for a file named 'Xsetup' related to kdm ('locate Xsetup' in konsole). On Arch it is under '/usr/share/config/kdm/Xsetup', you put the xrandr commands in there (don't forget the '&' at the end of each command). But since you use Kubuntu there is a possibility that this is done completely different, you might double check on the Ubuntu forums first.

SignorRossi.

Blue Beard
05-06-2009, 08:11 AM
Your "Monitor-xxx" options don't use the outputs listed by xrandr.

For example: Option "Monitor-DVI-I_1/digital" "Flatron"

conholster
05-06-2009, 11:29 AM
Thanks for the help guys! Both suggestions worked :D