cooltonygao 发表于 2005-3-26 14:06:23

装完nvidia的驱动,glxgears失效了

今天刚把nvidia驱动装上,可是glxgears不能用了,显示如下:

Xlib:extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

这是怎么回事啊??

樱家冢 发表于 2005-3-26 14:12:53

:shock: ,确定/etc/X11/XF86Config没问题吗?(有XF86Config-4的话会优先使用这个)
具体我也说不上来,不过我安装完了以后去掉了GLcore就正常了。

cooltonygao 发表于 2005-3-26 14:22:40

我的XF86Config-4有个这个

Section "Device"
        Identifier "NVIDIA GeForce 2 MX (generic)"
        Driver "nv"
        BoardName "Unknown"
EndSection

Section "Device"
        Identifier "Linux Frame Buffer"
        Driver "fbdev"
        BoardName "Unknown"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "NVIDIA GeForce 2 MX (generic)"
        Monitor "PAT 778FT"
        DefaultDepth 24
        Subsection "Display"
                Depth 24
                Modes "1024x768"
        EndSubSection
EndSection

其中Section "Device"为什么有两个,需要改什么吗?

cooltonygao 发表于 2005-3-26 14:57:35

呵呵,搞定了

偶把这个
Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSectio
删掉


Section "Device"
Identifier "NVIDIA GeForce 2 MX (generic)"
Driver "nv"
BoardName "Unknown"
EndSection
的 Driver "nv"改成 Driver "nvidia",从起X,居然搞定了~呵呵

glxgears 结果
2887 frames in 5.0 seconds = 577.400 FPS
3794 frames in 5.0 seconds = 758.800 FPS
3793 frames in 5.0 seconds = 758.600 FPS
3793 frames in 5.0 seconds = 758.600 FPS
3776 frames in 5.0 seconds = 755.200 FPS
3469 frames in 5.0 seconds = 693.800 FPS
3861 frames in 5.0 seconds = 772.200 FPS
3860 frames in 5.0 seconds = 772.000 FPS

KDE的启动速度疯了,也能看OpenGL的那个"陶醉"的屏保了~呵呵,不错哦

樱家冢 发表于 2005-3-26 15:02:26

。。。。。。
恭喜,呵呵。
你安装了nvidia驱动就不需要framebuffer了,删掉才对,唔唔,另外,我曾经手动编辑过这个文件。

Section "Device"
Identifier "NVIDIA GeForce 2 MX (generic)"


Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 2 MX (generic)"

这两个地方,上一个的Identifier一定要和下一个的Device相符,呵呵,因为认不出我的6600,我手动修改过以后没法启动X才发现的, :oops:

xinjiemail11 发表于 2005-11-20 18:38:32

我的也有问题,版主解决下阿!!!
# glxgears
glxgears: Error: couldn't get an RGB, Double-buffered visual.

easycat 发表于 2005-11-21 09:50:02

仔细检查一下你的/etc/X11/XF86Config
或者Xorg那个

sejishikong 发表于 2005-11-21 10:15:23

15位色深下glxgears不能运行。
页: [1]
查看完整版本: 装完nvidia的驱动,glxgears失效了