nightmorph 11/03/23 09:26:50 Modified: dri-howto.xml Log: add note on the video group, bug 358287
Revision Changes Path 1.47 xml/htdocs/doc/en/dri-howto.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/dri-howto.xml?rev=1.47&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/dri-howto.xml?rev=1.47&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/dri-howto.xml?r1=1.46&r2=1.47 Index: dri-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- dri-howto.xml 2 Mar 2011 07:52:43 -0000 1.46 +++ dri-howto.xml 23 Mar 2011 09:26:50 -0000 1.47 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.46 2011/03/02 07:52:43 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.47 2011/03/23 09:26:50 nightmorph Exp $ --> <guide> <title>Hardware 3D Acceleration Guide</title> @@ -24,8 +24,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>2</version> -<date>2011-03-01</date> +<version>3</version> +<date>2011-03-23</date> <chapter> <title>Introduction</title> @@ -195,33 +195,42 @@ </body> </section> +<section> +<title>Add your user to the video group</title> +<body> + +<p> +Next, add your user(s) to the video group, as explained in the <uri +link="/doc/en/handbook">handbook</uri>: +</p> + +<pre caption="Adding a user to the video group"> +# <i>gpasswd -a username video</i> +</pre> + +</body> +</section> </chapter> <chapter> <title>Configure direct rendering</title> <section id="configure_xorg"> -<title>Configure Xorg.conf</title> +<title>Configure Xorg</title> <body> <p> -Open <path>/etc/X11/xorg.conf</path> with your favorite text editor and edit -it to enable DRI and GLX. +Hopefully just adding your user to the <c>video</c> group is sufficient to +enable direct rendering. However, you may also need to create a file in +<path>/etc/X11/xorg.conf.d/</path>. You can name it anything you like; just make +sure it ends in <path>.conf</path>. Open up your favorite text editor and create +a file with this inside it: </p> -<pre caption="xorg.conf"> -... -Section "Module" - Load "dri" - Load "glx" - ... -EndSection -... +<pre caption="/etc/X11/xorg.conf.d/10-dri.conf"> Section "Device" Driver "radeon" <comment>(Replace radeon with the name of your driver.)</comment> - ... EndSection -... Section "dri" Mode 0666 EndSection
