cd libdrm-X.X.X/linux-core makeNow, before installing, remove the previous modules (that came with the kernel): In debian they are usually in the
/lib/modules/`uname -r`/kernel/drivers/gpu/drmdirectory. remove this directory (perhaps move it somewhere for backup) and then, back in the
sudo make installTo see if it works, exit X, remove all the old modules:
sudo rmmod drm agpgartand try reloading them:
sudo insmod agpgart; sudo insmod drm; sudo insmod mach64start X and test:
glxinfo | grep renderYou should have "direct rendering: Yes". If you still have "Software Rasterizer" for OpenGL, try looking through the Xorg log file at
/var/log/Xorg.0.log. It's sometimes a memory problem. In this case, try reducing display depth. If this doesn't work, try rebooting before you give up -- sometimes the old modules just won't go away until reboot.