No announcement yet.

2x ATI 5670 & 3 Monitors - How?

  • Filter
  • Time
  • Show
Clear All
new posts

  • 2x ATI 5670 & 3 Monitors - How?

    Hi All,

    I have done a bit of googling on this, but haven't found a solution yet (just dissatisfied 'customers'). What I would like to be able to do is run 3 monitors on 2 ATI 5670's.

    So far I got 2 of the monitors working on one card with fglrx, but the driver doesn't seem to find the other card (just says unknown on the 3rd monitor.)

    Is there some switch I missed? Or do I need to go over to the open source driver?

    Anyone got experience with a 3 Monitor/2 ATI card setup?

  • #2
    Have you already managed to have X working with each monitor at a single time?

    I know how to have triple head using 2 ATI cards using xinerama (no direct rendering), but I guess eyefinity enabled cards can do triple head with direct rendering. At least, that's what I see in this video:


    • #3
      Ok. Figured it out. After a quick 'sudo aticonfig --adapter=all --initial' I got the second card working.

      The only thing is that compiz is turned off because of Xinerama (needed to drag across all three sceens). The 2D is somewhat choppy, but it's working.


      • #4
        There used to be an aticonfig option (-all ?) that was required to initialize multiple adapters. Not sure if it is still required but check the end of aticonfig --help output.

        Many Evergreen cards will drive 3 displays off a single GPU if you use a DP-to-whatever adapter for the third display.

        EDIT - looks like we crossed in the mail, never mind - glad you got it running.


        • #5
          Thanks bridgman.

          Yeah, it seems to run 3 displays now, but the latest is that it crashes X as soon as I open a window and try to click on anything.

          Not sure what is going on.


          • #6
            Ok, turning OFF xinerama seems to stop the madness. I tried opening ccc and everytime I HOVER over the window, X would crash.


            • #7
              Were those crashes before you turned off Xinerama or after ?


              • #8
                Originally posted by bridgman View Post
                Were those crashes before you turned off Xinerama or after ?
                Before. After I turned it off, everything was working fine. Found a thread that mentioned that Xinerama with more than 3 monitors will crash X (with nvidia as well).

                I now purged the fglrx driver and switched back to the open source driver. Found a xorg.conf online that someone got working with XRandR and 3 monitors. Just changed it to fit my setup and I am up and running with 3 monitors and the open source driver.


                • #9
                  bridgman, here is the link to the thread:

                  If you go down a few posts, you'll see that there are a few that have issues with Xinerama.

                  I am now realizing (never had a 3 monitor setup before) that Xinerama is a pile of poo. Not even compiz can be enabled when you have more than 2 monitors (neither ATI, nor nvidia).

                  Hopefully Wayland will give Linux the edge it really needs. X is antiquated.


                  • #10
                    Thanks. BTW if you run all 3 displays on one card you should be able to get Compiz etc..

                    I haven't tried it myself but it should all fit together pretty well. The Eyefinity GPUs let you take X up to 6 displays (on a single GPU, assuming the card has enough of the right connectors) without having to deal with multi-card issues.


                    • #11
                      Well don't forget that you would need DP then for some...


                      • #12
                        Yep, but adapters are pretty easy to find for normal resolutions.

                        My admin system showed up with a PC that only had VGA and DP connectors, along with a display that only supported DVI and HDMI (my fault, I asked for a bigger display ). There was a bit of cursing when I unpacked it and started plugging in cables.

                        I borrowed a passive DP-to-DVI dongle and everything seems to work fine.


                        • #13
                          Originally posted by gtrawoger View Post
                          Hopefully Wayland will give Linux the edge it really needs. X is antiquated.
                          I love the uninformed "Wayland will make everything better!"-hype

                          Xinerama is a very old attempt at multi-GPU-rendering from the last millenium, where multi-GPU cards didn't exist yet. It was designed to work in the use cases common during that time.
                          Basically your desktop is divided by monitors, and each GPU is responsible for all drawing operations that occur on it's own monitor.
                          This works well in cases where your applications are mostly restricted to a single monitor, but still allows you to drag a window to a different monitor when needed - the application and all it's textures and pixmaps are moved to the other GPU and it continues to run there.

                          There are limits to the solution Xinerama chooses: applications spanning multiple monitors, like fullscreen games or even a window sitting between two monitors. Now all rendering commands must be performend by both GPUs. Each GPU will only render half the window, but fillrate is rarely the bottleneck. Using Xinerama, these use cases are always *slower* with 2 GPUs than with one, which somewhat defeats the purpose of a modern multi-GPU system.

                          Then along came compositing: now your application does not live on a monitor any more, it's just a texture somewhere in video memory, waiting to be copied by the compositor. Which of the GPUs should be responsible?
                          And the compositor is a fullscreen application with all the caveats listed in the previous paragraph.

                          Xinerama was never meant to satisfy these use cases, it is the wrong solution, and it's not surprising that nobody really cares to maintain it or to fix bugs that arise from compositing. In fact, Xinerama is officially deprecated.
                          (that said, your specific bug is already fixed.)

                          Back my favourite topic, Wayland. Wayland will magically solve everything, bring world peace and give us free puppies.
                          Unfortunately, it doesn't even have a multi-GPU solution. None at all. Works even less than Xinerama.

                          Yes, linux needs a good multi-GPU solution that satisfies modern needs, but this is anything but trivial. There have been some attempts to hack something up, but it's a lot of work to get all the corner cases right, and AFAIK it's not high on the priority lists of any major contributor.
                          It's likely that any multi-GPU solution would end up somewhere in the DRI stack, thus outside of X or Wayland. If a multi-GPU solution arrives in the future, it can be expected to work equally well for both display systems.

                          Now you know why your specific setup cannot work as well as you hope, why it won't work as well as you hope for the near future, and why wayland really shouldn't give you any hope at all. Did I manage to spread some christmas cheer

                          (seriously: get an active (!) DP->DVI adapter and toss out the second GPU, it'll make things way easier for you.)


                          • #14
                            @bridgman: My cards are two Sapphire HD5670's, with 1x D-SUB, 1x DVI-I and 1x HDMI out. Not sure if I can make a Display Port setup on that work. Then again, I got these cards for $75 each, so I am not complaining.

                            @rohcQaH: Boy, you sure know how to crush someones dreams.

                            Just kidding. I do appreciate the informative response. I kinda know that Wayland isn't even close to being ready to replace X. I read up on Xinerama as well with all this, and noticed that even at it's height it was just a stopgap solution.

                            But my comment about Wayland was more directed at the hope that if the developers are going to go through all this work, they may look at this issue and find a more elegant solution. Here is to hoping! Maybe 5 years from now I get to have 3 monitors and compiz at the same time.


                            • #15
                              Yep, you're right. I was about to type something along the lines of "I thought all the Evergreen cards had a DP connector" but then I remembered that I picked exactly the same card (Sapphire 5670 with VGA/DVI/HDMI) for my home system.

                              Guess you can ignore everything we said about display port adapters