/[gentoo]/xml/htdocs/doc/en/dri-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/dri-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.25 Revision 1.28
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.28 2006/02/01 11:58:34 neysx 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">
14<abstract> 14<abstract>
15This document is a guide to getting 3D acceleration working using X11-DRM 15This document is a guide to getting 3D acceleration working using X11-DRM
16with Xorg in Gentoo Linux. 16with Xorg in Gentoo Linux.
17</abstract> 17</abstract>
18 18
19<!-- The content of this document is licensed under the CC-BY-SA license -->
20<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
19<license/> 21<license/>
20 22
21<version>1.0.13</version> 23<version>1.2</version>
22<date>2005-07-30</date> 24<date>2006-02-01</date>
23 25
24<chapter> 26<chapter>
25<title>Introduction</title> 27<title>Introduction</title>
26<section> 28<section>
27<title>What is hardware 3D acceleration and why do I want it?</title> 29<title>What is hardware 3D acceleration and why do I want it?</title>
159<pre caption="make menuconfig options"> 161<pre caption="make menuconfig options">
160Processor type and features ---&gt; 162Processor type and features ---&gt;
161&lt;*&gt; MTRR (Memory Type Range Register) support 163&lt;*&gt; MTRR (Memory Type Range Register) support
162Character devices ---&gt; 164Character devices ---&gt;
163&lt;M&gt; /dev/agpgart (AGP Support) 165&lt;M&gt; /dev/agpgart (AGP Support)
164[*] Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I860 support 166[M] Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I860 support
165<comment>(Enable your chipset instead of the above.)</comment> 167<comment>(Enable your chipset instead of the above.)</comment>
166&lt; &gt; Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) 168&lt; &gt; Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
167</pre> 169</pre>
168 170
169<p> 171<p>
170If you use a 2.4 kernel, make sure the Direct Rendering Manager (DRM) is 172Make 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 173The X11-DRM package will provide its own.
172<e>enable</e> the Direct Rendering Manager (DRM) as the X11-DRM package
173currently does not support 2.6 kernels yet.
174</p> 174</p>
175 175
176</body> 176</body>
177</section> 177</section>
178<section> 178<section>
179<title>Compile and install your kernel</title> 179<title>Compile and install your kernel</title>
180<body> 180<body>
181 181
182<pre caption="Compiling and installing kernel"> 182<pre caption="Compiling and installing kernel">
183<comment>(This example is for a 2.4 kernel)</comment>
183# <i>make dep &amp;&amp; make clean bzImage modules modules_install</i> 184# <i>make dep &amp;&amp; make clean bzImage modules modules_install</i>
184# <i>mount /boot</i> 185# <i>mount /boot</i>
185# <i>cp arch/i386/boot/bzImage /boot</i> 186# <i>cp arch/i386/boot/bzImage /boot</i>
186</pre> 187</pre>
187 188
198<chapter> 199<chapter>
199<title>Install X11-DRM and configure direct rendering</title> 200<title>Install X11-DRM and configure direct rendering</title>
200<section> 201<section>
201<title>Install X11-DRM</title> 202<title>Install X11-DRM</title>
202<body> 203<body>
203
204<warn>
205If you are a 2.6 kernel user, skip this section and go to <uri
206link="#configure_xorg">Configure Xorg.conf</uri>.
207</warn>
208 204
209<pre caption="Installing X11-DRM"> 205<pre caption="Installing X11-DRM">
210# <i>emerge x11-drm</i> 206# <i>emerge x11-drm</i>
211</pre> 207</pre>
212 208
223Savage users should not try xorg-x11-6.8.99.x as support for the savage there 219Savage users should not try xorg-x11-6.8.99.x as support for the savage there
224is broken. 220is broken.
225</p> 221</p>
226 222
227<pre caption="Rebuilding xorg-x11"> 223<pre caption="Rebuilding xorg-x11">
228# <i>vim /etc/portage/package.use</i>
229<comment>(Add the following line if you use one of the abovementioned chipsets)</comment> 224<comment>(Add the insecure-drivers USE flag if you use one of the aforementioned chipsets)</comment>
230x11-base/xorg-x11 insecure-drivers 225# <i>echo "x11-base/xorg-x11 insecure-drivers" &gt;&gt; /etc/portage/package.use</i>
231 226
232# <i>emerge xorg-x11</i> 227# <i>emerge xorg-x11</i>
233</pre> 228</pre>
234 229
235<p> 230<p>
259If you are using a different driver, replace "radeon" with yours. 254If you are using a different driver, replace "radeon" with yours.
260</p> 255</p>
261 256
262</body> 257</body>
263</section> 258</section>
259<section>
260<title>Changes to modules.autoload.d</title>
261<body>
262
263<p>
264You will need to add the module name that your card uses to
265<path>/etc/modules.autoload.d/kernel-2.6</path> to ensure that the module is
266loaded automatically when the system starts up.
267</p>
268
269<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
270<comment>(Change module name as required.)</comment>
271intel-agp
272</pre>
273
274</body>
275</section>
264</chapter> 276</chapter>
265 277
266<chapter> 278<chapter>
267<title>Test 3D acceleration</title> 279<title>Test 3D acceleration</title>
268<section> 280<section>

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20