Click to See Complete Forum and Search --> : Dual Monitors


Nekopa
10-05-2001, 08:38 AM
Hi All!
Has anyone had any luck setting up two monitors for use in Linux? I tried to use the Xinerama HOWTO and for some reason it has completely screwed up my X window config. Even when I restored my original config (I back up everything now ;) ) X still wouldn't load. I had to run XfreeSetup to get my main monitor to work again. Are there any other config files around for X that are not in /etc/X11 ?

I pulled out the video cards and tried to set them up one by one, so I could record their settings, but I couldn't get my S3 Trio3d/2d to work at a decent resolution, tho in windows it works at 900.700 (Or somthing near that) at 16BP. What would happen is that X would crash saying that it found no usable screen. Going through the logs I saw that it was trying to load a vga driver. but there is no reference to a vga driver in my config files! Where was X getting this information from.

I have a Voodoo3 on PCI and Trio3D/2D on AGP. The kernel is compiled with AGP support,

Any tips or hint would be very cool, as I miss my 2 monitors :(

Lee

optech
10-05-2001, 02:06 PM
here's what i did: (and i'm going to write an NHF soon)

-set up a working xf86config file for each card at the proper resolution. (back them up! if your dual config is messed, you will want something to fall back on!!)
-copy the device/screen/monitor sections from one file to the other (add them to their respective places in the file)
-get your busid's for your cards, and add them to the device section (there's an example under the default VGA device of how to add BusIds)

in the server section you will want:

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1" leftof "Screen 2"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection


the "leftof" part can be replaced with other options, but if screen 1 is your left monitor and your other monitor is beside it to the right, then that's what you'll want... see the X doc for other options here.

try startx and see if it works...
there may be some bugs to iron out, but if your computer beeps twice and both monitors flash to life, then you're set!

one thing i've noticed though is that you can't move applications from one monitor to the other... i'm sure there is a fix for this, but i have not seen one yet...

[ 05 October 2001: Message edited by: optech ]