Hi,
I've decided to try to get my second monitor working under Mandrake 9, but am having real problems. I've read the man pages on setting up XF86Config and the Howto on Xinerama as well as the previous posts here and as far as I can tell everything should be working ok.
I started by setting up the system so it runs fine with my AGP GeForce 3 and made a copy of the XF86Config and XF86Config-4 files (from expreimenting with editing the files I gather that my system is looking to XF86Config-4 when starting X). Then I set it up up to run on the 2nd monitor using my PCI S3 Trio and copied those config files. I then combined the geforce and trio files, adding a few bits from the Howto to get the file below. (BTW in the BIOS I have the PCI set to the primary card, I gather this is the correct way - even though, I have tried it on the AGP and it still doesn't work).
The results I get vary on how the serverlayout section is setup. Depending on whether screen is "screen 1" or screen 2" and LeftOf or RightOf.
The 3 outcomes are:
-X starts on screen 2 only the way it always has.
-X starts, I get the KDE splashscreen and the sound played but hangs on the red screen, no taskbar/icons etc just the watch cursor.
-Both monitors make a sound as though they are coming out of powersaving mode but stay black.
When these happen screen 1 will flicker/flash for a second so some signal is getting sent at somepoint.
Here is my XF86Config-4 file:
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Eraser1"
Driver "wacom"
Option "Device" "/dev/ttyS1"
Option "Type" "eraser"
Option "Mode" "Absolute"
EndSection
Section "InputDevice"
Identifier "Cursor1"
Driver "wacom"
Option "Device" "/dev/ttyS1"
Option "Type" "cursor"
Option "Mode" "Relative"
EndSection
Section "InputDevice"
Identifier "Stylus1"
Driver "wacom"
Option "Device" "/dev/ttyS1"
Option "Type" "stylus"
Option "Mode" "Absolute"
EndSection
Section "Monitor"
Identifier "LG"
VendorName "Plug'n Play"
HorizSync 30-96
VertRefresh 50-160
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Monitor"
Identifier "Dell"
VendorName "Plug'n Play"
HorizSync 30-96
VertRefresh 50-160
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
# Graphics card 1 - Trio
Section "Device"
Identifier "Trio"
VendorName "S3 Inc."
BoardName "S3 Trio64 (generic)"
Driver "s3"
VideoRam 2048
BusID "PCI:0:11:0"
Option "DPMS"
EndSection
# Graphics card 2 - GeForce 3
Section "Device"
Identifier "GeForce3"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce3 (generic)"
Driver "nv"
BusID "PCI:1:0:0"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen2"
Device "GeForce3"
Monitor "LG"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Trio"
Monitor "Dell"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Eraser1" "AlwaysCore"
InputDevice "Cursor1" "AlwaysCore"
InputDevice "Stylus1" "AlwaysCore"
Screen "Screen1"
Screen "Screen2" RightOf "Screen 1"
EndSection
##########################################################
Please help if you can I've spent hours on this and my non-Linux loving friends are laughing. It's hard to show the superiority of Linux when all they had to do in Windows was tick the 'extend desktop to this display' box
Thanks in advance
Tony