On Wed, 2003-03-05 at 11:41, Sven Luther wrote: > On Wed, Mar 05, 2003 at 08:30:27AM -0800, Alex Deucher wrote: > > Jonathan, > > > > could you also post your XF86Config file?
I have attached it. > BTW, what about the Xinerama hinting needed for desktop managers and > such, will that work fine also ? Gnome 2.2 (the desktop I use) uses Metacity for the WM. Metacity has an environment variable METACITY_DEBUG_XINERAMA that treats one screen as two. After enabling this, I get "magnetizing" to the correct edges and correct maximizing. Gnome Panel has an environment variable FAKE_XINERAMA_PANEL that does something similar. After enabling both these environment var.'s, the desktop layout cannot be distinguished from a regular xinerama setup in Gnome 2.2. One problem was xscreensaver. Every time it ran, it took up the space of one screen, though it might position that space in the middle or to a side. I hacked the xscreensaver source and now it is hardcoded to make a 2048x768 window positioned at (0,0) whenever it detects that xinerama is on. The GL hacks now run nicely on both heads with full acceleration. --Jonathan Thambidurai
# File generated by anaconda. Section "ServerLayout" Identifier "single-head" Screen "Laptop Screen" InputDevice "Mouse0" "CorePointer" Inputdevice "Mouse1" "AlwaysCore" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "true" EndSection Section "ServerLayout" Identifier "dual-head" # Screen 0 "External Screen" # Screen 1 "Laptop Screen" LeftOf "External Screen" Screen 0 "External Screen" RightOf "Laptop Screen" Screen 1 "Laptop Screen" InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "AlwaysCore" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "true" EndSection Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. RgbPath "/usr/X11R6/lib/X11/rgb" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "GLcore" Load "dbe" Load "extmod" Load "fbdevhw" Load "dri" Load "glx" Load "freetype" Load "type1" Load "speedo" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" # Option "AutoRepeat" "500 5" # when using XQUEUE, comment out the above line, and uncomment the # following line # Option "Protocol" "Xqueue" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "Xleds" "1 2 3" # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option "XkbDisable" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc102" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:nocaps" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" #Option "XkbVariant" "" #Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "SendCoreEvents" "true" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "6 7" Option "Buttons" "7" EndSection Section "Monitor" Identifier "Laptop LCD" VendorName "IBM" ModelName "Thinkpad T-30" HorizSync 31.5-48.5 VertRefresh 40-70 Option "dpms" # -- 1400x1050 -- # 1400x1050 @ 60Hz, 65.8 kHz hsync # Modeline "1400x1050" 129 1400 1464 1656 1960 # 1050 1051 1054 1100 +HSync +VSync # 1400x1050 @ 70Hz, 76.8 kHz hsync # Modeline "1400x1050" 151 1400 1464 1656 1960 # 1050 1051 1054 1100 +HSync +VSync # 1400x1050 @ 75Hz, 82.3 kHz hsync # Modeline "1400x1050" 162 1400 1464 1656 1960 # 1050 1051 1054 1100 +HSync +VSync # 1400x1050 @ 85Hz, 93.2 kHz hsync # Modeline "1400x1050" 184 1400 1464 1656 1960 # 1050 1051 1054 1100 +HSync +VSync EndSection Section "Monitor" Identifier "External CRT" VertRefresh 40-70 HorizSync 31.5-48.5 EndSection Section "Device" # no known options Identifier "Radeon (Head One)" Driver "ati" VendorName "ATI" BoardName "ATI" Option "AGPMode" "4" Option "AGPSize" "64" # Option "NoDDC" # Option "EnablePageflip" # Option "UseFBDev" "1" Option "AGPFastWrite" # Option "CloneDisplay" "0" # Option "EnableDepthMoves" Screen 0 BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Radeon (Head Two)" Driver "ati" VendorName "ATI" BoardName "ATI Radeon Mobility M7" # Option "AGPMode" "4" # Option "NoDDC" Screen 1 BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Laptop Screen" Device "Radeon (Head One)" Monitor "Laptop LCD" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubsection EndSection Section "Screen" Identifier "External Screen" Device "Radeon (Head Two)" Monitor "External CRT" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubsection EndSection Section "DRI" Mode 0666 EndSection