Xinerama setup help ... xinerama ... xinerama
Here is the stuff in pieces, in the order you would find them in a knoppix /etc/X11/XF86Config-4 file, I'll document stuff as I go, under the quoted sections...
Quote:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen "Screen0"
Screen "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
Option "xinerama"
# Serial Mouse not detected
# USB Mouse not detected
EndSection
...(snip)
- Two edits in the above section: second screen line for Screen1 and Option "xinerama" line.
Quote:
...(snip)
Section "Monitor"
Identifier "Monitor0"
ModelName "IBM 198e"
# These are the DDC-probed settings and modelines
HorizSync 31-48
VertRefresh 59-75
...(snip)
Quote:
...(snip)
Section "Monitor"
Identifier "Monitor1"
ModelName "IBM 198e"
# These are the DDC-probed settings and modelines
HorizSync 31-48
VertRefresh 59-75
...(snip)
- these are NOT the complete sections, just the parts that were different. I had two virtually identical monitors so I just made a copy of the complete monitor section and on the second monitor section changed monitor0 to monitor1. If your monitors are different you may want to hook up your 2nd monitor to your primary video card and run knoppix from cd and copy the created XF86Config-4 file to your hd or a floppy etc. so that you have the monitor settings for each monitor then just copy and paste the new monitor0 section into your existing XF86Config-4 file and change the monitor0's in that section to monitor1's.
Quote:
...(snip)
Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
##***
Identifier "Card0"
##***
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "nv"
VendorName "All"
BoardName "All"
BusID "PCI:00:08:00"
EndSection
...(snip)
Quote:
...(snip)
Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
##***
Identifier "Card1"
##***
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "ati"
VendorName "All"
BoardName "All"
BusID "PCI:00:09:00"
EndSection
...(snip)
- again these are NOT the complete sections, just the parts that were different. Notice in the above two sections, there are three lines different: Identifier "CardX", Driver "xmodule", and BusID "PCI:xx:yy:zz"
you'll have to get the BusID stuff from either lspci or cat /proc/pci make sure to put it in the form: "PCI:xx:yy:zz"
Quote:
...(snip)
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
...(snip)
Quote:
...(snip)
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultColorDepth 16
...(snip)
- these are NOT the complete sections, just the parts that were different. Notice again: two entries, one for Screen0 the other for Screen1, again on my system both sections were identical below these parts since both monitors were the same.
One thing I forgot MAKE SURE to make a backup of your working XF86Config-4 file BEFORE you change anything.
And always remember: if you break it, you get to keep the pieces! ;)
rock