gnome and xinerama

Marcel Janssen korgull at home.nl
Mon Feb 19 18:56:05 UTC 2007


Hello François,

> Gnome applications like gnome-terminal and xscreensavers seem to be
> unable to work with two screen and xinerama enabled. (FC6)

> Section "Device"
>     Identifier     "Videocard1"
>     Driver         "nvidia"
>     VendorName     "NVIDIA Corporation"
>     BoardName      "GeForce 7800 GTX"
>     BusID          "PCI:8:0:0"
>     Screen          1
> EndSection

Since you use a nvidia card you probably don't want to use xinerama but use 
the nvidia twinview option instead.

The below xorg.conf is what I use for my dual head setup:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister at builder26)  Wed Mar 29 15:31:59 
PST 2006

Section "ServerLayout"
	Identifier     "Multihead layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	    "Xinerama" "off"
	Option	    "Clone" "off"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib64/xorg/modules/extensions"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "bitmap"
	Load  "glx"
	Load  "v4l"
	Load  "ddc"
	#Load  "dri"
	Load  "record"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "LCD Panel 1280x1024"
	HorizSync    31.5 - 67.0
	VertRefresh  50.0 - 75.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	VendorName  "Videocard Vendor"
	BoardName   "NVIDIA GeForce 6600 GT"
	Option	    "TwinView"
#	Option	    "RenderAccel" "true"
	Option	    "AllowGLXWithComposite" "true"
	Option	    "XAANoOffscreenPixmaps"
	Option	    "TripleBuffer" "True"
#	Option	    "NoBandWidthTest" "no"
	Option	    "UseEdidFreqs"
	Option	    "IgnoreDisplayDevices" "TV"
	Option	    "SecondMonitorHorizSync" "30.000-82.000"
	Option	    "SecondMonitorVertRefresh" "56 - 60"
	Option	    "TwinViewOrientation" "RightOf"
	Option	    "MetaModes" "1280x1024, 1280x1024"
	Option	    "ConnectedMonitor" "DFP, DFP"
	BusID       "PCI:5:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	Option	    "AddARGBGLXVisuals"
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		
Modes    "1280x1024" "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Extensions"
	Option	    "Composite" "Enable"
EndSection


nvidia-xconfig can generate the file for you and settings can be edited by the 
nividia-settings graphical menu.

regards,
Marcel Janssen





More information about the users mailing list