LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2331|回复: 12

关于3D加速的设置,FPS值提高了很多。

[复制链接]
发表于 2007-6-25 03:45:38 | 显示全部楼层 |阅读模式
看了官方的3D加速文章,发现在xorg.conf里面进行如下三项设置:
Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    ........
        Option     "AGPMode" "4"
        Option     "AGPFastWrite" "True"
        Option     "EnablePageFlip" "True"
   ........
EndSection

通过glxgears测试发现自己的机器fps提高了2倍。原先大约2800fps,设置这三个后,测试值如下:(rendering)
32885 frames in 5.0 seconds = 6576.857 FPS
34044 frames in 5.0 seconds = 6808.736 FPS
34762 frames in 5.0 seconds = 6952.318 FPS
34619 frames in 5.0 seconds = 6923.613 FPS
34100 frames in 5.0 seconds = 6819.973 FPS
32848 frames in 5.0 seconds = 6569.496 FPS
(direct)
33351 frames in 5.0 seconds = 6670.060 FPS
34096 frames in 5.0 seconds = 6819.082 FPS
30738 frames in 5.0 seconds = 6147.443 FPS
33817 frames in 5.0 seconds = 6763.335 FPS
29215 frames in 5.0 seconds = 5842.991 FPS
35078 frames in 5.0 seconds = 7015.597 FPS
34545 frames in 5.0 seconds = 6908.993 FPS
31145 frames in 5.1 seconds = 6160.820 FPS
(我在内核和make.conf也改了些设置,现在感觉不错,性能得到挺大地提高)
发表于 2007-6-25 08:24:00 | 显示全部楼层
AGP的显卡么?
要添加
Option "AGPMode" "4"
Option "AGPFastWrite" "True"
Option "EnablePageFlip" "True"
回复 支持 反对

使用道具 举报

发表于 2007-6-25 08:51:09 | 显示全部楼层
同感~~

详细的参数还是挺重要的
回复 支持 反对

使用道具 举报

发表于 2007-6-25 09:14:47 | 显示全部楼层
LZ 是什么显卡?
回复 支持 反对

使用道具 举报

发表于 2007-6-25 09:50:15 | 显示全部楼层
pcie显卡有用吗
回复 支持 反对

使用道具 举报

发表于 2007-6-25 10:27:19 | 显示全部楼层
win下我的bios里打开fastwrite系统不太稳定,关了,linux我要试下。
回复 支持 反对

使用道具 举报

发表于 2007-6-25 11:00:31 | 显示全部楼层
不知大家看过这篇文章吗?能够打开AGPFastWrite还要看显卡支持不。
http://www.gentoo.org/doc/en/dri-howto.xml
  1. Important: If you do not see FW+, but instead see FW-, you cannot enable fast writes in xorg.conf. Your card does not support fast writes.
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-6-25 11:58:48 | 显示全部楼层
嗨,没什么效果。有可能bios里没打开等会再看看。
反正我的经验就是:要想大幅提高fps值,把窗口缩到最小.......
回复 支持 反对

使用道具 举报

发表于 2007-6-25 12:14:45 | 显示全部楼层
原来是dri。。。

我记得nvidia不需要这个东西的。。。

LZ的那个分数是怎么提高这么多的?无解...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-25 12:45:15 | 显示全部楼层
我的显卡是nvidia geforce fx 5200(AGP显卡),CPU Athlon XP 2500, DDR166 256M
同时在内核中修改了如下参数设置:
1、取消Generic x86 support
2、把支持多CPU设置关闭,
3、Preemption Model设为Voluntary Kernel Preemption (Desktop),
4、Processor type and features中央处理器(CPU)类型及特性设为Athlon。
5、High Memory Support设为off,Timer frequency设为1000Hz
有兴趣的可以试试。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表