Gentoo Archives: gentoo-doc-cvs

From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: dri-howto.xml
Date: Wed, 23 Mar 2011 09:27:00
Message-Id: 20110323092650.8482620054@flycatcher.gentoo.org
1 nightmorph 11/03/23 09:26:50
2
3 Modified: dri-howto.xml
4 Log:
5 add note on the video group, bug 358287
6
7 Revision Changes Path
8 1.47 xml/htdocs/doc/en/dri-howto.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/dri-howto.xml?rev=1.47&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/dri-howto.xml?rev=1.47&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/dri-howto.xml?r1=1.46&r2=1.47
13
14 Index: dri-howto.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v
17 retrieving revision 1.46
18 retrieving revision 1.47
19 diff -u -r1.46 -r1.47
20 --- dri-howto.xml 2 Mar 2011 07:52:43 -0000 1.46
21 +++ dri-howto.xml 23 Mar 2011 09:26:50 -0000 1.47
22 @@ -1,6 +1,6 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.46 2011/03/02 07:52:43 nightmorph Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.47 2011/03/23 09:26:50 nightmorph Exp $ -->
27
28 <guide>
29 <title>Hardware 3D Acceleration Guide</title>
30 @@ -24,8 +24,8 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>2</version>
35 -<date>2011-03-01</date>
36 +<version>3</version>
37 +<date>2011-03-23</date>
38
39 <chapter>
40 <title>Introduction</title>
41 @@ -195,33 +195,42 @@
42
43 </body>
44 </section>
45 +<section>
46 +<title>Add your user to the video group</title>
47 +<body>
48 +
49 +<p>
50 +Next, add your user(s) to the video group, as explained in the <uri
51 +link="/doc/en/handbook">handbook</uri>:
52 +</p>
53 +
54 +<pre caption="Adding a user to the video group">
55 +# <i>gpasswd -a username video</i>
56 +</pre>
57 +
58 +</body>
59 +</section>
60 </chapter>
61
62 <chapter>
63 <title>Configure direct rendering</title>
64 <section id="configure_xorg">
65 -<title>Configure Xorg.conf</title>
66 +<title>Configure Xorg</title>
67 <body>
68
69 <p>
70 -Open <path>/etc/X11/xorg.conf</path> with your favorite text editor and edit
71 -it to enable DRI and GLX.
72 +Hopefully just adding your user to the <c>video</c> group is sufficient to
73 +enable direct rendering. However, you may also need to create a file in
74 +<path>/etc/X11/xorg.conf.d/</path>. You can name it anything you like; just make
75 +sure it ends in <path>.conf</path>. Open up your favorite text editor and create
76 +a file with this inside it:
77 </p>
78
79 -<pre caption="xorg.conf">
80 -...
81 -Section "Module"
82 - Load "dri"
83 - Load "glx"
84 - ...
85 -EndSection
86 -...
87 +<pre caption="/etc/X11/xorg.conf.d/10-dri.conf">
88 Section "Device"
89 Driver "radeon"
90 <comment>(Replace radeon with the name of your driver.)</comment>
91 - ...
92 EndSection
93 -...
94 Section "dri"
95 Mode 0666
96 EndSection