Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 116506 | Differences between
and this patch

Collapse All | Expand All

(-)dri-howto.xml.orig (-5 / +66 lines)
Lines 20-27 Link Here
20
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
20
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
21
<license/>
21
<license/>
22
22
23
<version>1.0.15</version>
23
<version>1.0.16</version>
24
<date>2005-12-16</date>
24
<date>2005-12-23</date>
25
25
26
<chapter>
26
<chapter>
27
<title>Introduction</title>
27
<title>Introduction</title>
Lines 436-449 Link Here
436
<body>
436
<body>
437
437
438
<p>
438
<p>
439
A few options may increase performance by up to 30 percent (or more) over the 
439
A few options may increase performance by up to 30 percent (or more) over the
440
default. Set them in <path>/etc/X11/xorg.conf</path>.
440
default. Set them in <path>/etc/X11/xorg.conf</path>. However, you will first
441
need to check that your motherboard and video card support these options.
441
</p>
442
</p>
442
443
444
<p>
445
First, let's check the supported modes of your video cards, and see if your it
446
supports fast writes. Remember to replace <c>nvidia</c> with the actual name of
447
your device in <path>/proc/driver/nvidia/</path>.
448
</p>
449
450
<pre caption="Video card check">
451
$ <i>cat /proc/driver/nvidia/agp/card</i>
452
453
Fast Writes:     Supported
454
SBA:             Not Supported
455
AGP Rates:       4x 2x 1x
456
Registers:       0x1f000017:0x1f000104
457
</pre>
458
459
<p>
460
This shows that my card is capable of Fast Writes, which can noticeably improve
461
performance, as you will see later. However, the card does not support side
462
band addressing (<c>SBA</c>, a great way to make your hardware to deliver the
463
performance it should). However, it is capable of writing at 4x, which is the
464
ideal setting, and should be used by default.
465
</p>
466
467
<p>
468
Next, let's check out the capabilities of the motherboard:
469
</p>
470
471
<pre caption="Mmotherboard check">
472
$ <i>cat /proc/driver/nvidia/agp/host-bridge</i>
473
474
Host Bridge:     Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub
475
Fast Writes:     Not Supported
476
SBA:             Supported
477
AGP Rates:       4x 2x 1x
478
Registers:       0x1f000207:0x00000104
479
</pre>
480
481
<p>
482
Unfortunately, though my motherboard supports SBA, it does not support Fast
483
Writes. This means that I can use neither Fast Writes nor side band addressing,
484
as both components need to support them. However, your hardware may support
485
both. If it does, you can try out the example settings below.
486
</p>
487
488
<impo>
489
Remember, the modes and capabilities for your video card and motherboard must
490
match for these settings to work!
491
</impo>
492
443
<pre caption="xorg.conf">
493
<pre caption="xorg.conf">
444
Section "Device"
494
Section "Device"
445
  Option     "AGPMode" "4"
495
  Option     "AGPMode" "4"
446
  <comment>(This increased FPS from 609 to 618.)</comment>
496
  <comment>This increased FPS from 609 to 618. This sets the card to run at 4x speed. Use the multiples provided in your /proc info.</comment>
447
  Option     "AGPFastWrite" "True"
497
  Option     "AGPFastWrite" "True"
448
  <comment>(This had no measurable effect, but it may increase instability of your computer.)</comment>
498
  <comment>(This had no measurable effect, but it may increase instability of your computer.)</comment>
449
  <comment>(You may also need to set it in your BIOS.)</comment>
499
  <comment>(You may also need to set it in your BIOS.)</comment>
Lines 453-458 Link Here
453
EndSection
503
EndSection
454
</pre>
504
</pre>
455
505
506
<warn>
507
Note that enabling <c>AGPFastWrite</c> on a VIA chipset will very likely cause
508
your machine to lock up. VIA chipsets do not play nice with fast writes, so use
509
this setting at your own risk.
510
</warn>
511
512
<note>
513
Remember, if you want fast writes and sideband addressing to work properly, you
514
will have to first enable them in your BIOS.
515
</note>
516
456
<p>
517
<p>
457
If you want to set even more features, check out the <uri
518
If you want to set even more features, check out the <uri
458
link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on
519
link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on

Return to bug 116506