/[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.20 Revision 1.21
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.20 2005/02/14 15:43:47 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.21 2005/04/06 09:39:59 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">
133</p> 133</p>
134 134
135<pre caption="Checking your AGP chipset"> 135<pre caption="Checking your AGP chipset">
136# <i>emerge pciutils; lspci | grep AGP</i> 136# <i>emerge pciutils; lspci | grep AGP</i>
137# <i>00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)</i> 137# <i>00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)</i>
138<codenote>Your output may not match the above due to different hardware.</codenote> 138<comment>(Your output may not match the above due to different hardware.)</comment>
139</pre> 139</pre>
140 140
141<p> 141<p>
142If your chipset is not supported by the kernel you might have some succes by 142If your chipset is not supported by the kernel you might have some succes by
143passing <c>agp=try_unsupported</c> as a kernel parameter. This will use Intel's 143passing <c>agp=try_unsupported</c> as a kernel parameter. This will use Intel's
151</p> 151</p>
152 152
153<pre caption="Configuring the kernel"> 153<pre caption="Configuring the kernel">
154# <i>ls -l /usr/src/linux </i> 154# <i>ls -l /usr/src/linux </i>
155lrwxrwxrwx 1 root root 22 May 29 18:20 /usr/src/linux -> linux-2.4.20-gentoo-r5 155lrwxrwxrwx 1 root root 22 May 29 18:20 /usr/src/linux -> linux-2.4.20-gentoo-r5
156<codenote>Make sure /usr/src/linux links to your current kernel.</codenote> 156<comment>(Make sure /usr/src/linux links to your current kernel.)</comment>
157# <i>cd /usr/src/linux</i> 157# <i>cd /usr/src/linux</i>
158# <i>make menuconfig</i> 158# <i>make menuconfig</i>
159</pre> 159</pre>
160 160
161<pre caption="make menuconfig options"> 161<pre caption="make menuconfig options">
162Processor type and features ---&gt; 162Processor type and features ---&gt;
163&lt;*&gt; MTRR (Memory Type Range Register) support 163&lt;*&gt; MTRR (Memory Type Range Register) support
164Character devices ---&gt; 164Character devices ---&gt;
165&lt;M&gt; /dev/agpgart (AGP Support) 165&lt;M&gt; /dev/agpgart (AGP Support)
166[*] Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I860 support 166[*] Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I860 support
167<codenote>Enable your chipset instead of the above.</codenote> 167<comment>(Enable your chipset instead of the above.)</comment>
168[ ] Direct Rendering Manager (XFree86 DRI support) 168[ ] Direct Rendering Manager (XFree86 DRI support)
169</pre> 169</pre>
170 170
171<p> 171<p>
172If you use a 2.4 kernel, make sure the Direct Rendering Manager (DRM) is 172If you use a 2.4 kernel, make sure the Direct Rendering Manager (DRM) is
260rendering and how good it is. 260rendering and how good it is.
261</p> 261</p>
262 262
263<pre caption="Testing rendering"> 263<pre caption="Testing rendering">
264# <i>startx</i> 264# <i>startx</i>
265<codenote>No need to load modules for your driver or agpgart, if you compiled agpgart as a module.</codenote> 265<comment>(No need to load modules for your driver or agpgart, if you compiled agpgart as a module.)</comment>
266<codenote>They will be loaded automatically.</codenote> 266<comment>(They will be loaded automatically.)</comment>
267# <i>glxinfo | grep rendering</i> 267# <i>glxinfo | grep rendering</i>
268direct rendering: Yes 268direct rendering: Yes
269<codenote>If it says "No," you don't have 3D acceleration.</codenote> 269<comment>(If it says "No," you don't have 3D acceleration.)</comment>
270# <i>glxgears</i> 270# <i>glxgears</i>
271<codenote>Test your frames per second (FPS) at the default size. The number should be </codenote> 271<comment>(Test your frames per second (FPS) at the default size. The number should be )</comment>
272<codenote>significantly higher than before installing x11-drm. Do this while the CPU is as idle as possible.</codenote> 272<comment>(significantly higher than before installing x11-drm. Do this while the CPU is as idle as possible.)</comment>
273</pre> 273</pre>
274 274
275</body> 275</body>
276</section> 276</section>
277</chapter> 277</chapter>
377or xorg-x11. 377or xorg-x11.
378</p> 378</p>
379 379
380<pre caption="Backing up Xorg"> 380<pre caption="Backing up Xorg">
381# <i>quickpkg xorg-x11</i> 381# <i>quickpkg xorg-x11</i>
382<codenote>This backs up your Xorg-X11 package.</codenote> 382<comment>(This backs up your Xorg-X11 package.)</comment>
383# <i>make install</i> 383# <i>make install</i>
384</pre> 384</pre>
385 385
386<p> 386<p>
387Follow the "Configure Xorg" section above. 387Follow the "Configure Xorg" section above.
417</p> 417</p>
418 418
419<pre caption="xorg.conf"> 419<pre caption="xorg.conf">
420Section "Device" 420Section "Device"
421 Option "AGPMode" "4" 421 Option "AGPMode" "4"
422 <codenote>This increased FPS from 609 to 618.</codenote> 422 <comment>(This increased FPS from 609 to 618.)</comment>
423 Option "AGPFastWrite" "True" 423 Option "AGPFastWrite" "True"
424 <codenote>This had no measurable effect, but it may increase instability of your computer.</codenote> 424 <comment>(This had no measurable effect, but it may increase instability of your computer.)</comment>
425 <codenote>You may also need to set it in your BIOS.</codenote> 425 <comment>(You may also need to set it in your BIOS.)</comment>
426 Option "EnablePageFlip" "True" 426 Option "EnablePageFlip" "True"
427 <codenote>This improved FPS from 618 to 702. It also is "risky" but few people have reported problems.</codenote> 427 <comment>(This improved FPS from 618 to 702. It also is "risky" but few people have reported problems.)</comment>
428 ... 428 ...
429EndSection 429EndSection
430</pre> 430</pre>
431 431
432<p> 432<p>

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20