В началоHardware 3D Acceleration Guide (Англ.) → Install Xorg and configure your kernel
Gentoo-doc HOME Пред.: Hardware 3D Acceleration Guide (Англ.)В началоУровень выше: Hardware 3D Acceleration Guide (Англ.)След.: Install X11-DRM and configure direct rendering

2. Install Xorg and configure your kernel

2.1. Install Xorg

Please read our Xorg Configuration Guide to get Xorg up and running.

2.2. Configure your kernel

Probe for your chipset and enable just that one.

Code Listing 2.1: Checking your AGP chipset

# emerge pciutils; lspci | grep AGP

# 00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)

(Your output may not match the above due to different hardware.)

If your chipset is not supported by the kernel you might have some succes by passing agp=try_unsupported as a kernel parameter. This will use Intel's generic routines for AGP support. To add this parameter, edit your bootloader configuration file!

Most, if not all, kernels should have these options. This was configured using gentoo-sources-2.4.20-r5.

Code Listing 2.2: Configuring the kernel

# ls -l /usr/src/linux

lrwxrwxrwx    1 root     root           22 May 29 18:20 /usr/src/linux -> linux-2.4.20-gentoo-r5

(Make sure /usr/src/linux links to your current kernel.)

# cd /usr/src/linux

# make menuconfig

Code Listing 2.3: make menuconfig options

Processor type and features --->

<*> MTRR (Memory Type Range Register) support

Character devices --->

<M> /dev/agpgart (AGP Support)

[M] Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I860 support

(Enable your chipset instead of the above.)

< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

Make sure the Direct Rendering Manager (DRM) is off. The X11-DRM package will provide its own.

Compile and install your kernel

Code Listing 2.4: Compiling and installing kernel

(This example is for a 2.4 kernel)

# make dep && make clean bzImage modules modules_install

# mount /boot

# cp arch/i386/boot/bzImage /boot

If you want your kernel to be named something other than bzImage, be sure to copy to /boot/yourname instead. Don't forget to set up grub.conf or lilo.conf and run /sbin/lilo if you use LILO.

Пред.: Hardware 3D Acceleration Guide (Англ.)В началоУровень выше: Hardware 3D Acceleration Guide (Англ.)След.: Install X11-DRM and configure direct rendering
В началоHardware 3D Acceleration Guide (Англ.) → Install Xorg and configure your kernel