В началоHardware 3D Acceleration Guide (Англ.) → Using the CVS sources
Gentoo-doc HOME Пред.: Test 3D accelerationВ началоУровень выше: Hardware 3D Acceleration Guide (Англ.)След.: Tweak your performance

5. Using the CVS sources

Warning: Don't do this if the package worked.

Do you need the CVS?

First you have to check whether the x11-drm package works. If it doesn't and you have checked your logs to verify it's not a configuration error, you might want to consider the CVS sources. There are also daily driver snapshots available if you do not wish to build the full CVS.

Do the CVS sources support your card?

Check the DRI supported cards list to see if the CVS supports your card. Even if it doesn't, but it supports a similar card, try it.

Follow the CVS Instructions

The DRI project has a document about CVS compiling themselves. Please read the document and follow the instructions up to the Installing for X.org part.

Install the CVS

Verify that the DRI kernel module(s) for your system were built:

Code Listing 5.1: Verification

# cd ~/DRI-CVS/build/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel; ls

For the 3dfx Voodoo, you should see tdfx.o. For the Matrox G200/G400, you should see mga.o. For the ATI Rage 128, you should see r128.o. For the ATI Radeon, you should see radeon.o. For the Intel i810, you should see i810.o. If the DRI kernel module(s) failed to build, you should verify that you're using the right version of the Linux kernel. The most recent kernels are not always supported.

Install over your X.org installation. You may wish to back up xorg-x11.

Code Listing 5.2: Backing up Xorg

# quickpkg xorg-x11

(This backs up your Xorg-X11 package.)

# make install

Follow the "Configure Xorg" section above.

To load the appropriate DRM module in your running kernel, copy the kernel module to /lib/modules/`uname -r`/kernel/drivers/char/drm/ then run modules-update and restart your X server. If you're not running the kernel you'll be using it in, instead of `uname -r`, use that kernel's name.

Warning: Make sure you first unload any older DRI kernel modules that might be already loaded. Note that some DRM modules require that the agpgart module be loaded first.

Пред.: Test 3D accelerationВ началоУровень выше: Hardware 3D Acceleration Guide (Англ.)След.: Tweak your performance
В началоHardware 3D Acceleration Guide (Англ.) → Using the CVS sources