Quad Monitor With Rotation: Where There Is A Will, There Is A Way
By arnaud on Oct 02, 2009
Talking with a friend recently, he told me about his miserable experience trying to get his workstation to work with four monitors.
Now, I was surprised at first because there are lots (ok, maybe not lots, but a sizeable number) of people with quad-head workstations out there, so obviously that seems rather doable. The trick in his case seemed to be heterogeneity: 2 different dual-head cards, and 4 different monitors of different brands and sizes. Additionally, he wanted one of his widescreens tilted in portrait mode for his coding. Nice for browsing as well, but he wanted to be able to have a tall IDE to see more code at once without the need to scroll.
It took me a while just to get the equipment but to find some spare time to this as well. I ended up with the following:
- a desktop that would lend itself to the experiment
- 4 dual head videos cards to test combinations
- 4 monitors
- a free Saturday (that was actually the most difficult component to find)
To cut short, the result is ... rolling drum ... it _can_ work once you know what to do and what not to. Here is the final result:
So how do we make that work? Well, first thing is NOT to desperately cling to TwinView. You have to let go of that, fall back on good ol' XineRama which does a fine job anyway.
As I said in my previous post, rotating the monitor is only a matter of adding Option "Rotate" "left" in the relevant screen section.
For all the X options explained, I found this quite useful. Dig in there.
What you want to be careful about:
- if at first both cards are not recognized, worry not. Go to a terminal and issue the following command:
pfexec nvidia-xconfig -a
This will force the nvidia config utility to look across all cards.
Note that if this still doesn't work, issue:
and write down the PCI id for each card. It is the first number right after the pci bus 0x002. In this example, this would translate into
in the device section in xorg.conf
- look at your /var/log/Xorg.0.log for errors
- you will see something like
(II) LoadModule: "xtsol"
(WW) Warning, couldn't open module xtsol
(II) UnloadModule: "xtsol"
(II) Failed to load module "xtsol" (module does not exist, 0)
Don't worry, that's a trusted solaris extension that is hardcoded to be loaded by X even when it's not a trusted solaris OS running, this has yet to be fixed.
- make sure to enable Composite
- make sure to enable GLX with composite
- make sure to enable RandRRotation
- Check /var/adm/messages for IRQ collisions which could result in some funky discrepancies. If you find any, tweak your BIOS to force each PCI slot to a distinct IRQ. The message would look similar to:
unix: [ID 954099 kern.info] NOTICE: IRQ16 is being shared by drivers with different interrupt levels
All that said, here is an example of xorg.conf with a single monitor tilted, and everything working pretty well considering that nothing is matched. It does work but doesn't come for free as you can see. There is one drawback however, I have not been able to make Compiz work because apparently the cards would have to have an SLI link between them, but I haven't confirmed that for sure. That's it for today folks!