Lines 442-449
Link Here
|
442 |
<body> |
442 |
<body> |
443 |
|
443 |
|
444 |
<p> |
444 |
<p> |
445 |
A few options may increase performance by up to 30 percent (or more) over the |
445 |
A few options may increase performance by up to 30 percent (or more) over the |
446 |
default. Set them in <path>/etc/X11/xorg.conf</path>. |
446 |
default. Set them in <path>/etc/X11/xorg.conf</path>. However, you will first |
|
|
447 |
need to check that your motherboard and video card support these options. |
448 |
</p> |
449 |
|
450 |
<p> |
451 |
First, let's see if your video card can support fast writes. We'll do this by |
452 |
closely inspecting the output from <c>lspci</c>. Specifically, we are looking |
453 |
at the "VGA compatible controller" information. |
454 |
</p> |
455 |
|
456 |
<pre caption="Video card check"> |
457 |
# <i>lspci -vv</i> |
458 |
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA]) |
459 |
. . . |
460 |
Capabilities: [58] AGP version 2.0 |
461 |
Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4 |
462 |
</pre> |
463 |
|
464 |
<p> |
465 |
While quite a lot of information is produced, we are looking for <b>FW</b> in |
466 |
the "Status" subsection of the AGP "Capabilities" section. If <b>FW+</b> is |
467 |
present in the "Status" line, it means the card supports fast writes. We can |
468 |
now check if the motherboard supports fast writes. |
469 |
</p> |
470 |
|
471 |
<impo> |
472 |
If you do not see <b>FW+</b>, but instead see <b>FW-</b>, you cannot enable |
473 |
fast writes in <path>xorg.conf</path>. Your card does not support fast writes. |
474 |
</impo> |
475 |
|
476 |
<p> |
477 |
Now let's make sure the motherboard supports fast writes as well. This time, |
478 |
look at the "Host bridge" section of your <c>lspci</c> output. |
479 |
</p> |
480 |
|
481 |
<pre caption="Motherboard check"> |
482 |
# <i>lspci -vv</i> |
483 |
00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 02) |
484 |
. . . |
485 |
Capabilities: [a0] AGP version 2.0 |
486 |
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4 |
487 |
</pre> |
488 |
|
489 |
<p> |
490 |
Again, examine the "Status" subsection of your AGP "Capabilities" section. Look |
491 |
for <b>FW</b>. If you see <b>FW+</b>, your motherboard supports fast writes. |
492 |
</p> |
493 |
|
494 |
<impo> |
495 |
Remember, both your video card information and your motherboard information |
496 |
must show the same <b>FW</b> capability. If either device shows <b>FW-</b> in |
497 |
"Status", you cannot enable fast writes in <path>xorg.conf</path>. |
498 |
</impo> |
499 |
|
500 |
<p> |
501 |
Assuming that all has gone well and both your motherboard and video card |
502 |
support fast writes, let's enable this option in |
503 |
<path>/etc/X11/xorg.conf</path> and get the best performance out of your |
504 |
hardware. |
447 |
</p> |
505 |
</p> |
448 |
|
506 |
|
449 |
<pre caption="xorg.conf"> |
507 |
<pre caption="xorg.conf"> |
Lines 470-515
Link Here
|
470 |
enable the appropriate option in your BIOS. |
528 |
enable the appropriate option in your BIOS. |
471 |
</note> |
529 |
</note> |
472 |
|
530 |
|
473 |
<!-- |
|
|
474 |
** |
475 |
This section needs to be in eventually, but non-nvidia cards don't use |
476 |
/proc/driver at all. We need some way to get users to check and see that SBA |
477 |
and fast-writes are allowed for their hardware; that info is somewhere else in |
478 |
/proc. If you have a non-nvidia card, you can help by emailing |
479 |
nightmorph@gentoo.org with the relevant bits of your /proc so I can get this |
480 |
info into the guide. See below for where things are found on an nvidia card. |
481 |
** |
482 |
|
483 |
<p> |
484 |
A few options may increase performance by up to 30 percent (or more) over the |
485 |
default. Set them in <path>/etc/X11/xorg.conf</path>. However, you will first |
486 |
need to check that your motherboard and video card support these options. |
487 |
</p> |
488 |
|
489 |
<p> |
490 |
First, let's check the supported modes of your video cards, and see if your it |
491 |
supports fast writes. Remember to replace <c>nvidia</c> with the actual name of |
492 |
your device in <path>/proc/driver/nvidia/</path>. |
493 |
</p> |
494 |
|
495 |
<pre caption="Video card check"> |
496 |
$ <i>cat /proc/driver/nvidia/agp/card</i> |
497 |
</pre> |
498 |
|
499 |
<p> |
500 |
Next, let's check out the capabilities of the motherboard: |
501 |
</p> |
502 |
|
503 |
<pre caption="Motherboard check"> |
504 |
$ <i>cat /proc/driver/nvidia/agp/host-bridge</i> |
505 |
</pre> |
506 |
|
507 |
<impo> |
508 |
Remember, the modes and capabilities for your video card and motherboard must |
509 |
match for these settings to work! |
510 |
</impo> |
511 |
--> |
512 |
|
513 |
<p> |
531 |
<p> |
514 |
If you want to set even more features, check out the <uri |
532 |
If you want to set even more features, check out the <uri |
515 |
link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on |
533 |
link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on |