How to define dual monitors with radeon driver (OpenSuse 12.2M4)

On Opensuse 12.2, M4, the proprietary ATI fglrx driver for my Radeon 6540 is incompatible with the last xorg-server, v. 1.12 (see bug nr. 761939). So I start with nomodeset, and hence with the radeon driver, which gives me a graphical login screen, but only on one monitor, not on the two I have. The KDE “System settings” report I don’t have a dual monitor setup, which is not true.
Is there a way to set up dual monitor use with this driver? Preferably without creating an xorg.conf by hand, as explained in X.Org/Dual Monitors - Gentoo Linux Wiki (at the moment, there is no xorg.conf in /etc/Xorg/).

Any ideas? Thanks!

You’re running Milestone 4, that’s considered unstable. Things like this are likely to happen. If you didn’t know this, please download and install 12.1, which is the latest stable release. If this was on intention, please let know as well, I will be moving your post to Prerelease/Beta.

Thanks for such a quick reply.
It was on intention, I have a stable 12.1 running on a raid-5 assembly on the same machine. This 12.2M4 etc. is for testing purposes only.

I didn’t notice the Prerelease/Beta section, my apologies…

12.1 with eyefinity is unusable. Recommend Kubuntu, as long as radeon issues aren’t solved.

This thread has noting to do with eyefinity

To restate the problem: I am unable to define dual monitors for my Radeon HD6450 on x86_64, in the (experimental) OpenSuse v. 12.2M4.
There are two lines of possible solutions:

  • get flgrx (the closed source driver of AMD) to compile on this OS-version, which so far fails on kernel 3.4. This path is taken at Bug 495 – ‘cpu_possible_map’ removal in >= 3.4-rc2(?) kernels prevents fglrx from being compiled. Progress, but no solution yet, at least not one proven to work

  • find out how the open source radeon driver supports or can support the use of dual monitors. This is the line I prefer, because - well, it’s open source. And that is where this tread gets it’s name from. I doubt if the answer in this line has got anything to to with this OS-version being experimental, but on the other hand, I’m not sure it is not.

Since the first line is being worked upon, and probably will lead to a solution, the second question remains to be answered for as far as I know.

So, if anyone…

I understand you do not want to edit the /etc/X11/xorg.conf as was noted here: http://forums.opensuse.org/english/get-technical-help-here/how-faq-forums/unreviewed-how-faq/430150-opensuse-graphic-card-practical-theory-guide-users-2.html#post2332367 (where 4 monitors were driven).

Have you tried running ‘xrandr’ from a terminal with second monitor connected ?

Indeed I’m not keen on editing xorg.conf manually. Afaik it’s use is depreciated nowadays (actually I don’t have one at the moment), and besides I think enabling a multi-monitor setup should be more user friendly than that.

xrandr doesn’t seem to see my second monitor:

xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1600 x 1200, current 1600 x 1200, maximum 1600 x 1200
default connected 1600x1200+0+0 0mm x 0mm
1600x1200 77.0*

though I’m not sure I understand the use of xrandr enough. I tried

xrandr --screen 1 --output 1 --left-of 0

but it answers

Invalid screen number 1 (display has 1)

I wouldn’t say its depreciated, rather that its a case that Xorg has moved, away from requiring a xorg.conf file, to an automatic configuration of hardware. However, to address cases where “automagic” configuration fails, users can:

  •  tailor configurations via the particular .conf files contained in     the /etc/X11/xorg.conf.d/ directory, or 
    
  •  similar as to the case in the past, fall back to the classic/legacy     method of using an xorg.conf file to set up their hardware with     their X environment 
    

The Xorg configuration precedence is:xorg.conf file (if specified) > /etc/X11/xorg.conf.d/nn-yyyyy.conf files (if specified) > automatic Xorg configuration

(actually I don’t have one at the moment), and besides I think enabling a multi-monitor setup should be more user friendly than that.
Absolutely! Unfortunately, for whatever reason, the automagic configuration of your hardware has not worked.

xrandr doesn’t seem to see my second monitor:

xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1600 x 1200, current 1600 x 1200, maximum 1600 x 1200
default connected 1600x1200+0+0 0mm x 0mm
   1600x1200      77.0*                      

I don’t think its so much a case of not seeing the 2nd monitor; rather, I suspect its a case of improper detection and configuration of your video adapter (i.e. your Radeon 6540 device). I see several things of notoriety in your console output for the xrandr command:

  • its detecting only one output on the device, which it resorts to calling it “default” … if things were properly detected you would have seen outputs like VGA-0, DVI-0 or such, as well as details for each respective output detected on the adapter
  • the “failed to get size of gamma” for the one and only output it detects
  • and the rather strange refresh rate of 77.0 that is being used for the display … maybe this is correct, I don’t know, but it strikes me as incorrect – digital connections are usually 60.0 and analog, like VGA, typically default to 75 … because autoconfig has resulted in providing the output a default name of “default”, only you currently can tell us whether this is a VGA or DVI or HDMI output :wink:

though I’m not sure I understand the use of xrandr enough. I tried

xrandr --screen 1 --output 1 --left-of 0                      

but it answers

Invalid screen number 1 (display has 1)                      

You would want to use --screen 0 … the two displays are constituted within the one x session (screen 0) … just as an FYI, using a screen 1 would be applicable for other setups (such as running dual video adapters, necessitating two x sessions; multi-seat …)

In any regard, you will have to get the second output on the 6540 working. I’m not an xrandr expert, so perhaps someone else can help you configure it … (I prefer to use the Krandr GUI app … which I believe you already utilized via KDE’s “System settings” > Hardware > Display and Monitor )

To elaborate a bit about the configuration of the X environment, I will re-write what I wrote above by amending it with somewhat paraphrased content from elsewhere:

                 xorg.conf isn't and has never been obsolete.  Rather, Xorg has moved, away from requiring a xorg.conf file, to an automatic configuration of hardware. However, to address cases where "automagic" configuration fails, or when the customization of particular environment settings or features are desired, users can:
  • tailor configurations via the particular .conf files contained in the /etc/X11/xorg.conf.d/ directory, or
  • similar as to the case in the past, fall back to the classic/legacy method of using an xorg.conf file to set up their hardware with their X environment

What’s obsolete is the default approach, and need, of using an everything-including-the-kitchen-sink xorg.conf file. Now you can use xorg.conf.d and create just the section where you’re configuring something. Everything else is autodetected (unless you want to customize those things too and then you can include those in xorg.conf.d as well, as you now have the flexibility of multiple config files). The idea is the same, but if it makes it easier to wrap your head around it, think of xorg.conf as xorg.conf.d/99-something.conf

So, for example, say it’s disabling your video driver’s use of SwapBuffersWait that you’re interested in doing – under the new configuration method, you only need to include the Device section for the graphics driver and set it accordingly to your wishes … you create the Device section and only that – everything else is autodetected

Lastly, note that the configuration precedence for X envirnoment settings is given by:xorg.conf file (if specified)** >** /etc/X11/xorg.conf.d/nn-yyyyy.conf files (if specified) > automatic Xorg configuration

Have you seen this thread: http://forums.opensuse.org/english/get-technical-help-here/tumbleweed/475575-warning-kernel-3-4-amd-catalyst-12-4-not-compatible.html in particular post#8 where this is guidance from a user who managed to get the proprietary AMD driver to work with the 3.4 kernel.

… I know its not the radeon driver that you were asking about, but i don’t know a radeon driver solution as I also do not know xrandr well enough .

Does that mean jehojakim should try:


xrandr --screen 0 --output 1 --left-of 0

… I’m just asking … I confess I don’t know xrandr well (as I’ve never had to use it much … as typically it ‘just works’ for me without any custom arguments).

Umm, better late then never!! :stuck_out_tongue:

If he were to need to pass the --screen option then, yeah, that would represent the general form of the command – with the big caveat being provided that things were configured correctly.

However (and while I’m not bothering to re-read the problem carefully)

  • I don’t think it was a case of multiple “Screens” being used within the X “Display” (for a little bit of clarification, see the conceptual description and crude diagram here: http://forums.opensuse.org/english/get-technical-help-here/hardware/478678-not-getting-multi-monitor-work-new-workstation-need-help-stat-please.html#post2488920). So, the “–screen” option wouldn’t have been necessary (though would have been harmless if it was correctly passed along).
  • But he more important issue was the “–output” names … 1 and 0 would be problematic; as as they aren’t even defined / known … so, randr wouldn’t have helped to get the problem solved … it would have been like trying to force a square peg into a round hole … (I believe I missed that pt. first time round).

Let me be a little clearer about that: the general form would have been:

xrandr --screen 0 --output *some_output_name* --left-of *some_other_output_name*

But, as I said, the “–screen 0” would be redundant (as the default case is “Screen 0”), and the command wouldn’t have done anything because the outputs he was trying to configure weren’t even known/setup/defined themselves to begin with.

In other words, the root of the problem lies further upstream then what randr is capable of solving … randr is dependent upon those outputs to be existent (i.e. for xorg to recognize/configure/set them up) before randr can apply its configurations

Hi, i have exactly the same problem, i tried reading through the replies to this post but non of them helped. can anyone help me on this?

Hi
This is an old thread from a milestone version of 12.2. Please start a new thread with details of the hardware, GPU and openSUSE version as well as the desktop environment your using.