这个问题如何解决:Xlib: extension "GLX" missing on display ":0.0".

117 views
Skip to first unread message

lijie

unread,
Jun 30, 2006, 9:50:02 AM6/30/06
to Gentoo 中文
我是用emerge安装的ati-drivers-8.26.18,显示正常,就是某些程序打开会有这样的提示:

localhost lijie # glxgears
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
localhost lijie # fglrxinfo
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual!

有一些游戏如quake、x-moto,还有googleearth等都会有这个提示并且不能运行 。

网上搜了一通,结果是很多,好像都不一样,而且大部分是N卡的,我的是A卡。

xorg.conf文件附后,是从SuSE里拷过来改的:

# /.../
# SaX generated X11 config file
# Created on: 2006-06-05T15:55:43+0800.
#
# Version: 7.1
# Contact: Marcus Schaefer <s...@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"

RgbPath "/usr/lib/X11/rgb"

FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/default/"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/TrueType/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/ukr/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/zh_CN/"
FontPath "/usr/share/fonts/urw-fonts/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/CID/"
#FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"

InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
Load "v4l"
# Load "dri"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "Colorado USB Optical Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[3]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "on"
Option "InputFashion" "Mouse"
Option "Name" "Synaptics;Touchpad"
Option "Protocol" "explorerps/2"
Option "SHMConfig" "on"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 330 210
HorizSync 31-60
Identifier "Monitor[0]"
ModelName "SEC 1024"
Option "DPMS"
VendorName "SAMSUNG"
VertRefresh 30-60
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
EndSection


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x800" "1280x768" "1024x768" "1280x600" "1024x600"
"800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800" "1280x768" "1024x768" "1280x600" "1024x600"
"800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1280x768" "1024x768" "1280x600" "1024x600"
"800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800" "1280x768" "1024x768" "1280x600" "1024x600"
"800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "Framebuffer Graphics"
BusID "1:0:0"
Driver "fglrx"
Identifier "Device[0]"
Option "FSAADisableGamma" "no"
Option "Capabilities" "0x00000000"
Option "FSAAMSPosY3" "0.000000"
Option "no_accel" "no"
Option "UseFastTLS" "0"
Option "UseInternalAGPGART" "no"
Option "FSAADisableGamma" "no"
Option "Capabilities" "0x00000000"
Option "FSAAMSPosX3" "0.000000"
Option "CenterMode" "off"
Option "FSAAMSPosY1" "0.000000"
Option "mtrr" "off"
Option "CenterMode" "off"
Option "FSAAMSPosX4" "0.000000"
Option "ForceGenericCPU" "no"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "no_accel" "no"
Option "UseFastTLS" "0"
Option "UseInternalAGPGART" "no"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "mtrr" "off"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "ForceGenericCPU" "no"
VendorName "VESA"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection


Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection

Zhang Le

unread,
Jun 30, 2006, 9:51:40 AM6/30/06
to gentoo...@googlegroups.com

lijie

unread,
Jun 30, 2006, 9:54:34 AM6/30/06
to gentoo...@googlegroups.com
在 06-6-30,Zhang Le<robert....@gmail.com> 写道:
> # Load "dri"
> 你把这一行注释掉了

以前一直没注释的,刚才上网搜了一阵子,有人说要注释掉。不过这行注释了和没注释好像没什么差别。

phus

unread,
Jun 30, 2006, 10:02:53 AM6/30/06
to Gentoo 中文
Section "DRI"
Group "video"
Mode 0666
EndSection

lijie

unread,
Jun 30, 2006, 10:06:25 AM6/30/06
to gentoo...@googlegroups.com
在 06-6-30,phus<luxi...@msn.com> 写道:

>
> Section "DRI"
> Group "video"
> Mode 0666
> EndSection

最后面有这一段啊,是要注释掉?

phus

unread,
Jun 30, 2006, 10:14:24 AM6/30/06
to Gentoo 中文
是把0660改为0666
另外load "dri"不要注释掉.

Zhang Le

unread,
Jun 30, 2006, 10:18:12 AM6/30/06
to gentoo...@googlegroups.com

DongBin.Lou

unread,
Jun 30, 2006, 11:06:36 PM6/30/06
to gentoo...@googlegroups.com
原来都是要注释掉load dri这一行的啊。。
在 2006-06-30五的 07:14 -0700,phus写道:

phus

unread,
Jun 30, 2006, 11:31:00 PM6/30/06
to Gentoo 中文
什么意思?我没听明白.
Load "dri"是驱动, 打游戏要用到
我的意思是不要注释掉它并且把dri的权限设为0666

Zhang Le

unread,
Jul 1, 2006, 12:01:10 AM7/1/06
to gentoo...@googlegroups.com
On 7/1/06, DongBin.Lou <dongb...@gmail.com> wrote:
原来都是要注释掉load dri这一行的啊。。
不要注释掉
我再重复一次

DongBin.Lou

unread,
Jul 1, 2006, 11:52:18 AM7/1/06
to gentoo...@googlegroups.com
……不好意思,我的是nvidia的显卡……
在 2006-07-01六的 12:01 +0800,Zhang Le写道:
Reply all
Reply to author
Forward
0 new messages