[ltp] Multi-headed desktop with ATI Radeon Mobility 7500

Krishna Sethuraman linux-thinkpad@linux-thinkpad.org
Fri, 2 Apr 2004 18:56:17 -0800


[Now with file attached!]

*WARNING*: If the LCD screen flashes white and goes fadey (I can't find 
a way to describe this properly) and is allowed to sit for some time, 
I've been told it can damage the LCD screen.  If you see this, try 
anything to blank the screen; switch to a different virtual console, 
fn-f3, or force power off. *WARNING*

...
display properly.  My configuration is attached at the bottom, in case 
someone wants a simpler (or just a different) multi-headed XF86Config 
to tinker with -- and heed the *WARNING* at the beginning.

The major point I noted was the 'NoDDC' in the Device sections, and of 
course your modelines will differ, definitely for your external 
monitor.  FYI, this file was autogenerated by kxconfig for XFree86 
v4.2.something, and modified by hand to add the Xinerama functionality.

Krishna Sethuraman
krishgoo@wapacut.com

On Friday, Apr 2, 2004, at 02:01 US/Pacific, 
linux-thinkpad-request@linux-thinkpad.org wrote:

> Section "Files"
>
>     RgbPath	"/usr/X11R6/lib/X11/rgb"
etc.

---8<---8<---8<---Cut here and never run with scissors---8<---8<---8<---

# XF86Config-4 (XFree86 X server configuration file) generated by 
dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package 
upgrades *only*
# if it has not been modified since the last upgrade of the 
xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically 
updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

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/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon Mobility M7 [LW]"
	vendorname	"ATI"
	BoardName	"Mobility Radeon 7500"
	Driver		"ati"
	BusID		"PCI:1:0:0"
	Screen 0
	Option "NoDDC"
EndSection

Section "Device"
	Identifier	"ATI head 2"
	vendorname	"ATI"
	BoardName	"Mobility Radeon 7500"
	Driver		"ati"
	BusID		"PCI:1:0:0"
	Screen 1
	Option "NoDDC"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	48-52
	VertRefresh	55-65
	Option		"DPMS"
ModeLine "1024x768/60Hz" 65 1024 1032 1176 1344 768 771 777 806  -HSync 
-VSync
EndSection

Section "Monitor"
         Gamma 1.0 0.5 1.0
         Identifier   "SGI1600SW"
         VendorName   "SGI"
         ModelName    "1600SW"
         HorizSync    31 - 64
         VertRefresh  60
         Option       "DPMS"

# This is the only modeline so far I've gotten to work with the 1600sw 
and
# GeForce 3 Ti200 combo
ModeLine "1600x1024@60" 108 1600 1616 1656 1704 1024 1027 1030 1056 
-Vsync -Hsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon Mobility M7 [LW]"
	Monitor		"Generic Monitor"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768/60Hz" "800x600" "640x480"
		Virtual 0 0
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768/60Hz" "800x600" "640x480"
		Virtual 0 0
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768/60Hz" "800x600" "640x480"
		Virtual 0 0
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768/60Hz" "800x600" "640x480"
		Virtual 0 0
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768/60Hz" "800x600" "640x480"
		Virtual 0 0
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768/60Hz" "800x600" "640x480"
		Virtual 0 0
	EndSubSection
EndSection

Section "Screen"
	Identifier "Second Screen"
	Device "ATI head 2"
	Monitor "SGI1600SW"
	DefaultDepth 16
	SubSection "Display"
		Depth 16
		Modes "1600x1024@60"
		Virtual 0 0
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
#	Screen		"Default Screen"
#	Screen		"Second Screen"
	Screen		0 "Default Screen"
	Screen		1 "Second Screen" LeftOf "Default Screen"
	Option		"Xinerama"	"on"
	Option		"Clone"		"off"
EndSection

#Section "DRI"
#	Mode	0666
#EndSection

Section "InputDevice"

Identifier "Keyboard"

	Option "XkbModel" "pc104"
	Option "XkbLayout" "us"
	Driver "keyboard"
EndSection


Section "InputDevice"

Identifier "Mouse"

	Option "Protocol" ""
	Option "Device" "/dev/mouse"
	Driver "mouse"
	Option "Emulate3Buttons"
	Option "ZAxisMapping" "4 5"
EndSection


Section "ServerFlags"
   Option "Xinerama" "true"
EndSection