|
发表于 2005-9-14 22:44:57
|
显示全部楼层
[quote:dd1bdbc163="月下刀客"]如果设定,修改etc/X11/xorg.conf,看硬件版置顶贴。(FC4)
测定:
$glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
...
如果上面是yes,就说明已经加速。
也可以用glxgears测试帧速。[/quote]
哈哈,我按照你这样的方法我也搞定了,不过我看了下nvidia的readme中的介绍
我开始使用glxinfo的时候提示错误如下:
Error: Could not open /dev/nvidiactl because the permissions
are too restrictive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.
后来参照readme中的 FREQUENTLY ASKED QUESTIONS,解释如下:
It is likely that a security module for the PAM system may be
changing the permissions on the NVIDIA device files. In most cases
this security system works, but it can get confused. To correct this
problem it is recommended that you disable this security feature.
Different Linux distributions have different files to control this;
please consult with your distributor for the correct method of
disabling this security feature. As an example, if your system has
the file
/etc/security/console.perms
then you should edit the file and remove the line that starts with
"<dri>" (we have also received reports that additional references to
<dri> in console.perms must be removed, but this has not been verified
by NVIDIA). If instead your system has the file
/etc/logindevperms
then you should edit the file and remove the line that lists
/dev/nvidiactl. The above steps will prevent the PAM security system
from modifying the permissions on the NVIDIA device files. Next,
you will need to reset the permissions on the device files back
to their original permissions and owner. You can do that with the
following commands:
chmod 0666 /dev/nvidia* chown root /dev/nvidia*
按照提示进行更改,搞定..
然后再在终端中运行flxinfo,显示为:
[code:1]
[magicluo@magicluo magicluo]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
.......[/code:1]
很明显,已经加速了噢... |
|