On Tue, Oct 21, 2003 at 05:56:51PM +1000, Colin Charles wrote: > 2. How do I drive the external display? I've got an ATI Radeon Mobility > 7500. I don't want it to be split screen or anything, I just need the > exact laptop screen output displayed on an external screen (for > presentations, et al).
You'll need all the DRI stuff from people.debian.org/~adaenzer/dri-trunk-sid, there is plenty of stuff on this in the archives etc. Attached is my XF86Config and a little startx script I use which works well for me on the same hardware as you. I'm not a great fan of xinerama so I haven't set that up at all. I hope it is helpful. -i
Section "ServerFlags" EndSection Section "Files" FontPath "unix/:7100" # if the local font server has problems, we can fall back on these FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/usr/lib/X11/fonts/Type1" EndSection Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "xtt" Load "glx" Load "int10" Load "record" Load "speedo" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Laptop Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "macintosh" Option "XkbLayout" "us" 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 "ATI M6 Alone" Driver "ati" Option "AGPMode" "1" Option "UseFBDev" "true" VendorName "ATI" BoardName "Radeon Mobility M6 LY" BusID "PCI:0:16:0" EndSection Section "Device" Identifier "ATI M6 Cloning" Driver "ati" Option "AGPMode" "1" Option "UseFBDev" "false" Option "MonitorLayout" "LVDS,CRT" Option "CloneHSync" "30.0-100.0" Option "CloneVRefresh" "50.0-160.0" Option "OverlayOnCRTC2" VendorName "ATI" BoardName "Radeon Mobility M6 LY" BusID "PCI:0:16:0" Screen 0 EndSection Section "Device" Identifier "ATI M6 Internal" Driver "ati" Option "AGPMode" "1" Option "UseFBDev" "false" Option "MonitorLayout" "LVDS,CRT" VendorName "ATI" BoardName "Radeon Mobility M6 LY" BusID "PCI:0:16:0" Screen 0 EndSection Section "Device" Identifier "ATI M6 External" Driver "ati" Option "AGPMode" "1" Option "UseFBDev" "false" Option "MonitorLayout" "LVDS,CRT" VendorName "ATI" BoardName "Radeon Mobility M6 LY" BusID "PCI:0:16:0" Screen 1 EndSection Section "Monitor" Identifier "IDFP" HorizSync 30-100 VertRefresh 50-160 Mode "1024x768" # D: 65.003 MHz, H: 48.365 kHz, V: 60.006 Hz DotClock 65.004 HTimings 1024 1048 1184 1344 VTimings 768 771 777 806 Flags "-HSync" "-VSync" # Warning: XFree86 doesn't support accel EndMode EndSection Section "Monitor" Identifier "CRT" HorizSync 30-100 VertRefresh 50-160 Mode "1024x768" # D: 65.003 MHz, H: 48.365 kHz, V: 60.006 Hz DotClock 65.004 HTimings 1024 1048 1184 1344 VTimings 768 771 777 806 Flags "-HSync" "-VSync" # Warning: XFree86 doesn't support accel EndMode Mode "1280x1024" # D: 134.21 MHz, H: ???? kHz, V: 73 Hz DotClock 134.21 HTimings 1280 1336 1616 1728 VTimings 1024 1026 1038 1064 Flags "-HSync" "-VSync" # Warning: XFree86 doesn't support accel EndMode EndSection Section "Screen" Identifier "Screen Alone On DFP" Device "ATI M6 Alone" Monitor "IDFP" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" Virtual 1024 768 EndSubSection EndSection Section "Screen" Identifier "Screen On DFP" Device "ATI M6 Internal" Monitor "IDFP" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" Virtual 1024 768 EndSubSection EndSection Section "Screen" Identifier "Screen On CRT" Device "ATI M6 External" Monitor "CRT" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" Virtual 1024 768 EndSubSection EndSection Section "Screen" Identifier "Screen On CRT 800x600" Device "ATI M6 External" Monitor "CRT" DefaultDepth 24 SubSection "Display" Depth 24 Modes "800x600" Virtual 800 600 EndSubSection EndSection Section "Screen" Identifier "Screen On CRT 1280x1024" Device "ATI M6 External" Monitor "CRT" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" Virtual 1280 1024 EndSubSection EndSection # # CLONED SCREENS # Section "Screen" Identifier "Screen Cloned 1024x768" Device "ATI M6 Cloning" Monitor "IDFP" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen Cloned 800x600" Device "ATI M6 Cloning" Monitor "IDFP" DefaultDepth 24 SubSection "Display" Depth 24 Modes "800x600" EndSubSection EndSection Section "ServerLayout" Identifier "Dual 1280x1024" Screen "Screen On DFP" Screen "Screen On CRT 1280x1024" LeftOf "Screen On DFP" InputDevice "Laptop Keyboard" InputDevice "Configured Mouse" EndSection Section "ServerLayout" Identifier "Dual" Screen "Screen On DFP" Screen "Screen On CRT" LeftOf "Screen On DFP" InputDevice "Laptop Keyboard" InputDevice "Configured Mouse" EndSection Section "ServerLayout" Identifier "Dual 800x600" Screen "Screen On DFP" Screen "Screen On CRT 800x600" LeftOf "Screen On DFP" InputDevice "Laptop Keyboard" InputDevice "Configured Mouse" EndSection Section "ServerLayout" Identifier "Single" Screen "Screen Alone On DFP" InputDevice "Laptop Keyboard" InputDevice "Configured Mouse" EndSection Section "ServerLayout" Identifier "Cloned1024x768" Screen "Screen Cloned 1024x768" InputDevice "Laptop Keyboard" InputDevice "Configured Mouse" EndSection Section "ServerLayout" Identifier "Cloned800x600" Screen "Screen Cloned 800x600" InputDevice "Laptop Keyboard" InputDevice "Configured Mouse" EndSection Section "DRI" Mode 0666 EndSection
#!/bin/bash STARTX=/usr/X11R6/bin/startx if [ $# -ne 1 ] || [ "$1" = "-h" ] ; then echo "startx [single] [cloned] [cloned-small] [dual-small] [dual-large] [dual]" echo "[single] - only internal panel" echo "[cloned] - 1024x768 on both internal and external, cloned" echo "[cloned-small] - 800x600 on both internal and external, cloned" echo "[dual-small] - 800x600 external, 1024x768 internal, dual" echo "[dual] - 1024x768 on both internal and external, dual" echo "[dual-large] - 1280x1024 external, 1024x768 internal, dual" echo "e.g. startx dual-large" exit 1 fi if [ $1 = "single" ] ; then $STARTX -- -layout single elif [ $1 = "cloned" ] ; then $STARTX -- -layout cloned1024x768 elif [ $1 = "cloned-small" ] ; then $STARTX -- -layout cloned800x600 elif [ $1 = "dual-large" ] ; then $STARTX -- -layout dual1280x1024 elif [ $1 = "dual-small" ] ; then $STARTX -- -layout dual800x600 elif [ $1 = "dual" ] ; then $STARTX -- -layout dual else echo "Invalid option; try -h for help" fi