ajax told me that extra wide screens now work with the latest Fedora 9 binaries for X11. So I had to try it out and after some experimenting I got it to work. To save others the work here is what I did.
- ATI FireGL V3600
- 2x Dell 3007FPW
I use the free driver, of course. No need for 3D here.
The old way to get a spanning desktop was to use Xinerama. This has been replaced by xrandr nowadays. xrandr is not just for external screens of laptops and to change the resolution. One can assign the origin of various screens and therefore display different parts of a bigger virtual desktop. This is the whole trick here. The /etc/X11/xorg.conf file I use is this:
Section "ServerLayout" Identifier "dual head configuration" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us+inet" EndSection Section "Device" Identifier "Videocard0" Driver "radeon" Option "monitor-DVI-0" "dvi0" Option "monitor-DVI-1" "dvi1" EndSection Section "Monitor" Identifier "dvi0" Option "Position" "2560 0" EndSection Section "Monitor" Identifier "dvi1" Option "LeftOf" "dvi0" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" DefaultDepth 16 SubSection "Display" Viewport 0 0 Depth 16 Modes "2560x1600" Virtual 5120 1600 EndSubSection EndSection
Fortunately X11 configuration got much easier since I had to edit the file by hand. I started from the most basic setup for a single screen which the installer or config-system-display will be happy to create for you. The important changes on top of this initial version are these:
Option "monitor-DVI-0" "dvi0" Option "monitor-DVI-1" "dvi1"
These lines in the Device section announce the two screens. It is unfortunately not well (at all?) documented that the first parameter strings are magic. If you ran xrandr -q on your system with two screens attached you'll see the identifiers assigned to the screens by the system. In my case:
$ xrandr -q Screen 0: minimum 320 x 200, current 5120 x 1600, maximum 5120 x 1600 DVI-1 connected 2560x1600+0+0 (normal left inverted right x axis y axis) 646mm x 406mm ... DVI-0 connected 2560x1600+2560+0 (normal left inverted right x axis y axis) 646mm x 406mm ...
Add to the names DVI-0 and DVI-1 the magic prefix
monitor- and add as the second parameter string an arbitrary
identifier. Do not drop or change the
monitor- prefix, that's the main magic which seems to make all this work.
Then create two monitor sections in the xorg.conf file, one for each screen:
Section "Monitor" Identifier "dvi0" Option "Position" "2560 0" EndSection Section "Monitor" Identifier "dvi1" Option "LeftOf" "dvi0" EndSection
The Identifier lines must of course match the identifiers used in the Device section. The rest are options which determine what the screens show. Since the LCDs have a resolution of 2560x1600 and since I want to have a spanning desktop and the DVI-0 connector is used for the display on the right side, I'm using an x-offset of 2560 and an y-offset of 0 for that screen. Then just tell the server to place the second screen at the left of it and the server will figure out the rest.
What remains to be done is to tell the server how large the screen in total is. That's done using
Virtual 5120 1600
The numbers should explain themselves. Now the two screens show non-overlapping regions of the total desktop with no area not displayed, all due to the correct arithmetic in the calculation of the total screen size and the offset.
Note: there is only one Screen section. That's something which is IIRC different from the last Xinerama setup I did years ago.