|< Day Day Up >|
Recipe 15.6. Troubleshooting 3D Acceleration Problems
You went through the steps in Recipe 15.5, but you still don't have hardware acceleration.
Start from the beginning, and make sure all the pieces are in place.
$ lsmod Module Size Used by Not tainted tdfx 30432 17 agpgart 37312 0 (unused)
tdfx is a 3dfx Voodoo3 driver. agpgart is needed for the AGP subsystem to work. If your driver module or agpgart does not show up in lsmod, look in the /lib/modules directory to see if the modules exist:
If either one is missing, you'll need to build and load it. (See Recipe 10.7.) Then restart X.
Is the dri subsytem working? If /proc/dri/0 exists, then it is:
$ ls /proc/dri/0 bufs clients mem name queues vm vma
# Hardware configuration ... CONFIG_DRM=y ... # DRM 4.1 drivers ... CONFIG_DRM_TDFX=m
If CONFIG_DRM=y is not there, you'll need to rebuild the kernel. If the DRM module for your video card is not there, you can build and load it without rebuilding the kernel. Look in the kernel configurator for Character Devices, Direct Rendering Manager (XFree86 DRI support).
Unlike other kernel modules, all of these will be loaded by the X server. Make sure they are entered in the Modules section in XF86Config.
Always check /var/log/XFree86.0.log. Look for error messages, and check that all the modules listed in the Modules section of XF86Config loaded. If you still can't figure it out, visit the Getting Help, Resources, and Community Lists pages on http://xfree.org.
If you are using drivers supplied by the manufacturer of your video adapter, you'll need to look to them for support. Check your documentation, make sure you have the right driver, and look on the manufacturer's web site for user forums and support knowledge bases.
Enabling hardware acceleration for supported cards is a matter of having the correct kernel configuration and making sure the relevant kernel modules load. See Chapter 10 for how to build kernels and modules.
15.6.4 See Also
|< Day Day Up >|