В начало → Hardware 3D Acceleration Guide (Англ.) → Install X11-DRM and configure direct rendering |
Some chipsets require you to rebuild xorg-x11 with USE="insecure-drivers". This applies to mach64, unichrome and savage chipsets on xorg-x11-6.8.2, and to mach64 and unichrome on xorg-x11-6.8.99.x. Savage users should not try xorg-x11-6.8.99.x as support for the savage there is broken.
Code Listing 3.2: Rebuilding xorg-x11
(Add the insecure-drivers USE flag if you use one of the aforementioned chipsets)
# echo "x11-base/xorg-x11 insecure-drivers" >> /etc/portage/package.use
# emerge xorg-x11
Open /etc/X11/xorg.conf with your favorite text editor and edit it to enable DRI and GLX.
Code Listing 3.3: xorg.conf
...
Section "Module"
Load "dri"
Load "glx"
...
EndSection
...
Section "Device"
Driver "radeon"
...
EndSection
...
Section "dri"
Mode 0666
EndSection
If you are using a different driver, replace "radeon" with yours.
You will need to add the module name that your card uses to /etc/modules.autoload.d/kernel-2.6 to ensure that the module is loaded automatically when the system starts up.
Code Listing 3.4: Editing /etc/modules.autoload.d/kernel-2.6
(Change module name as required.)
intel-agp
Note: If you compiled agpgart as a module, you will also need to add it to /etc/modules.autoload.d/kernel-2.6.
В начало → Hardware 3D Acceleration Guide (Англ.) → Install X11-DRM and configure direct rendering |