NVIDIA卡安转完后怎么知道安装成功没有??怎么打开3D
我用的是SuSE 10 RC 1,笔记本,显卡是geforce 2 go用sh NVIDIA-Linux-x86-1.0-7676-pkg1.run安装了显卡驱动,显示安装成功
输入SaX2 -m 0=nvidia后黑屏,按啥都没用,于是强行重起
输入SaX2后显示“-m 0=。。。。什么设备有误还是什么的不记得了”
于是我输入SaX2 -m 0=nv,然后startx,成功启动
启动了一个3D游戏,说我没有硬件3D加速,玩不了。
现问题就是,我驱动装成功了吗??为什么不能用SaX2 -m 0=nvidia?
我的3D加速在哪启动呢?找了半天也没有找到阿 如果设定,修改etc/X11/xorg.conf,看硬件版置顶贴。(FC4)
测定:
$glxinfo
name of display: :0.0
display: :0screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
...
如果上面是yes,就说明已经加速。
也可以用glxgears测试帧速。 没有配置xorg.conf的结果啊,找刀客说的做好了 就是把etc/X11/xorg.conf的nv改成nvidia吧,会不会直接黑屏阿,SaX2 -m 0=nvidia不就是这个功能吗?? ok按两位说的做了
安装完成后改xorg.conf
没有找到Load "dri"
Load "Glcore"
所以没有去注释掉
找到driver "nv"
改成了driver "nvidia"
使用glxinfo测试,显示
unable to open display(null)
启动startx,直接黑屏,没办法了……大哥们还有高招么 我记得还要加点什么吧? 不会吧帖子我都看了阿还要加啥???? 我不记得了,你最好看nvidia的官方readme 这个这个这个……楼上大哥能不能给个链接阿 看完了nvidia的说明,如下
1) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source', 'make' and 'gcc' packages with YaST2.
Update it - if not already done - via YaST2 Online Update (YOU).
2) Use the nvidia installer for 1.0-7676.
sh NVIDIA-Linux-x86-1.0-7676-pkg1.run -q
3) Configure X.Org with
sax2 -m 0=nvidia (0 is a digit, not a letter!)
NOTE: There is no need to try to enable 3D support. It's already
enabled, when the nvidia driver is running.
我就是照着做的啊为什么会黑屏呢?? 驱动有问题???你看看支持列表里有没有你的卡 用sax2就不要在手动去改
怀疑是显示器设置不正确
glxinfo必须在X中运行 连YOU都用了,更新完了还是没有反应,启动KDE还是看不到nvidia的logo
然后我挨个挨个驱动的试,试到NVIDIA-Linux-x86-1.0-7676-pkg1.run终于行了,看到nvidia的logo,3D加速也开了,正以为一切都ok的时候…………
从KDE注销就黑屏了,看不到命令行,alt+F1,F2,F3,F4,F5都没用,只有强行关机。
以后就都这样了,只要进了X,退出来就黑屏,搞得我没有办法shutdown -h now,怎么办啊怎么办T_T 如果设定,修改etc/X11/xorg.conf,看硬件版置顶贴。(FC4)
测定:
$glxinfo
name of display: :0.0
display: :0screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
...
如果上面是yes,就说明已经加速。
也可以用glxgears测试帧速。
哈哈,我按照你这样的方法我也搞定了,不过我看了下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,显示为:
[magicluo@magicluo magicluo]$ glxinfo
name of display: :0.0
display: :0screen: 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:
.......
很明显,已经加速了噢... :lol::lol::lol::lol::lol::lol::lol: 连YOU都用了,更新完了还是没有反应,启动KDE还是看不到nvidia的logo
然后我挨个挨个驱动的试,试到NVIDIA-Linux-x86-1.0-7676-pkg1.run终于行了,看到nvidia的logo,3D加速也开了,正以为一切都ok的时候…………
从KDE注销就黑屏了,看不到命令行,alt+F1,F2,F3,F4,F5都没用,只有强行关机。
以后就都这样了,只要进了X,退出来就黑屏,搞得我没有办法shutdown -h now,怎么办啊怎么办T_T
我不知道怎么不黑屏,但我知道怎么关机。你在KDE下开个终端,然后shutdown -h now就可以了
页:
[1]
2