[Scottish] Twin Displays with Presario R3000

Alistair Ross ajross at xbolt.net
Sat Oct 15 14:34:19 BST 2005


Hi,

	TwinView is actually your friend, you just need to specify orientation 
etc and you can have two seperate displays.

The following configuration is my setup. My setup splits the display, 
eg, I have a wide workspace, spanning two monitors.

It's actually easier to get it to do what you want than what I have set 
up here, just experiment with the Screen options until you get it right. 
The Nvidia monitor tools which should come with your driver are also a 
great help in getting started.

Regards,

Alistair Ross

# /etc/X11/xorg.conf (xorg X Window System server configuration

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
         # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"gb"
EndSection
#
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"GeForce FX 5200"
#	Driver		"nv"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	VideoRam	131072
	Option		"TwinView"	"true"
	Option		"RenderAccel"	"true"
	Option		"UseEdidFreqs"	"true"
	Option		"TwinViewOrientation"	"LeftOf"
#	Option		"MetaModes"	"1280x1024, 1280x1024; 1600x1200, 1024x768; 
1024x768,NULL; 800x600,NULL; 640x480,NULL;"
	Option		"MetaModes"	"1280x1024, 1280x1024; 1024x768,NULL; 800x600,NULL; 
640x480,NULL;"
	Option		"ConnectedMonitor"		"CRT, CRT"
	Option		"SecondMonitorHorizSync"	"30-70"
	Option		"SecondMonitorVertRefresh"	"50-120"
	Option		"NoLogo"
EndSection

Section "Monitor"
	Identifier	"IIyama Vision Master P400"
	Option		"DPMS"
	HorizSync	27-96
	VertRefresh	50-160
EndSection

Section "Monitor"
	Identifier	"Belinea 10 30 20"
	Option 		"DPMS"
	HorizSync	30-70
	VertRefresh	50-120
EndSection

Section "Screen"
	Identifier	"Screen 1"
	Device		"GeForce FX 5200"
	Monitor		"IIyama Vision Master P400"
	DefaultDepth 	24

	SubSection "Display"
		Depth	24
		Modes	"1280x1024"
#Modes	"2624x1968" "1600x1200" "1280x960" "1600x1200" "1024x768" "800x600"
		ViewPort 0 0
	EndSubsection
EndSection

Section "Screen"
	Identifier	"Screen 2"
	Device		"GeForce FX 5200"
	Monitor		"Belinea 10 30 20"
	DefaultDepth 	24
	
	SubSection	"Display"
		Depth	24
		Modes	"1280x1024"
#Modes	"1024x768"
		ViewPort 0 0
	EndSubsection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Screen 1"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

#Section "Extensions"
# uncomment next line for transparency and other funky stuff
#	Option "Composite" "Enable"
#EndSection


Chase wrote:
> Hay,
>     Im having problem running my laptop with the laptop display and a
> external monitor. Ive tryed to configure xorg (see attached) but all i can
> get is both monitors to display the same thing in the same resolution.
> Where as i need to have both monitors showing the same display but with
> diffrent resolutions. I dont know what im doing wrong to get this to work.
>     In the device section of the config file is TwinView options i  
> commented
> out, while they work, i would rather have both displays show the same
> information and with the TwinView i couldnt make the laptop the main
> display. So all KDE's windows and menus were being displayed on the
> external monitor.
>     I am unsure what information you need, so i have just included the xorg
> file, if you need to see any other config files please just ask and ill
> send the to you. If anyone can please help me it would be much appreciated.
> 
> #/etc/X11/xorg.conf (xorg X Window System server configuration file)
> 
> Section "Files"
>     FontPath    "/usr/share/X11/fonts/misc"
>     FontPath    "/usr/share/X11/fonts/cyrillic"
>     FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
>     FontPath    "/usr/share/X11/fonts/75dpi/:unscaled"
>     FontPath    "/usr/share/X11/fonts/Type1"
>     FontPath    "/usr/share/X11/fonts/CID"
>     FontPath    "/usr/share/X11/fonts/100dpi"
>     FontPath    "/usr/share/X11/fonts/75dpi"
>           # paths to defoma fonts
>     FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
>     FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
> EndSection
> 
> Section "Module"
>     Load    "GLcore"
>     Load    "i2c"
>     Load    "bitmap"
>     Load    "ddc"
>     Load    "dri"
>     Load    "extmod"
>     Load    "freetype"
>     Load    "glx"
>     Load    "int10"
>     Load    "type1"
>     Load    "vbe"
> EndSection
> 
> Section "InputDevice"
>     Identifier    "Generic Keyboard"
>     Driver        "kbd"
>     Option        "CoreKeyboard"
>     Option        "XkbRules"    "xorg"
>     Option        "XkbModel"    "pc105"
>     Option        "XkbLayout"    "gb"
> EndSection
> 
> Section "InputDevice"
>     Identifier    "Configured Mouse"
>     Driver        "mouse"
>     Option        "CorePointer"
>     Option        "Device"        "/dev/input/mice"
>     Option        "Protocol"        "ImPS/2"
>     Option        "Emulate3Buttons"    "true"
>     Option        "ZAxisMapping"        "4 5"
> EndSection
> 
> Section "InputDevice"
>     Identifier    "Synaptics Touchpad"
>     Driver        "synaptics"
>     Option        "SendCoreEvents"    "true"
>     Option        "Device"        "/dev/psaux"
>     Option        "Protocol"        "auto-dev"
> EndSection
> 
> Section "Device"
>     Identifier    "NVIDIA Corporation NV17 [GeForce4 420 Mac 32M/GeForce 
> 440 Go
> 64M]"
>     Driver        "nvidia"
>     BusID        "PCI:1:0:0"
>     # below added for multi-head
> #    Option "TwinView"
> #    Option "IgnoreEDID" "on"
> #    Option "HorizSync" "DFP-0: 28-64; CRT-0: 24-80"
> #    Option "VertRefresh" "DFP-0: 43-60; CRT-0: 55-75"
> #    Option "MetaModes" "DFP-0: 1280x800, CRT-0: 1280X1024"
> #    Option "TwinViewOrientation" "DFP-0 LeftOf CRT-0"
> EndSection
> 
> Section "Monitor"
>     Identifier    "Generic Monitor"
>     Option        "DPMS"
>     HorizSync    28-64
>     VertRefresh    43-60
>     Modeline    "1280x800 at 60" 83.91 1280 1312 1624 1656 800 816 824 841
> EndSection
> 
> Section "Monitor"
>     Identifier    "External Monitor"
>     Option        "DPMS"
>     HorizSync    23-80
>     VertRefresh    55-75
> EndSection
> 
> Section "Screen"
>     Identifier    "External Screen"
>     Device        "NVIDIA Corporation NV17 [GeForce4 420 Mac 32M/GeForce 
> 440 Go
> 64M]"
>     Monitor        "External Monitor"
>     DefaultDepth    24
>     SubSection "Display"
>         Depth        1
>         Modes        "1280x1024" "1152x864" "1024x768" "800x600" 
> "720x400" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        4
>         Modes        "1280x1024" "1152x864" "1024x768" "800x600" 
> "720x400" "640x480
>     EndSubSection
>     SubSection "Display"
>         Depth        8
>         Modes        "1280x1024" "1152x864" "1024x768" "800x600" 
> "720x400" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        15
>         Modes        "280x1024" "1152x864" "1024x768" "800x600" 
> "720x400" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        16
>         Modes        "280x1024" "1152x864" "1024x768" "800x600" 
> "720x400" "640x480"
>     EndSubSection
>     SubSection "Display"
>         Depth        24
>         Modes        "280x1024" "1152x864" "1024x768" "800x600" 
> "720x400" "640x480"
>     EndSubSection
> EndSection
> 
> Section "Screen"
>     Identifier    "Default Screen"
>     Device        "NVIDIA Corporation NV17 [GeForce4 420 Mac 32M/GeForce 
> 440 Go
> 64M]"
>     Monitor        "Generic Monitor"
>     DefaultDepth    24
>     SubSection "Display"
>         Depth        1
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        4
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        8
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        15
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        16
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        24
>         Modes        "1280x800"
>     EndSubSection
> EndSection
> 
> Section "ServerLayout"
>     Identifier    "Default Layout"
>     Screen    0    "Default Screen"
>     Screen    1    "External Screen"
>     InputDevice    "Generic Keyboard"
>     InputDevice    "Configured Mouse"
>     InputDevice    "Synaptics Touchpad"
> EndSection
> 
> Section "DRI"
>     Mode    0666
> EndSection
> 
> 


-- 

-------------------------------------------[ Web Services Since 2002 ]--
Alistair Ross, CEO
XBOLT Network
--[ www.xbolt.net ]-----------------------------------------------------




More information about the Scottish mailing list