dual head config problem

Jesse Barnes jbarnes at virtuousgeek.org
Thu Nov 15 22:39:19 UTC 2007


On Thursday, November 15, 2007 2:26 pm pkaplan1 at comcast.net wrote:
> Section "Device"
> 	Identifier	"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics
> Controller" Driver		"intel"
> 	Option		"Monitor-LVDS"
> 	Option		"Monitor-VGA"
> EndSection

These options need to reference the monitor identifier you've defined, e.g.

  Option "Monitor-VGA" "Monitor-VGA"

Though in your case that's a little confusing since you've given your monitor 
identifiers the same name as the intel option.

> Section "Monitor"
> 	Identifier	"Monitor-VGA"
> 	Option		"LeftOf" "Monitor-LVDS"
> EndSection

Once the intel driver knows which monitor section to look at for a given 
monitor, it can honor the "LeftOf" etc. options.

Here's my xorg.conf for reference (note that this is also documented in the 
man page and at intellinuxgraphics.org).

Jesse
-------------- next part --------------
Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/bitmap-fonts"
	FontPath     "/usr/share/X11/fonts/misc"
	FontPath     "/usr/share/X11/fonts/75dpi"
	FontPath     "/usr/share/X11/fonts/100dpi"
	FontPath     "/usr/share/X11/fonts/Type1"
	FontPath     "/usr/share/fonts/default/Type1"
EndSection

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

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "mouse"
	Option	    "Device" "/dev/input/mice"
EndSection

Section "Monitor"
	Identifier   "Internal LCD"
	Option	    "RightOf" "VGA Screen"
EndSection

Section "Monitor"
	Identifier   "VGA Screen"
	Option	    "LeftOf" "LVDS"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "intel"
	Option	    "Monitor-LVDS" "Internal LCD"
	Option	    "Monitor-VGA" "VGA Screen"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Virtual   2816 1440
		Depth     24
	EndSubSection
EndSection


More information about the ubuntu-users mailing list