You are not logged in.

#1 2010-07-13 00:09:43

luskjh
Member
Registered: 2009-03-24
Posts: 19

[SOLVED] Xorg ATI RadeonHD Dual Screen Problem

Hi,

After recently reinstalling arch linux I noticed the wiki now does not support using an xorg.conf file for monitor settings, and instead tells to use the file /etc/X11/xorg.conf.d/10-monitor.conf, which, I set up as follows:


Section "ServerLayout"
    Identifier     "DualSreen"
    Screen       0 "Screen0"
    Screen       1 "Screen1" RightOf "Screen1" #Screen1 at the right of Screen0
    Option         "Xinerama" "1" #To move windows between screens
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    Option         "Enable" "true" 
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    Option         "Enable" "true"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "radeonhd"
    Screen         0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "radeonhd"
    Screen         1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    SubSection "Display"
        Depth          24
        Modes          "1024x768_75.00"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth   24
    Option         "TwinView" "0"
    SubSection "Display"
        Depth          24
    Modes        "1024x768_75.00"
    EndSubSection
EndSection

I've tried both the ati and radeonhd drivers (my graphics card being a radeon x1300), and currently the two screens mirror the same output. I've also tried changing the twinview value, but if I am correct that option is reserved for nVidia graphics cards.  Anyone see what I'm doing wrong?

Thanks,
Josh

Last edited by luskjh (2010-07-18 15:15:09)


Calm down, it is only ones and zeroes.
       -flyingfsck ( on /. )

Offline

#2 2010-07-13 04:03:19

Proofrific
Member
Registered: 2008-01-05
Posts: 215

Re: [SOLVED] Xorg ATI RadeonHD Dual Screen Problem

I don't use an xorg.conf because it automatically sets up fine.  For dual screen, I use xrandr.  For example, something like:

xrandr --output VGA1 --right-of LVDS1

Offline

#3 2010-07-13 05:33:41

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Xorg ATI RadeonHD Dual Screen Problem

Here's my xorg.conf which basically only defines the 2 monitors and also defines that the max resolution is 1680x1050. I have to do this because otherwise both monitors have a max resolution of 1280x1024 (my second monitors max res)

Section "Device"
        Identifier      "ATI Technologies HD2400XT Pro"
        Driver          "ati"
        #Option         "Monitor-DVI-0" "Monitor0"
        #Option         "Monitor-DVI-1" "Monitor1"
EndSection
Section "Monitor"
        Identifier      "DVI-0"
        Option          "DPMS" "true"
EndSection
Section "Monitor"
        Identifier      "DVI-1"
        #HorizSync      30.0 - 72.0
        #VertRefresh    50.0 - 120.0
        Option          "DPMS" "true"
        #Option         "RightOf" "DVI-0"
EndSection
Section "Screen"
       Identifier       "Default Screen"
       Device           "ATI Technologies HD2400XT Pro"
       Monitor          "DVI-0"
       DefaultDepth     24
   
       SubSection "Display"
           Depth                24
           Modes                "1680x1050" "1050x1680" "1280x1024" "1440x900" "1280x800" "1152x864" "1280x720" "1280x768" "832x624" "800x600" "640x480" "720x400"
           # ADD A VIRTUAL LINE TO PROVIDE FOR THE LARGEST SCREENS YOU WILL HOTPLUG 
           Virtual              2960 2960 
       EndSubSection
EndSection

Then in my .xinitrc I use xrandr to set up the layout of the monitors.

xrandr --output DVI-1 --auto --right-of DVI-0

HTH


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2010-07-13 13:17:22

luskjh
Member
Registered: 2009-03-24
Posts: 19

Re: [SOLVED] Xorg ATI RadeonHD Dual Screen Problem

Thanks - I'll try these when I get home.  I was just a bit wary of this:

Warning: nvidia-settings and xrandr are user friendly BUT create a xorg.conf config file, which is gradually deprecated.


Calm down, it is only ones and zeroes.
       -flyingfsck ( on /. )

Offline

#5 2010-07-13 13:23:35

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Xorg ATI RadeonHD Dual Screen Problem

luskjh wrote:

Thanks - I'll try these when I get home.  I was just a bit wary of this:

Warning: nvidia-settings and xrandr are user friendly BUT create a xorg.conf config file, which is gradually deprecated.

Deprecated, but still parsed by xorg-server. If you want, you can create a rules file which will help in monitor detection etc. (although I haven't done it -- I might look into that as well)

You confuse me a little. You say you have an ATI card, but you keep talking about nvidia - in the first post(ref - twinView) and now too. Yo do have a ATI card right?

** not that it matters for xrandr, but still, I don't like to be confused tongue


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#6 2010-07-13 17:10:22

luskjh
Member
Registered: 2009-03-24
Posts: 19

Re: [SOLVED] Xorg ATI RadeonHD Dual Screen Problem

Sorry for the confusion - yes I do have an ATI card (the one mentioned in the first post), but I wasn't sure at the time if TwinView was an exclusive  nvidia feature (which I now know), as I didn't see the distinction in the wiki (cleared up by a quick google search) and I just posted the whole quote from the wiki page, even though I was only referring to the xrandr part. 

Still at work, but will post the results once I get home.


Calm down, it is only ones and zeroes.
       -flyingfsck ( on /. )

Offline

#7 2010-07-13 18:20:30

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: [SOLVED] Xorg ATI RadeonHD Dual Screen Problem

And a little information to the drivers: there are two open source drivers and the packages are called xf86-video-ati and xf86-video-radeonhd. The last one, xf86-video-radonhd, is deprecated. Don't use it. It lacks a lot of features (radeon, radeonhd) and is no longer developed. For example it doesn't support KMS, which is enabled by default in the Arch kernel. If you want to specify the xf86-video-ati driver in the xorg.conf file you can chose between

Driver          "ati

and

Driver          "radeon"

ati is just a wrapper, so it doesn't matter which one you use. except you have a very old ati card.
If you use no xorg.conf the radeon driver will be selected.

Offline

#8 2010-07-13 21:50:20

luskjh
Member
Registered: 2009-03-24
Posts: 19

Re: [SOLVED] Xorg ATI RadeonHD Dual Screen Problem

Ok, xrandr did the trick -- thanks for all the help, Inxsible. Also, Perry -- I was wondering about that, so thanks for clearing it up smile


Calm down, it is only ones and zeroes.
       -flyingfsck ( on /. )

Offline

#9 2010-07-13 22:57:09

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Xorg ATI RadeonHD Dual Screen Problem

luskjh wrote:

Ok, xrandr did the trick -- thanks for all the help, Inxsible. Also, Perry -- I was wondering about that, so thanks for clearing it up smile

Great. Please mark the thread as solved then smile


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB