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.2</version> |
23 |
<version>1.3</version> |
24 |
<date>2006-02-01</date> |
24 |
<date>2006-05-06</date> |
25 |
|
25 |
|
26 |
<chapter> |
26 |
<chapter> |
27 |
<title>Introduction</title> |
27 |
<title>Introduction</title> |
Lines 92-99
Link Here
|
92 |
<p> |
92 |
<p> |
93 |
This guide is for people who can't get direct rendering working with just Xorg. |
93 |
This guide is for people who can't get direct rendering working with just Xorg. |
94 |
X11-DRM works for 3dfx, gamma, i8x0, matrox, rage128, radeon, mach64 and sis300 |
94 |
X11-DRM works for 3dfx, gamma, i8x0, matrox, rage128, radeon, mach64 and sis300 |
95 |
series drivers. See the <uri link="http://dri.freedesktop.org/">DRI |
95 |
series drivers. VIA card owners should not use <c>x11-drm</c>, but should |
96 |
homepage</uri> for more info and documentation. |
96 |
instead use the DRI provided in recent kernels (>2.6.13). See the <uri |
|
|
97 |
link="http://dri.freedesktop.org/">DRI homepage</uri> for more info and |
98 |
documentation. |
97 |
</p> |
99 |
</p> |
98 |
|
100 |
|
99 |
</body> |
101 |
</body> |
Lines 271-276
Link Here
|
271 |
intel-agp |
273 |
intel-agp |
272 |
</pre> |
274 |
</pre> |
273 |
|
275 |
|
|
|
276 |
<note> |
277 |
If you compiled <c>agpgart</c> as a module, you will also need to add it to |
278 |
<path>/etc/modules.autoload.d/kernel-2.6</path>. |
279 |
</note> |
280 |
|
274 |
</body> |
281 |
</body> |
275 |
</section> |
282 |
</section> |
276 |
</chapter> |
283 |
</chapter> |
Lines 282-299
Link Here
|
282 |
<body> |
289 |
<body> |
283 |
|
290 |
|
284 |
<p> |
291 |
<p> |
285 |
Reboot your computer to your new kernel. It's time to see if you have direct |
292 |
Reboot your computer to your new kernel and login as a normal user. It's time |
286 |
rendering and how good it is. |
293 |
to see if you have direct rendering and how good it is. |
287 |
</p> |
294 |
</p> |
288 |
|
295 |
|
289 |
<pre caption="Testing rendering"> |
296 |
<pre caption="Testing rendering"> |
290 |
# <i>startx</i> |
297 |
$ <i>startx</i> |
291 |
<comment>(No need to load modules for your driver or agpgart, if you compiled agpgart as a module.)</comment> |
298 |
<comment>(No need to load modules for your driver or agpgart, if you compiled agpgart as a module.)</comment> |
292 |
<comment>(They will be loaded automatically.)</comment> |
299 |
<comment>(They will be loaded automatically.)</comment> |
293 |
# <i>glxinfo | grep rendering</i> |
300 |
$ <i>glxinfo | grep rendering</i> |
294 |
direct rendering: Yes |
301 |
direct rendering: Yes |
295 |
<comment>(If it says "No," you don't have 3D acceleration.)</comment> |
302 |
<comment>(If it says "No," you don't have 3D acceleration.)</comment> |
296 |
# <i>glxgears</i> |
303 |
$ <i>glxgears</i> |
297 |
<comment>(Test your frames per second (FPS) at the default size. The number should be )</comment> |
304 |
<comment>(Test your frames per second (FPS) at the default size. The number should be )</comment> |
298 |
<comment>(significantly higher than before installing x11-drm. Do this while the CPU is as idle as possible.)</comment> |
305 |
<comment>(significantly higher than before installing x11-drm. Do this while the CPU is as idle as possible.)</comment> |
299 |
</pre> |
306 |
</pre> |
Lines 452-457
Link Here
|
452 |
EndSection |
459 |
EndSection |
453 |
</pre> |
460 |
</pre> |
454 |
|
461 |
|
|
|
462 |
<warn> |
463 |
Enabling <c>AGPFastWrite</c> on a VIA chipset will very likely cause your |
464 |
machine to lock up. VIA chipsets do not play nicely with fast writes, so use |
465 |
this setting at your own risk. |
466 |
</warn> |
467 |
|
468 |
<note> |
469 |
Remember, if you want fast writes and sideband addressing to work properly, you |
470 |
will have to first enable them in your BIOS. |
471 |
</note> |
472 |
|
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 |
|
455 |
<p> |
513 |
<p> |
456 |
If you want to set even more features, check out the <uri |
514 |
If you want to set even more features, check out the <uri |
457 |
link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on |
515 |
link="http://dri.freedesktop.org/wiki/FeatureMatrix">feature matrix</uri> on |