Skip to content

Need a little help with my triple-head xorg configuration

Recently I decided to make the switch from AMD's proprietary catalyst/fglrx driver to the open source radeon driver. In short, I'm sick of dealing with poor/incomplete Linux support by companies like AMD (not to mention I won't stand for any more random X server freezes that cause me to lose all my work; the log file always cites the same line within some piece of AMD source code that I can't diagnose, modify, or report with any reasonable chance of seeing the problem fixed). I'm not using any 3D-heavy applications on Linux anyway, so I figure the right move is to start using the open source drivers.

Uninstalling and installing the drivers was easy. More difficult is getting the X configuration just right. I'm running three monitors off of my Radeon HD 5750: two off the VGA ports, and one off the DisplayPort (this being one of the supported triple-head configurations). All three monitors have 1280x1024 resolution, so the total resolution should be 3840x1024. Setting up a proper triple-monitor configuration on the proprietary driver was relatively trivial: just use AMD's graphical tool and have it save out to xorg.conf. Worked just fine. Unfortunately, now I have to set up the multihead configuration manually and no matter what I do, I can't even get things working like they were before.

At first I tried modifying my old xorg.conf file, just modifying the Driver line to say radeon rather than fglrx. Inexplicably, this gave me cloned output (where all three monitors show the same 1280x1024 image). Not helpful. Here's my old xorg.conf file: http://pastebin.ca/2085389

Then I used KDE's monitor configuration tool, which is entirely capable of producing a working, perfect triple head configuration. Unfortunately, it only changes things on a per-session basis (and it doesn't touch the login manager so it's still cloned 1280x1024). I'd really prefer to have this in my xorg.conf file, as before.

So, I looked out on the interwebs for instructions on how to set up a multihead configuration. I wrote my own xorg.conf file using a few different pages' instructions, but no matter which set of instructions I tried to follow, I always ended up with cloned output. As usual, the dumb old X server acts like nothing is wrong and doesn't give me any helpful diagnostic information on why my configuration is wrong. (The day when Wayland replaces X and all its archaic baggage can't come soon enough; hopefully its way of configuring monitors won't be as head-bashingly terrible as X's.)

At one point, I managed to find a way of configuring my xorg.conf file that didn't result in cloned output; instead, this one made a 1280x1024 output on my middle monitor with nothing on the left or right ones (no idea why). It's closer to being the right thing, but I have no idea how to tweak it to get there and X isn't helping me out. Here's this xorg.conf: http://pastebin.ca/2085419

Does anyone know how to work from either of these configuration files to get the output I want? Or have a really good resource on how to set up multihead X configurations using open source drivers that might actually work for me? I can provide Xorg log files or other information if it would be helpful. Thanks!

11 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
11 · 100% up
Kind
Text
ID
kvsfm

Author

1
posts
0
comments
0
media
View profile

7 comments

I'd see what happens if you get rid of your xorg.conf, and use xrandr to configure the monitors on startup. For a frontend for xrandr try lxrandr

6 points

yeah, this. I ran into some trouble with the KDE tool, and ultimately went for a simple "xrandr --output x --auto --right-of y" (where y = mail display, x = additional display) in a /etc/X11/Xsession.d/ file.

1 points

I had to use xrandr for my dual-head setup, but my problem is that I can't find a way to get my script to run when SLiM runs, so SLiM loads a "basic" X based on xorg.conf and so it looks like crap (the aspect ratio isn't even right). Is there a way to do this?

1 points

Take a look at /var/log/Xorg.0.log and see if there's anything in there about why your configuration didn't work as expected.

2 points
unknown author1 hidden

first of all, don't use xorg.conf anymore, devices are detected and utilized on the fly, and don't use Xinerama. Both are obsolete.

here's my multihead xrandr in my ~/.xinitrc:

xrandr --output VGA-0 --mode 1280x1024 --output HDMI-0 --mode 1600x900 --pos 1280x124

I positioned the HDMI monitor so their bottom pixels lined up.

1 points

Yeah, that works fine for simple 2-head things. XRandR has Problems(TM) with multiple video cards...

I've got a 4-head zaphod mode setup with 2 video cards, and trying to configure it with xrandr is impossible.

You are correct that xorg.conf itself is "obsolete." You can chop xorg.conf up into pieces now, so there's no reason to have one big file. Everything in /etc/X11/xorg.conf.d/ gets pieced together, and Xorg is smart enough to auto-detect inputs and fill in stuff like "Display" subsections.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.