/[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.40 Revision 1.41
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.40 2007/08/23 22:31:14 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.41 2008/05/21 19:29:22 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 6
7<title>Hardware 3D Acceleration Guide</title> 7<title>Hardware 3D Acceleration Guide</title>
33<section> 33<section>
34<title>What is hardware 3D acceleration and why do I want it?</title> 34<title>What is hardware 3D acceleration and why do I want it?</title>
35<body> 35<body>
36 36
37<p> 37<p>
38With hardware 3D acceleration, three-dimensional rendering uses the graphics 38With hardware 3D acceleration, three-dimensional rendering uses the graphics
39processor on your video card instead of taking up valuable CPU resources 39processor on your video card instead of taking up valuable CPU resources
40drawing 3D images. It's also referred to as "hardware acceleration" instead of 40drawing 3D images. It's also referred to as "hardware acceleration" instead of
41"software acceleration" because without this 3D acceleration your CPU is forced 41"software acceleration" because without this 3D acceleration your CPU is forced
42to draw everything itself using the Mesa software rendering libraries, which 42to draw everything itself using the Mesa software rendering libraries, which
43takes up quite a bit of processing power. While Xorg typically supports 2D 43takes up quite a bit of processing power. While Xorg typically supports 2D
44hardware acceleration, it often lacks hardware 3D acceleration. 44hardware acceleration, it often lacks hardware 3D acceleration.
45Three-dimensional hardware acceleration is valuable in situations requiring 45Three-dimensional hardware acceleration is valuable in situations requiring
46rendering of 3D objects such as games, 3D CAD and modeling. 46rendering of 3D objects such as games, 3D CAD and modeling.
47</p> 47</p>
48 48
49</body> 49</body>
50</section> 50</section>
118<section> 118<section>
119<title>Feedback</title> 119<title>Feedback</title>
120<body> 120<body>
121 121
122<p> 122<p>
123With suggestions, questions, etc., e-mail <mail 123With suggestions, questions, etc., e-mail <mail
124link="dberkholz@gentoo.org">Donnie Berkholz</mail>. 124link="dberkholz@gentoo.org">Donnie Berkholz</mail>.
125</p> 125</p>
126 126
127</body> 127</body>
128</section> 128</section>
211<section id="configure_xorg"> 211<section id="configure_xorg">
212<title>Configure Xorg.conf</title> 212<title>Configure Xorg.conf</title>
213<body> 213<body>
214 214
215<p> 215<p>
216Open <path>/etc/X11/xorg.conf</path> with your favorite text editor and edit 216Open <path>/etc/X11/xorg.conf</path> with your favorite text editor and edit
217it to enable DRI and GLX. 217it to enable DRI and GLX.
218</p> 218</p>
219 219
220<pre caption="xorg.conf"> 220<pre caption="xorg.conf">
221... 221...
281<comment>(They will be loaded automatically.)</comment> 281<comment>(They will be loaded automatically.)</comment>
282$ <i>glxinfo | grep rendering</i> 282$ <i>glxinfo | grep rendering</i>
283direct rendering: Yes 283direct rendering: Yes
284<comment>(If it says "No", you don't have 3D acceleration.)</comment> 284<comment>(If it says "No", you don't have 3D acceleration.)</comment>
285$ <i>glxgears</i> 285$ <i>glxgears</i>
286<comment>(Test your frames per second (FPS) at the default size. The number should be 286<comment>(Test your frames per second (FPS) at the default size. The number should be
287significantly higher than before configuring DRM. Do this while the CPU is as idle as 287significantly higher than before configuring DRM. Do this while the CPU is as idle as
288possible.)</comment> 288possible.)</comment>
289</pre> 289</pre>
290 290
291<note> 291<note>
292FPS may be limited by your screen's refresh rate, so keep this in mind if 292FPS may be limited by your screen's refresh rate, so keep this in mind if
420<section> 420<section>
421<title>When I startx, I get this error: "[drm] failed to load kernel module agpgart"</title> 421<title>When I startx, I get this error: "[drm] failed to load kernel module agpgart"</title>
422<body> 422<body>
423 423
424<p> 424<p>
425That's because you compiled agpgart into the kernel instead of as a module. 425That's because you compiled agpgart into the kernel instead of as a module.
426Ignore it unless you're having problems. 426Ignore it unless you're having problems.
427</p> 427</p>
428 428
429</body> 429</body>
430</section> 430</section>
460<section> 460<section>
461<title>I have a PCI card and it doesn't work. Help!</title> 461<title>I have a PCI card and it doesn't work. Help!</title>
462<body> 462<body>
463 463
464<p> 464<p>
465Edit <path>/etc/X11/xorg.conf</path>. In section "Device" enable ForcePCIMode. 465Edit <path>/etc/X11/xorg.conf</path>. In section "Device" enable ForcePCIMode.
466</p> 466</p>
467 467
468<pre caption="Enabling ForcePCIMode"> 468<pre caption="Enabling ForcePCIMode">
469Option "ForcePCIMode" "True" 469Option "ForcePCIMode" "True"
470</pre> 470</pre>
478<section> 478<section>
479<body> 479<body>
480 480
481<ol> 481<ol>
482 <li> 482 <li>
483 Christopher Webber for suggesting a troubleshooting question about changing 483 Christopher Webber for suggesting a troubleshooting question about changing
484 or recompiling kernels 484 or recompiling kernels
485 </li> 485 </li>
486 <li> 486 <li>
487 Steve, for suggesting consistency between the cases of dri and DRI in 487 Steve, for suggesting consistency between the cases of dri and DRI in
488 XF86Config 488 XF86Config
489 </li> 489 </li>
490</ol> 490</ol>
491 491
492</body> 492</body>

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20