/[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.46 Revision 1.47
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.46 2011/03/02 07:52:43 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.47 2011/03/23 09:26:50 nightmorph Exp $ -->
4 4
5<guide> 5<guide>
6<title>Hardware 3D Acceleration Guide</title> 6<title>Hardware 3D Acceleration Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
22 22
23<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 25<license/>
26 26
27<version>2</version> 27<version>3</version>
28<date>2011-03-01</date> 28<date>2011-03-23</date>
29 29
30<chapter> 30<chapter>
31<title>Introduction</title> 31<title>Introduction</title>
32<section> 32<section>
33<title>What is hardware 3D acceleration and why do I want it?</title> 33<title>What is hardware 3D acceleration and why do I want it?</title>
193<c>/sbin/lilo</c> if you use LILO. 193<c>/sbin/lilo</c> if you use LILO.
194</p> 194</p>
195 195
196</body> 196</body>
197</section> 197</section>
198<section>
199<title>Add your user to the video group</title>
200<body>
201
202<p>
203Next, add your user(s) to the video group, as explained in the <uri
204link="/doc/en/handbook">handbook</uri>:
205</p>
206
207<pre caption="Adding a user to the video group">
208# <i>gpasswd -a username video</i>
209</pre>
210
211</body>
212</section>
198</chapter> 213</chapter>
199 214
200<chapter> 215<chapter>
201<title>Configure direct rendering</title> 216<title>Configure direct rendering</title>
202<section id="configure_xorg"> 217<section id="configure_xorg">
203<title>Configure Xorg.conf</title> 218<title>Configure Xorg</title>
204<body> 219<body>
205 220
206<p>
207Open <path>/etc/X11/xorg.conf</path> with your favorite text editor and edit
208it to enable DRI and GLX.
209</p> 221<p>
222Hopefully just adding your user to the <c>video</c> group is sufficient to
223enable direct rendering. However, you may also need to create a file in
224<path>/etc/X11/xorg.conf.d/</path>. You can name it anything you like; just make
225sure it ends in <path>.conf</path>. Open up your favorite text editor and create
226a file with this inside it:
227</p>
210 228
211<pre caption="xorg.conf"> 229<pre caption="/etc/X11/xorg.conf.d/10-dri.conf">
212...
213Section "Module"
214 Load "dri"
215 Load "glx"
216 ...
217EndSection
218...
219Section "Device" 230Section "Device"
220 Driver "radeon" 231 Driver "radeon"
221 <comment>(Replace radeon with the name of your driver.)</comment> 232 <comment>(Replace radeon with the name of your driver.)</comment>
222 ...
223EndSection 233EndSection
224...
225Section "dri" 234Section "dri"
226 Mode 0666 235 Mode 0666
227EndSection 236EndSection
228</pre> 237</pre>
229 238

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20