/[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.24 Revision 1.26
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.24 2005/07/30 09:47:30 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">
16with Xorg in Gentoo Linux. 16with Xorg in Gentoo Linux.
17</abstract> 17</abstract>
18 18
19<license/> 19<license/>
20 20
21<version>1.0.12</version> 21<version>1.0.14</version>
22<date>2005-07-28</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>
61<section> 61<section>
62<title>What is DRI?</title> 62<title>What is DRI?</title>
63<body> 63<body>
64 64
65<p> 65<p>
66The Direct Rendering Infrastructure (<uri 66The <uri link="http://dri.freedesktop.org/wiki/">Direct Rendering
67link="http://dri.sourceforge.net">dri.sourceforge.net</uri>), also known as the 67Infrastructure</uri>, also known as the DRI, is a framework for allowing direct
68DRI, is a framework for allowing direct access to graphics hardware in a safe 68access to graphics hardware in a safe and efficient manner. It includes changes
69and efficient manner. It includes changes to the X server, to several client 69to the X server, to several client libraries and to the kernel. The first major
70libraries and to the kernel. The first major use for the DRI is to create fast 70use for the DRI is to create fast OpenGL implementations.
71OpenGL implementations.
72</p> 71</p>
73 72
74</body> 73</body>
75</section> 74</section>
76<section> 75<section>
87<section> 86<section>
88<title>Purpose</title> 87<title>Purpose</title>
89<body> 88<body>
90 89
91<p> 90<p>
92This guide is for people who can't get direct rendering working with just 91This guide is for people who can't get direct rendering working with just Xorg.
93Xorg. X11-DRM works for 3dfx, gamma, i8x0, matrox, rage128, radeon, mach64 92X11-DRM works for 3dfx, gamma, i8x0, matrox, rage128, radeon, mach64 and sis300
94and sis300 series drivers. See the <uri 93series drivers. See the <uri link="http://dri.freedesktop.org/">DRI
95link="http://dri.sourceforge.net">DRI homepage</uri> for more info and 94homepage</uri> for more info and documentation.
96documentation.
97</p> 95</p>
98 96
99</body> 97</body>
100</section> 98</section>
101<section> 99<section>
167<comment>(Enable your chipset instead of the above.)</comment> 165<comment>(Enable your chipset instead of the above.)</comment>
168&lt; &gt; Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) 166&lt; &gt; Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
169</pre> 167</pre>
170 168
171<p> 169<p>
172If you use a 2.4 kernel, make sure the Direct Rendering Manager (DRM) is 170Make sure the Direct Rendering Manager (DRM) is <e>off</e>.
173<e>off</e>. The X11-DRM package will provide its own. 2.6 kernel users should 171The X11-DRM package will provide its own.
174<e>enable</e> the Direct Rendering Manager (DRM) as the X11-DRM package
175currently does not support 2.6 kernels yet.
176</p> 172</p>
177 173
178</body> 174</body>
179</section> 175</section>
180<section> 176<section>
181<title>Compile and install your kernel</title> 177<title>Compile and install your kernel</title>
182<body> 178<body>
183 179
184<pre caption="Compiling and installing kernel"> 180<pre caption="Compiling and installing kernel">
181<comment>(This example is for a 2.4 kernel)</comment>
185# <i>make dep &amp;&amp; make clean bzImage modules modules_install</i> 182# <i>make dep &amp;&amp; make clean bzImage modules modules_install</i>
186# <i>mount /boot</i> 183# <i>mount /boot</i>
187# <i>cp arch/i386/boot/bzImage /boot</i> 184# <i>cp arch/i386/boot/bzImage /boot</i>
188</pre> 185</pre>
189 186
200<chapter> 197<chapter>
201<title>Install X11-DRM and configure direct rendering</title> 198<title>Install X11-DRM and configure direct rendering</title>
202<section> 199<section>
203<title>Install X11-DRM</title> 200<title>Install X11-DRM</title>
204<body> 201<body>
205
206<warn>
207If you are a 2.6 kernel user, skip this section and go to <uri
208link="#configure_xorg">Configure Xorg.conf</uri>.
209</warn>
210 202
211<pre caption="Installing X11-DRM"> 203<pre caption="Installing X11-DRM">
212# <i>emerge x11-drm</i> 204# <i>emerge x11-drm</i>
213</pre> 205</pre>
214 206
319<section> 311<section>
320<title>Do the CVS sources support your card?</title> 312<title>Do the CVS sources support your card?</title>
321<body> 313<body>
322 314
323<p> 315<p>
324Check the DRI <uri 316Check the DRI <uri link="http://dri.freedesktop.org/wiki/Status">supported
325link="http://dri.sourceforge.net/cgi-bin/moin.cgi/Status">supported cards
326list</uri> to see if the CVS supports your card. Even if it doesn't, but it 317cards list</uri> to see if the CVS supports your card. Even if it doesn't, but
327supports a similar card, try it. 318it supports a similar card, try it.
328</p> 319</p>
329 320
330<!-- I see a couple of 8x AGP stuff on the Internet about vanilla 2.4 kernels; 321<!-- I see a couple of 8x AGP stuff on the Internet about vanilla 2.4 kernels;
331 is this now available or not? I've commented it out for the time being, 322 is this now available or not? I've commented it out for the time being,
332 hoping that this doesn't affect us :) 323 hoping that this doesn't affect us :)
357<title>Follow the CVS Instructions</title> 348<title>Follow the CVS Instructions</title>
358<body> 349<body>
359 350
360<p> 351<p>
361The DRI project has a document about CVS compiling themselves. Please read <uri 352The DRI project has a document about CVS compiling themselves. Please read <uri
362link="http://dri.sourceforge.net/cgi-bin/moin.cgi/Building">the document</uri> 353link="http://dri.freedesktop.org/wiki/Building">the document</uri> and follow
363and follow the instructions up to the <e>Installing for X.org</e> part. 354the instructions up to the <e>Installing for X.org</e> part.
364</p> 355</p>
365 356
366</body> 357</body>
367</section> 358</section>
368<section> 359<section>
442 ... 433 ...
443EndSection 434EndSection
444</pre> 435</pre>
445 436
446<p> 437<p>
447If you want to set even more features, check out the <uri 438If you want to set even more features, check out the <uri
439link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on
440the DRI web site or the <uri
448link="http://dri.sourceforge.net/doc/dri_driver_features.phtml">features 441link="http://dri.sourceforge.net/doc/dri_driver_features.phtml">features
449listing</uri> on the DRI Web site. 442listing</uri> on Sourceforge.
450</p> 443</p>
451 444
452</body> 445</body>
453</section> 446</section>
454</chapter> 447</chapter>
563<title>References</title> 556<title>References</title>
564<section> 557<section>
565<body> 558<body>
566 559
567<ol> 560<ol>
568 <li>http://forums.gentoo.org/viewtopic.php?t=46681</li> 561 <li><uri>http://forums.gentoo.org/viewtopic.php?t=46681</uri></li>
569 <li>http://forums.gentoo.org/viewtopic.php?t=29264</li> 562 <li><uri>http://forums.gentoo.org/viewtopic.php?t=29264</uri></li>
570 <li>http://dri.sourceforge.net/</li> 563 <li><uri>http://dri.freedesktop.org/</uri></li>
571 <li>http://www.retinalburn.net/linux/dri_status.html</li> 564 <li><uri>http://www.retinalburn.net/linux/dri_status.html</uri></li>
572</ol> 565</ol>
573 566
574</body> 567</body>
575</section> 568</section>
576</chapter> 569</chapter>

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20