LinuxSir.cn,穿越时空的Linuxsir!

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

[solved]nvidia 安装成功,测试失败

[复制链接]
发表于 2005-4-30 19:16:23 | 显示全部楼层 |阅读模式
按照http://gentoo.linuxsir.cn/doc/cn ... 没有出现错误
运行
[PHP]glxgears  glxinfo
parrot ~ # glxgears
Xlib:  extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.
[/PHP]
运行
[PHP]parrot ~ # glxinfo
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x21 24 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".[/PHP]
请教这是怎么回事
发表于 2005-4-30 22:15:56 | 显示全部楼层
用NVIDIA的驱动,最好多下几个不同版本的都测试下哪个更稳定,我的系统用6111和6629的都不行,7174的可以,最好把你的机器配置和xorg.conf都贴出来
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-1 09:41:27 | 显示全部楼层
我的startx开始的时候已经出现nvidia的画面了,就是测试的问题,我感觉安装应该成功了,在konsole下测试说
can't open display
会不会是bus的问题,我用的是pci Express的
回复 支持 反对

使用道具 举报

发表于 2005-5-1 10:39:37 | 显示全部楼层
会不会是权限的问题?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-1 11:31:43 | 显示全部楼层
不能吧,我现在是root
顺便贴一些参数,希望大家能帮助我
[PHP]parrot ~ # ls /dev/nv*
/dev/nvidia0  /dev/nvidiactl
parrot ~ # lspci|grep VGA
0000:01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6200](rev a2)
parrot ~ # glxinfo
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x21 24 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x22 24 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".

[/PHP]
/etc/X11/xorg
  1. Section "Device"
  2.     Identifier  "nVidia Inc. GeForce6200"
  3.     Driver      "nvidia"
  4.     VideoRam    262144
  5.     # Insert Clocks lines here if appropriate
  6. EndSection
复制代码

下面这一段xorg.conf要不要去掉注释
  1. # Section "DRI"
  2. #    Mode 0666
  3. # EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2005-5-1 19:40:26 | 显示全部楼层
打开xorg.conf 看看
Section "Module"
  ...
  Load "glx"  #这一项不要注释掉了
  Load "dri"
.....
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-1 20:40:18 | 显示全部楼层
Post by Blahster
打开xorg.conf 看看
Section "Module"
  ...
  Load "glx"  #这一项不要注释掉了
  Load "dri"
.....

谢谢,病根就在这儿,现在可以了
[PHP]parrot ~ # glxinfo|grep direct
direct rendering: Yes
parrot ~ #      
parrot ~ # glxgears
16782 frames in 5.0 seconds = 3356.321 FPS
16852 frames in 5.0 seconds = 3370.253 FPS
16726 frames in 5.0 seconds = 3345.110 FPS
16876 frames in 5.0 seconds = 3375.076 FPS
16915 frames in 5.0 seconds = 3382.932 FPS
16806 frames in 5.0 seconds = 3361.034 FPS
16827 frames in 5.0 seconds = 3365.376 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
parrot ~ #        
   [/PHP]
官方教程上真的没有
回复 支持 反对

使用道具 举报

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

本版积分规则

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