Click to See Complete Forum and Search --> : Xinerama or Multihead


A Thomson
09-28-2002, 02:04 PM
Okay i finally got it going,this Multihead-Xinerama thing and it's so coool!:)

Check out my desktop http://www.bigal41.connectfree.co.uk/snapshot1.png

It's so cool dragging from one monitor to another or having two web pages up at once or even wide screen web surfing!

Here's how i did it:
First i bought a Geforce4 TI 4200 agp card(it has twin outputs).

Then i bought a second monitor,a Samsung SyncMaster 151MP(because i already have one)so i now have two the same but you can have two diferent monitors if you want.Even diferent sizes.

Next download the Nvidia Kernel drivers & Glx drivers for your distribution from Nvidias site and install them as the readme file says.
On my suse box i logged in as root in a text console(ctrl+alt+f2) typed "init 3" to shutdown X then edited my XF86config file(stored at /etc/X11/) inserted Load "glx" under the module section(this gives you opengl for your games such as Unreal Tournament 2003)then under the device section changed the "driver" from "nv" to "nvidia" saved the file then loaded x again by typing "init 5"

Once i confirmed X was working fine i then did a search on www.google.com/linux to see if anyone had posted up their XF86config file for a Mutihead Suse system.
I found one and compared it to my config file then edited my file to add the bits that were different.
The only problem i had was that X didn't fill both monitors but after looking at my edited file again i noticed that i should have had 1024x768,1024x768 inserted in the "option Metamodes" section.
Once i did that it worked a treat.

Here's my XF86config file:
If you have a Suse 8.0 system you could just copy it write over,just make sure you change the monitor vertical & horizontal rates to suit your own

# SaX generated XFree86 config file
# Created on: 2002-08-10.
#
# Version: 4.3
# Contact: Marcus Schaefer <sax@suse.de>, 2001
#
# Automatically generated by [SaX2] (4.3)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
ModulePath "/usr/X11R6/lib/modules"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "speedo"
Load "extmod"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"
Driver "keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbKeyCodes" "xfree86"
Option "XkbLayout" "gb"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "ButtonNumber" "5"
Option "Device" "/dev/mouse"
Option "InputFashion" "Mouse"
Option "Name" "AutoDetected"
Option "Protocol" "imps/2"
Option "Vendor" "AutoDetected"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
HorizSync 30-70
Identifier "Monitor[0]"
ModelName "SyncMaster 151MP"
Option "DPMS"
VendorName "Samsung"
VertRefresh 56-75
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 79.55 1024 1056 1232 1312 768 768 777 802
Modeline "640x480" 27.96 640 656 720 864 480 480 485 501
Modeline "800x600" 43.68 800 816 928 1072 600 600 606 626
EndSection


Section "Screen"
Option "PageFlip" "on"
Option "TwinView"
Option "UseEdidFreqs" "off"
Option "SecondMonitorHorizSync" "30-70"
Option "SecondMonitorVertRefresh" "56-75"
# Option "MetaModes" "1600x1200,1600x1200;1280x1024,1280x1024;640x480,64 0x480"
Option "MetaModes" "1024x768,1024x768;640x480,640x480"
Option "ConnectedMonitor" "CRT,CRT"
Option "TwinViewOrientation" "LeftOf"
Option "NoRenderAccel" "TRUE"
Option "NvAgp" "3"
# Option "NvAgp" "0"
Option "CursorShadow" "on"
DefaultDepth 24
# Option "pixmapcachelines" "0"
# SubSection "Display"
# Depth 15
#Modes "640x480"
# EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1600x1200" "1280x1024" "1024x768" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1600x1200" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "1600x1200"
EndSubSection
# SubSection "Display"
# Depth 8
# Modes "640x480"
# EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "TI4200"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
Option "dpms"
Screen 0
VendorName "Nvidia"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
# Option "Clone" "off"
# Option "Xinerama" "on"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection