Brian Parish wrote:

On Sat, 2004-02-21 at 16:37, Brian Parish wrote:


I'm being really lazy here I know, but so far in my 5 minute search of
the web I've found info on setting up two monitors with xinerama by
manually configuring XF86config-4.  I suspect however that there is
nice, easy Mandrake gui method.  If so, can anyone point me at it?

I have added a second video card and attached a monitor to it.  Mandrake
sees both cards, but if I run XFdrake and tell it to test, it just tests
the active one without noticing which card I've chosen.  So I guess
that's just talking to the X server and the X server hasn't noticed the
second card.

I'll start hacking at XFconfig86-4 if that's what's required, but if
there's a tool that does it right...



OK, decided to give it a go and followed the howto.  Now both monitors
are working, but xinerama isn't - the second monitor just repeats the
image of the first and the mouse doesn't go there.

I clicked on the enable xinerama button in KDE configuration and
restarted X, but still no go. I have attached my XF86Config-4 file. Can anyone see what I've missed?


thanks
Brian


------------------------------------------------------------------------

# 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)
   AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
   #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
   Option "Xinerama" "true"
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" "en_US"
   Option "XkbOptions" ""
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "IMPS/2"
   Option "Device" "/dev/psaux"
   Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Plug'n Play"
   HorizSync 30-72
   VertRefresh 50-120

   # 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 "monitor2"
   VendorName "Plug'n Play"
   HorizSync 30-72
   VertRefresh 50-120

   # 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 "Device"
   Identifier "device1"
   VendorName "nVidia Corporation"
   BoardName "NVIDIA GeForce4 (generic)"
   Driver "nvidia"
   Option "DPMS"
   BusID      "PCI:1:7:0"
EndSection

Section "Device"
   Identifier "device2"
   VendorName "nVidia Corporation"
   BoardName "NVIDIA GeForce4 (generic)"
   Driver "nvidia"
   Option "DPMS"
   BusID      "PCI:2:0:0"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 16

   Subsection "Display"
       Depth 8
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 15
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 16
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 24
       Virtual 1024 768
   EndSubsection
EndSection

Section "Screen"
   Identifier "screen2"
   Device "device2"
   Monitor "monitor2"
   DefaultColorDepth 16

   Subsection "Display"
       Depth 8
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 15
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 16
       Virtual 1024 768
   EndSubsection

   Subsection "Display"
       Depth 24
       Virtual 1024 768
   EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
Screen "Screen 2" LeftOf "Screen 1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection


IIRC there should be a line in the server layout section that reads something like:

Option "Xinerama"

or

Option "Xinerama" true.

Better have another look at the howto.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to