Well, I've been all over trying to find out why acceleration isn't working, but I've made absolutely no progress. I'm using Slackware 9, XFree 4.3.0, Kernel 2.4.20. My card is an ATI Radeon 9500 Pro. The problem is that everything seems configured right, and X says that everything went fine. The log reports loading the right drivers with no errors, and finds everything okay, but reports that direct rendering is disabled. Everything seems to load like it should, except that Xlib says it's missing XFree86-DRI, and glxinfo says that I'm using Mesa Indirect.
My config file:
Code:
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "speedo"
# Load "freetype"
# Load "xtt"
Load "glx"
Load "dri"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Logitech Cordless"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Logitech Mouseman"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "ViewSonic A90f+"
HorizSync 30-86
VertRefresh 50-150
EndSection
Section "Device"
Identifier "ATI Radeon 9500 Pro"
VendorName "ATI"
Driver "radeon"
Option "AGPMode" "1"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "ATI Radeon 9500 Pro"
Monitor "ViewSonic A90f+"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Logitech Mouseman" "CorePointer"
InputDevice "Logitech Cordless" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
Relevant log output:
Code:
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "radeon"
(II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(II) Module radeon: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 4.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 6.4.18
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.6
Code:
(--) Chipset ATI Radeon 9700/9500Pro NE (AGP) found
Code:
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1202)
(II) RADEON(0): Largest offscreen area available: 1600 x 6986
(II) RADEON(0): Direct rendering disabled
Other stuff:
* I know that bus mastering is okay. setpci for my device ID gives me 0087.
* /proc/dri/0 exists, but /dev/dri doesn't.
* My card is a duel-head...does this mean I need to explicitly set the bus ID?
Thanks a lot for any info.