LinuxSir.cn,穿越时空的Linuxsir!

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

我的nvidia驱动有Error: couldn't find RGB GLX visual的错误,为什么?

[复制链接]
发表于 2006-3-13 12:24:02 | 显示全部楼层 |阅读模式
我用的xorg-x117.0,但是我在xorg.conf里面加入了
Section "Extensions"
        option "Composite"
EndSection后查看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
如果我没有打开Composite就没有问题,这是为什么?而且虽然glx有问题,但是我的composite效果好象打开了,只是说glx is not support with the composite extension
我的xorg. conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "dri"
        Load  "glx"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV18 [GeForce4 MX 440 AGP 8x]"
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes           "1024x768"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
Section "Extensions"
        Option "Composite" "true"
EndSection
 楼主| 发表于 2006-3-13 19:04:43 | 显示全部楼层
大家的nvidia都可以打开Composite选项吗?
回复 支持 反对

使用道具 举报

发表于 2006-3-14 01:14:06 | 显示全部楼层
首先請確定你是否已安裝了nvidia-glx
然后註解掉這行 #Load "dri"

試試看然后post你的log 吧
回复 支持 反对

使用道具 举报

发表于 2006-3-14 01:36:07 | 显示全部楼层
如果安装官方驱动,好像还要opengl-update nvidia
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-14 14:56:13 | 显示全部楼层
我怎么没有opengl-update这个命令?安装完nvidia-glx只有要我运行eselcet opengl set nvidia!
而且我把dri注释掉,还是一样的错误,大家在安装xorg-x117。0的时候添加了哪些和显卡功能相关的use啊?
回复 支持 反对

使用道具 举报

发表于 2006-3-14 15:31:32 | 显示全部楼层
opengl-update这个命令已经北淘汰了 官方的文档建议 用 eselect
#eselect opengl set nvidia
回复 支持 反对

使用道具 举报

发表于 2006-3-14 20:00:57 | 显示全部楼层
  1.        Option          "RenderAccel"           "true"
  2.         Option          "AllowGLXWithComposite" "true"
复制代码


加入Section "Device"一段

你不用RenderAccel不慢?
回复 支持 反对

使用道具 举报

发表于 2006-3-14 20:01:57 | 显示全部楼层
  1.        Option          "RenderAccel"           "true"
  2.         Option          "AllowGLXWithComposite" "true"
复制代码


加入Section "Device"一段

你不用RenderAccel不慢?
回复 支持 反对

使用道具 举报

发表于 2006-3-14 20:45:21 | 显示全部楼层
Option          "RenderAccel"           "true"

我加了后,会造成字体显示问题。尤其是XMMS的时候,歌曲名字总是不显示清楚。。去掉就好了。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-14 22:01:12 | 显示全部楼层
谢谢,加入下面两段后打开Composite了。。。但是打开Composite后glxgears比不开要低400.。。。
Option          "RenderAccel"           "true"
Option          "AllowGLXWithComposite" "true"
回复 支持 反对

使用道具 举报

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

本版积分规则

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