LinuxSir.cn,穿越时空的Linuxsir!

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

glxgears的分太低(FPS才50+),跑compiz卡,怎么能上去啊

[复制链接]
发表于 2008-2-2 20:41:33 | 显示全部楼层 |阅读模式
机子是ATI X700装了官方的驱动,dri也加载了,但是运行compiz后
[root@localhost ~]# glxgears
282 frames in 5.0 seconds = 56.300 FPS
246 frames in 5.0 seconds = 49.056 FPS
256 frames in 5.1 seconds = 50.625 FPS

[root@localhost ~]# glxinfo |grep direct
direct rendering: Yes

我把/etc/X11/xorg.conf贴出来,达人帮忙看一下有什么办法能提升FPS吗,多谢了,由于装过livna的驱动,也看过一些设置,所以xorg.conf被我改的有些乱
# Xorg configuration created by livna-config-display

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
        Option            "AIGLX" "on"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option            "Device" "/dev/input/mice"
        Option            "rotocol" "auto-dev"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"

        Option "DisableGLXRootClipping" "True"
        Option "AddARGBGLXVisuals" "True"
        Option "AllowGLXWithComposite" "True"
        Option "RenderAccel" "True"

EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
        Option "DisableGLXRootClipping" "True"
        Option "AddARGBGLXVisuals" "True"
        Option "AllowGLXWithComposite" "True"
        Option "RenderAccel" "True"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Extensions"
        Option            "Composite" "Enable"
EndSection

Section "Module"
        SubSection "extmod"
        Option "omit xfree86-dga"
        EndSubSection
EndSection
发表于 2008-2-2 23:03:53 | 显示全部楼层
loose binding
indirect rendering
右键点fusion-icon这2项开了试试
回复 支持 反对

使用道具 举报

发表于 2008-2-3 01:29:07 | 显示全部楼层
Post by yousufu;1813704
机子是ATI X700装了官方的驱动,dri也加载了,但是运行compiz后
[root@localhost ~]# glxgears
282 frames in 5.0 seconds = 56.300 FPS
246 frames in 5.0 seconds = 49.056 FPS
256 frames in 5.1 seconds = 50.625 FPS

[root@localhost ~]# glxinfo |grep direct
direct rendering: Yes

我把/etc/X11/xorg.conf贴出来,达人帮忙看一下有什么办法能提升FPS吗,多谢了,由于装过livna的驱动,也看过一些设置,所以xorg.conf被我改的有些乱
# Xorg configuration created by livna-config-display

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
        Option            "AIGLX" "on"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option            "Device" "/dev/input/mice"
        Option            "rotocol" "auto-dev"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"

        Option "DisableGLXRootClipping" "True"
        Option "AddARGBGLXVisuals" "True"
        Option "AllowGLXWithComposite" "True"
        Option "RenderAccel" "True"

EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
        Option "DisableGLXRootClipping" "True"
        Option "AddARGBGLXVisuals" "True"
        Option "AllowGLXWithComposite" "True"
        Option "RenderAccel" "True"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Extensions"
        Option            "Composite" "Enable"
EndSection

Section "Module"
        SubSection "extmod"
        Option "omit xfree86-dga"
        EndSubSection
EndSection


晕,我1千多也觉得卡:
5378 frames in 5.0 seconds = 1075.492 FPS
5390 frames in 5.0 seconds = 1077.975 FPS
4478 frames in 5.0 seconds = 894.855 FPS
4711 frames in 5.0 seconds = 942.142 FPS
5789 frames in 5.0 seconds = 1157.755 FPS
5619 frames in 5.0 seconds = 1117.226 FPS
5778 frames in 5.0 seconds = 1154.629 FPS
XIO:  fatal IO error 22 (Invalid argument) on X server ":0.0"
      after 37 requests (37 known processed) with 0 events remaining.

PS,后面一句是什么意思呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-10 19:22:11 | 显示全部楼层
找到问题原因,因为用了ATI自带的显示控制管理,进行了一些高级效果的设置,所以导致FPS太低,使用默认值后恢复基本正常
感谢楼上的回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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