设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Gentoo Linux
›
这个glxgears的输出正常吗?
返回列表
查看:
686
|
回复:
4
这个glxgears的输出正常吗?
[复制链接]
fender010
fender010
当前离线
积分
2454
IP卡
狗仔卡
发表于 2009-7-23 09:22:54
|
显示全部楼层
|
阅读模式
硬件如下:
cpu是amd的5200+,
显卡是nvidia的9500gt有256M的ddr3显存,
显示器是菲利普的190vw9,
----------------------------------------------------------------------
主要参考资料:
http://www.gentoo.org/doc/en/dri-howto.xml
按照文档,在这一步,我没有找到自己的显卡,
Processor type and features --->
<*> MTRR (Memory Type Range Register) support
Device drivers --->
Graphics support --->
<M> /dev/agpgart (AGP Support) --->
(The agpgart option is not present on 64-bit kernels; just choose your chipset support.)
<M> Intel 440LX/BX/GX, I8xx and E7x05 support
(Enable your chipset instead of the above.)
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
<M> (Select your graphics card from the list)
复制代码
但是我运行glxinfo | grep rendering命令时输出如下:
direct rendering: Yes
但是我感觉cpu占用有点高啊,详细看图。
xorg.conf内容如下:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "xtrap"
Load "extmod"
Load "record"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-83
VertRefresh 56-75
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900"
EndSubSection
EndSection
复制代码
相关软件包信息如下:
$ emerge --search nvidia
Searching...
[ Results for search key : nvidia ]
[ Applications found : 6 ]
* dev-util/nvidia-cuda-profiler [ Masked ]
Latest version available: 1.1
Latest version installed: [ Not Installed ]
Size of files: 6,878 kB
Homepage: http://developer.nvidia.com/cuda
Description: NVIDIA CUDA Visual Profiler
License: NVIDIA
* dev-util/nvidia-cuda-sdk [ Masked ]
Latest version available: 2.2-r1
Latest version installed: [ Not Installed ]
Size of files: 54,639 kB
Homepage: http://developer.nvidia.com/cuda
Description: NVIDIA CUDA Software Development Kit
License: CUDPP
* dev-util/nvidia-cuda-toolkit [ Masked ]
Latest version available: 2.2-r2
Latest version installed: [ Not Installed ]
Size of files: 58,977 kB
Homepage: http://developer.nvidia.com/cuda
Description: NVIDIA CUDA Toolkit
License: NVIDIA
* media-gfx/nvidia-cg-toolkit
Latest version available: 2.1.0012
Latest version installed: [ Not Installed ]
Size of files: 27,412 kB
Homepage: http://developer.nvidia.com/object/cg_toolkit.html
Description: nvidia's c graphics compiler toolkit
License: NVIDIA
* media-video/nvidia-settings
Latest version available: 180.29
Latest version installed: [ Not Installed ]
Size of files: 1,310 kB
Homepage: http://www.nvidia.com/
Description: NVIDIA Linux X11 Settings Utility
License: GPL-2
* x11-drivers/nvidia-drivers
Latest version available: 180.29
Latest version installed: 180.29
Size of files: 51,046 kB
Homepage: http://www.nvidia.com/
Description: NVIDIA X11 driver and GLX libraries
License: NVIDIA
复制代码
本帖子中包含更多资源
您需要
登录
才可以下载或查看,没有帐号?
注册
x
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
fender010
fender010
当前离线
积分
2454
IP卡
狗仔卡
楼主
|
发表于 2009-7-23 10:03:12
|
显示全部楼层
我在另外的一台集成intel显卡的debian上运行glxinfo,结果如下:
glxinfo | grep rendering
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
复制代码
但是运行glxgears时fps居然和gentoo的那个机器数值差不多, :yun:
具体内容看图。
本帖子中包含更多资源
您需要
登录
才可以下载或查看,没有帐号?
注册
x
回复
支持
反对
使用道具
举报
显身卡
2603301009
2603301009
当前离线
积分
274
IP卡
狗仔卡
发表于 2009-7-23 11:21:18
|
显示全部楼层
你 该装官方驱动的!!
9500gt该好几k的,我的1600都3k多!
回复
支持
反对
使用道具
举报
显身卡
fender010
fender010
当前离线
积分
2454
IP卡
狗仔卡
楼主
|
发表于 2009-7-23 12:13:24
|
显示全部楼层
Seems soved.
I forgot this:
http://www.gentoo.org/doc/en/nvidia-guide.xml
:yun:
Next time, when I encounter some "strange" problem I will check our documentation firstly.
Now the pfs value is reasonable, but the cpu useage is still high than I expected.
本帖子中包含更多资源
您需要
登录
才可以下载或查看,没有帐号?
注册
x
回复
支持
反对
使用道具
举报
显身卡
yourfriend
yourfriend
当前离线
积分
2382
IP卡
狗仔卡
发表于 2009-7-23 13:35:15
|
显示全部楼层
肯定不正常,估计应该要有4000~6000,compiz开启后。
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
Redhat/Fedora/CentOS Linux
SuSE Linux
Linux 基础讨论区(新手速成)
Debian Linux
服务器架设、应用、维护
开源软件专题讨论
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表