Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: dri-howto.xml
Date: Fri, 12 May 2006 19:32:01
Message-Id: 20060512193227.1408264509@smtp.gentoo.org
1 nightmorph 06/05/12 19:32:26
2
3 Modified: dri-howto.xml
4 Log:
5 Finally added hardware checks for dri-howto.xml. *and* they're non-nvidia-specific, though they work for nvidia cards. radeon-ricers can rejoice, though ymmv. not responsible for breakages. not responsible for lost or stolen articles. void where prohibited.
6
7 Revision Changes Path
8 1.30 xml/htdocs/doc/en/dri-howto.xml
9
10 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/dri-howto.xml?rev=1.30&content-type=text/x-cvsweb-markup&cvsroot=gentoo
11 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/dri-howto.xml?rev=1.30&content-type=text/plain&cvsroot=gentoo
12 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/dri-howto.xml.diff?r1=1.29&r2=1.30&cvsroot=gentoo
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.29
18 retrieving revision 1.30
19 diff -u -r1.29 -r1.30
20 --- dri-howto.xml 7 May 2006 12:39:17 -0000 1.29
21 +++ dri-howto.xml 12 May 2006 19:32:26 -0000 1.30
22 @@ -1,5 +1,5 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.29 2006/05/07 12:39:17 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/dri-howto.xml,v 1.30 2006/05/12 19:32:26 nightmorph Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 <guide link="/doc/en/dri-howto.xml">
29 @@ -21,7 +21,7 @@
30 <license/>
31
32 <version>1.3</version>
33 -<date>2006-05-07</date>
34 +<date>2006-05-12</date>
35
36 <chapter>
37 <title>Introduction</title>
38 @@ -442,8 +442,66 @@
39 <body>
40
41 <p>
42 -A few options may increase performance by up to 30 percent (or more) over the
43 -default. Set them in <path>/etc/X11/xorg.conf</path>.
44 +A few options may increase performance by up to 30 percent (or more) over the
45 +default. Set them in <path>/etc/X11/xorg.conf</path>. However, you will first
46 +need to check that your motherboard and video card support these options.
47 +</p>
48 +
49 +<p>
50 +First, let's see if your video card can support fast writes. We'll do this by
51 +closely inspecting the output from <c>lspci</c>. Specifically, we are looking
52 +at the "VGA compatible controller" information.
53 +</p>
54 +
55 +<pre caption="Video card check">
56 +# <i>lspci -vv</i>
57 +01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA])
58 +. . .
59 +Capabilities: [58] AGP version 2.0
60 + Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
61 +</pre>
62 +
63 +<p>
64 +While quite a lot of information is produced, we are looking for <b>FW</b> in
65 +the "Status" subsection of the AGP "Capabilities" section. If <b>FW+</b> is
66 +present in the "Status" line, it means the card supports fast writes. We can
67 +now check if the motherboard supports fast writes.
68 +</p>
69 +
70 +<impo>
71 +If you do not see <b>FW+</b>, but instead see <b>FW-</b>, you cannot enable
72 +fast writes in <path>xorg.conf</path>. Your card does not support fast writes.
73 +</impo>
74 +
75 +<p>
76 +Now let's make sure the motherboard supports fast writes as well. This time,
77 +look at the "Host bridge" section of your <c>lspci</c> output.
78 +</p>
79 +
80 +<pre caption="Motherboard check">
81 +# <i>lspci -vv</i>
82 +00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 02)
83 +. . .
84 +Capabilities: [a0] AGP version 2.0
85 + Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
86 +</pre>
87 +
88 +<p>
89 +Again, examine the "Status" subsection of your AGP "Capabilities" section. Look
90 +for <b>FW</b>. If you see <b>FW+</b>, your motherboard supports fast writes.
91 +</p>
92 +
93 +<impo>
94 +Remember, both your video card information and your motherboard information
95 +must show the same <b>FW</b> capability. If either device shows <b>FW-</b> in
96 +"Status", you cannot enable fast writes in <path>xorg.conf</path>.
97 +</impo>
98 +
99 +<p>
100 +Assuming that all has gone well and both your motherboard and video card
101 +support fast writes, let's enable this option in
102 +<path>/etc/X11/xorg.conf</path> and get the best performance out of your
103 +hardware.
104 </p>
105
106 <pre caption="xorg.conf">
107 @@ -470,46 +528,6 @@
108 enable the appropriate option in your BIOS.
109 </note>
110
111 -<!--
112 -**
113 -This section needs to be in eventually, but non-nvidia cards don't use
114 -/proc/driver at all. We need some way to get users to check and see that SBA
115 -and fast-writes are allowed for their hardware; that info is somewhere else in
116 -/proc. If you have a non-nvidia card, you can help by emailing
117 -nightmorph@g.o with the relevant bits of your /proc so I can get this
118 -info into the guide. See below for where things are found on an nvidia card.
119 -**
120 -
121 -<p>
122 -A few options may increase performance by up to 30 percent (or more) over the
123 -default. Set them in <path>/etc/X11/xorg.conf</path>. However, you will first
124 -need to check that your motherboard and video card support these options.
125 -</p>
126 -
127 -<p>
128 -First, let's check the supported modes of your video cards, and see if your it
129 -supports fast writes. Remember to replace <c>nvidia</c> with the actual name of
130 -your device in <path>/proc/driver/nvidia/</path>.
131 -</p>
132 -
133 -<pre caption="Video card check">
134 -$ <i>cat /proc/driver/nvidia/agp/card</i>
135 -</pre>
136 -
137 -<p>
138 -Next, let's check out the capabilities of the motherboard:
139 -</p>
140 -
141 -<pre caption="Motherboard check">
142 -$ <i>cat /proc/driver/nvidia/agp/host-bridge</i>
143 -</pre>
144 -
145 -<impo>
146 -Remember, the modes and capabilities for your video card and motherboard must
147 -match for these settings to work!
148 -</impo>
149 --->
150 -
151 <p>
152 If you want to set even more features, check out the <uri
153 link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on
154
155
156
157 --
158 gentoo-doc-cvs@g.o mailing list