Joined: 26 Feb 2004
|Posted: Wed Mar 17, 2004 2:07 pm Post subject: DRI/3d Acceleration With ATI Radeon Mobility 7500 (2.4.2x)
|Here's the jist of getting 3d acceleration working with your ATI Radeon Mobility 7500 under Gentoo Linux, kernel v2.4.2x:
Make sure that the following are selected in your kernel settings:
MTRR (Memory Type Range Register) support -- selected, located under processor type and features
/dev/agpgart (AGP Support) -- compiled as a module, located under character devices
Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I860 support -- selected, under character devices
Also, make sure that Direct Rendering Manager (XFree86 DRI Support) is turned off in your kernel settings. This is located under character devices too, so just double check that it's turned off.
These steps will allow the DRI drivers for you system to be built, so recompile your kernel and proceed to the next step.
Once you're back in action, load up a terminal and execute this command as root to emerge the drm files for your Radeon card:
|VIDEO_CARDS="radeon" emerge xfree-drm |
Now you should have everything you need to get acceleration running. However, you need to do some modprobing to get the right modules working--and in the correct order. Here's how:
Create a file in /etc/modules.d called "radeon". In your new /etc/modules.d/radeon, add these two lines of code:
|alias char-major-226 radeon
pre-install radeon /sbin/modprobe "k" "agpgart"
This will make sure that the module "agpgart" will load before the radeon driver. This is very important to ensure that everything loads correctly. If you want to try this, go ahead and do, as root:
Run update-modules if you'd like. Lastly, I like to have the radeon module loaded at startup. To do this too, add a line that says "radeon" to your /etc/modules.autoload.d/kernel-2.4. This will load the radeon driver at startup with agpgart loaded directly before.
Edit your XF86Config file (located in /etc/X11/XF86Config) so that under the section "Module" there is this line:
And somewhere in its own section (or at the very end of the file), add this:
Start X and make sure that you haven't destroyed your video throughout this process. If everything is good, then open up a terminal and type:
|glxinfo|grep rendering |
If you have direct rendering, then congratulations! If not, retrace your steps and try and troubleshoot where you went wrong. Post here if you get stuck and I'll do my best to assist you.