Wow. Just, wow.

Posted on Aug 10, 2004

A few months ago, I had resigned myself to the fact that I’d probably never get my system to do accelerated 3D graphics while still having both monitors on.

All that has changed thanks to Google. And a bunch of mailing lists and FAQs, and other linux hackers who have the same video card.

For reference, I have a Radeon 7000 (or Radeon VE) dual-head AGP video card. And Unreal Tournament works great. I’m still having some problems getting Half-Life to run in Wine, but that’s mainly half-life’s fault: I can’t get it to run in 24-bit or 32-bit color.

Note: you will need the newest DRI version, from CVS or otherwise. There are some Debian apt sources for that on page 3, if you’re using that flavor (x86 only, sorry).

Oh, and if you have a serial Wacom tablet (I have a Pen Partner 4x5 tablet), there’s some configs in here that also work. Well, they worked when I had Xinerama enabled (before I managed to get dual-screen 3D to work). I need to dig my stylus back out and see if it works with this new config, but these settings DEFINITELY work if you have a standard Xinerama setup.

` Section “ServerLayout” Identifier “Multihead” Screen “Screen0” 0 0 InputDevice “Mouse0” InputDevice “Keyboard0” InputDevice “Mouse1” InputDevice “WacomStylus” InputDevice “WacomCursor” “AlwaysCore” InputDevice “WacomEraser” EndSection Section “ServerFlags” EndSection Section “Files” RgbPath “/usr/X11R6/lib/X11/rgb”

ModulePath “/usr/X11R6/lib/modules”

FontPath     "unix/:7100"
FontPath     "unix/:7101"
FontPath     "/usr/share/fonts/truetype/"
FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection Section “Module” Load “GLcore” Load “dbe” Load “dri” Load “extmod” Load “glx” Load “v4l” Load “wacom” EndSection Section “InputDevice” Identifier “Keyboard0” Driver “keyboard” Option “CoreKeyboard” Option “XkbRules” “xfree86” Option “XkbModel” “pc104” Option “XkbLayout” “us” EndSection Section “InputDevice” Identifier “Mouse0” Driver “mouse” Option “CorePointer” Option “Protocol” “ImPS/2” Option “Device” “/dev/psaux” Option “Buttons” “7” EndSection Section “InputDevice” Identifier “Mouse1” Driver “mouse” Option “SendCoreEvents” “true” Option “Device” “/dev/input/mice” Option “Protocol” “ImPS/2” Option “ZAxisMapping” “4 5” Option “Buttons” “7” EndSection Section “InputDevice” Identifier “WacomStylus” Driver “wacom” Option “Device” “/dev/tts/0” Option “Type” “stylus” Option “Mode” “Absolute” Option “Screenno” “0” Option “Keepshape” “on” EndSection Section “InputDevice” Identifier “WacomEraser” Driver “wacom” Option “Device” “/dev/tts/0” Option “Type” “eraser” Option “Mode” “Absolute” Option “Screenno” “0” Option “Keepshape” “on” EndSection Section “InputDevice” Identifier “WacomCursor” Driver “wacom” Option “Device” “/dev/tts/0” Option “Type” “cursor” Option “Mode” “Absolute” Option “Screenno” “0” Option “Keepshape” “on” EndSection Section “Monitor” Identifier “Monitor0” VendorName “NEC” ModelName “MultiSync XV15+” HorizSync 30-73 VertRefresh 50-160 Option “DPMS” “on” EndSection Section “Monitor” Identifier “Monitor1” VendorName “ViewSonic” ModelName “A70” HorizSync 30-70 VertRefresh 50-180 Option “DPMS” “on” EndSection Section “Device” Identifier “Radeon0” Driver “radeon” BoardName “Radeon VE” BusID “PCI:1:0:0” Screen 0 Option “AGPMode” “2” Option “MonitorLayout” “CRT,CRT” Option “CRT2HSync” “30-70” Option “CRT2VRefresh” “50-180” Option “CRT2Position” “RightOf” Option “MergedFB” “on” Option “MetaModes” “1280x1024-1280x1024 1152x864-1280x1024 800x600-1280x1024 640x480-1280x1024 1152x864 800x600 640x480” EndSection Section “Screen” Identifier “Screen0” Device “Radeon0” Monitor “Monitor0” DefaultDepth 24 SubSection “Display” Depth 24 Virtual 2560 1024 Modes “2560x1024” “2304x864” “2048x768” “1600x600” “1280x480” “1280x1024” “1152x864” “1024x768” “800x600” “640x480” EndSubSection EndSection Section “DRI” Mode 0666 EndSection ` APT sources for DRI: deb http://dri.freedesktop.org/~daenzer/debian/dri-trunk-sid/ ./

packages: drm-trunk-module-src xserver-xfree86-dri-trunk xlibmesa-gl1-dri-trunk

Note: you will need to recompile the drm-trunk-module-src with make-kpkg. There’s really no way around it, sorry.