| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.25 2005/07/30 21:48:32 neysx Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.26 2005/10/11 03:46:14 swift Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/dri-howto.xml"> |
5 | <guide link="/doc/en/dri-howto.xml"> |
| 6 | <title>Hardware 3D Acceleration Guide</title> |
6 | <title>Hardware 3D Acceleration Guide</title> |
| 7 | <author title="Author"> |
7 | <author title="Author"> |
| … | |
… | |
| 16 | with Xorg in Gentoo Linux. |
16 | with Xorg in Gentoo Linux. |
| 17 | </abstract> |
17 | </abstract> |
| 18 | |
18 | |
| 19 | <license/> |
19 | <license/> |
| 20 | |
20 | |
| 21 | <version>1.0.13</version> |
21 | <version>1.0.14</version> |
| 22 | <date>2005-07-30</date> |
22 | <date>2005-10-11</date> |
| 23 | |
23 | |
| 24 | <chapter> |
24 | <chapter> |
| 25 | <title>Introduction</title> |
25 | <title>Introduction</title> |
| 26 | <section> |
26 | <section> |
| 27 | <title>What is hardware 3D acceleration and why do I want it?</title> |
27 | <title>What is hardware 3D acceleration and why do I want it?</title> |
| … | |
… | |
| 165 | <comment>(Enable your chipset instead of the above.)</comment> |
165 | <comment>(Enable your chipset instead of the above.)</comment> |
| 166 | < > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) |
166 | < > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) |
| 167 | </pre> |
167 | </pre> |
| 168 | |
168 | |
| 169 | <p> |
169 | <p> |
| 170 | If you use a 2.4 kernel, make sure the Direct Rendering Manager (DRM) is |
170 | Make sure the Direct Rendering Manager (DRM) is <e>off</e>. |
| 171 | <e>off</e>. The X11-DRM package will provide its own. 2.6 kernel users should |
171 | The X11-DRM package will provide its own. |
| 172 | <e>enable</e> the Direct Rendering Manager (DRM) as the X11-DRM package |
|
|
| 173 | currently does not support 2.6 kernels yet. |
|
|
| 174 | </p> |
172 | </p> |
| 175 | |
173 | |
| 176 | </body> |
174 | </body> |
| 177 | </section> |
175 | </section> |
| 178 | <section> |
176 | <section> |
| 179 | <title>Compile and install your kernel</title> |
177 | <title>Compile and install your kernel</title> |
| 180 | <body> |
178 | <body> |
| 181 | |
179 | |
| 182 | <pre caption="Compiling and installing kernel"> |
180 | <pre caption="Compiling and installing kernel"> |
|
|
181 | <comment>(This example is for a 2.4 kernel)</comment> |
| 183 | # <i>make dep && make clean bzImage modules modules_install</i> |
182 | # <i>make dep && make clean bzImage modules modules_install</i> |
| 184 | # <i>mount /boot</i> |
183 | # <i>mount /boot</i> |
| 185 | # <i>cp arch/i386/boot/bzImage /boot</i> |
184 | # <i>cp arch/i386/boot/bzImage /boot</i> |
| 186 | </pre> |
185 | </pre> |
| 187 | |
186 | |
| … | |
… | |
| 198 | <chapter> |
197 | <chapter> |
| 199 | <title>Install X11-DRM and configure direct rendering</title> |
198 | <title>Install X11-DRM and configure direct rendering</title> |
| 200 | <section> |
199 | <section> |
| 201 | <title>Install X11-DRM</title> |
200 | <title>Install X11-DRM</title> |
| 202 | <body> |
201 | <body> |
| 203 | |
|
|
| 204 | <warn> |
|
|
| 205 | If you are a 2.6 kernel user, skip this section and go to <uri |
|
|
| 206 | link="#configure_xorg">Configure Xorg.conf</uri>. |
|
|
| 207 | </warn> |
|
|
| 208 | |
202 | |
| 209 | <pre caption="Installing X11-DRM"> |
203 | <pre caption="Installing X11-DRM"> |
| 210 | # <i>emerge x11-drm</i> |
204 | # <i>emerge x11-drm</i> |
| 211 | </pre> |
205 | </pre> |
| 212 | |
206 | |