Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 76258 Details for
Bug 116506
Hardware Acceleration Guide lacks checks for hardware support of options
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dri-howto.xml.patch w/out nVidia
dri-howto.xml.patch (text/plain), 4.32 KB, created by
nm (RETIRED)
on 2006-01-05 12:05:13 UTC
(
hide
)
Description:
dri-howto.xml.patch w/out nVidia
Filename:
MIME Type:
Creator:
nm (RETIRED)
Created:
2006-01-05 12:05:13 UTC
Size:
4.32 KB
patch
obsolete
>--- Gentoo Docs/dri-howto.xml.orig 2005-12-23 08:43:01.000000000 -0800 >+++ Gentoo Docs/dri-howto.xml 2006-01-05 11:13:24.000000000 -0800 >@@ -20,8 +20,8 @@ > <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> > <license/> > >-<version>1.0.15</version> >-<date>2005-12-16</date> >+<version>1.0.16</version> >+<date>2006-01-05</date> > > <chapter> > <title>Introduction</title> >@@ -283,18 +283,18 @@ > <body> > > <p> >-Reboot your computer to your new kernel. It's time to see if you have direct >-rendering and how good it is. >+Reboot your computer to your new kernel and login as a normal user. It's time >+to see if you have direct rendering and how good it is. > </p> > > <pre caption="Testing rendering"> >-# <i>startx</i> >+$ <i>startx</i> > <comment>(No need to load modules for your driver or agpgart, if you compiled agpgart as a module.)</comment> > <comment>(They will be loaded automatically.)</comment> >-# <i>glxinfo | grep rendering</i> >+$ <i>glxinfo | grep rendering</i> > direct rendering: Yes > <comment>(If it says "No," you don't have 3D acceleration.)</comment> >-# <i>glxgears</i> >+$ <i>glxgears</i> > <comment>(Test your frames per second (FPS) at the default size. The number should be )</comment> > <comment>(significantly higher than before installing x11-drm. Do this while the CPU is as idle as possible.)</comment> > </pre> >@@ -436,14 +436,64 @@ > <body> > > <p> >-A few options may increase performance by up to 30 percent (or more) over the >-default. Set them in <path>/etc/X11/xorg.conf</path>. >+A few options may increase performance by up to 30 percent (or more) over the >+default. Set them in <path>/etc/X11/xorg.conf</path>. However, you will first >+need to check that your motherboard and video card support these options. > </p> > >+<p> >+First, let's check the supported modes of your video cards, and see if your it >+supports fast writes. Remember to replace <c>nvidia</c> with the actual name of >+your device in <path>/proc/driver/nvidia/</path>. >+</p> >+ >+<pre caption="Video card check"> >+$ <i>cat /proc/driver/nvidia/agp/card</i> >+ >+Fast Writes: Supported >+SBA: Not Supported >+AGP Rates: 4x 2x 1x >+Registers: 0x1f000017:0x1f000104 >+</pre> >+ >+<p> >+This shows that my card is capable of Fast Writes, which can noticeably improve >+performance, as you will see later. However, the card does not support side >+band addressing (<c>SBA</c>, a great way to make your hardware to deliver the >+performance it should). However, it is capable of writing at 4x, which is the >+ideal setting, and should be used by default. >+</p> >+ >+<p> >+Next, let's check out the capabilities of the motherboard: >+</p> >+ >+<pre caption="Mmotherboard check"> >+$ <i>cat /proc/driver/nvidia/agp/host-bridge</i> >+ >+Host Bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub >+Fast Writes: Not Supported >+SBA: Supported >+AGP Rates: 4x 2x 1x >+Registers: 0x1f000207:0x00000104 >+</pre> >+ >+<p> >+Unfortunately, though my motherboard supports SBA, it does not support Fast >+Writes. This means that I can use neither Fast Writes nor side band addressing, >+as both components need to support them. However, your hardware may support >+both. If it does, you can try out the example settings below. >+</p> >+ >+<impo> >+Remember, the modes and capabilities for your video card and motherboard must >+match for these settings to work! >+</impo> >+ > <pre caption="xorg.conf"> > Section "Device" > Option "AGPMode" "4" >- <comment>(This increased FPS from 609 to 618.)</comment> >+ <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> > Option "AGPFastWrite" "True" > <comment>(This had no measurable effect, but it may increase instability of your computer.)</comment> > <comment>(You may also need to set it in your BIOS.)</comment> >@@ -453,6 +503,17 @@ > EndSection > </pre> > >+<warn> >+Note that enabling <c>AGPFastWrite</c> on a VIA chipset will very likely cause >+your machine to lock up. VIA chipsets do not play nice with fast writes, so use >+this setting at your own risk. >+</warn> >+ >+<note> >+Remember, if you want fast writes and sideband addressing to work properly, you >+will have to first enable them in your BIOS. >+</note> >+ > <p> > If you want to set even more features, check out the <uri > link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 116506
:
75398
|
76251
|
76254
|
76258
|
86285
|
86363