LinuxSir.cn,穿越时空的Linuxsir!

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

为何glx没有启用?glxgear程序也没有,我用的是sid。搞了很久了!

[复制链接]
发表于 2006-7-18 13:18:09 | 显示全部楼层 |阅读模式
glxgear,glxinfo等程序没有,不能运行ppracer。

PPRacer 0.3.1 --  http://racer.planetpenguin.de
(c) 2004-2005 The PPRacer team
(c) 1999-2001 Jasmin F. Patry<jfpatry@sunspirestudios.com>
PPRacer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

*** ppracer error: Couldn't initialize video: Couldn't find matching GLX visual (Success)

不论直接安装debian官方软件包、还是自己安装.run文件,都是如此,这是为什么?

敬请指教,谢谢!
 楼主| 发表于 2006-7-18 13:28:24 | 显示全部楼层
我的 /etc/X11/xorg.conf 文件
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon May 15 13:23:42 PDT 2006

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86
#Section "Extensions"
#        Option                 "Composite" "Enable"
#        Option                 "RENDER" "true"
#        Option                 "DAMAGE" "true"
#        Option                 "AllowGLXWithComposite" "true"
#EndSection

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

                        # local font server
        # if the local font server has problems, we can fall back on these
    FontPath        "unix/:7100"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/lib/X11/fonts/cyrillic"
    FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/lib/X11/fonts/Type1"
    FontPath        "/usr/share/fonts/X11/CID"
    FontPath        "/usr/lib/X11/fonts/CID"
    FontPath        "/usr/lib/X11/fonts/Speedo"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/lib/X11/fonts/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
    Load           "bitmap"
#    Load           "dbe"
    Load           "ddc"
#       Load    "dri"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
#Load   "GLcore"
Load           "int10"
    Load           "record"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "keyboard"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xfree86"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "rotocol" "ImPS/2"
    Option         "Emulate3Buttons" "true"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 80.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"

#       Option          "RenderAccel"
    Identifier     "Generic Video Card"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Generic Video Card"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-18 13:40:47 | 显示全部楼层
最初安装的是stable,x是xfree86,当初安装的是没有问题的。可以使用ppracer。
回复 支持 反对

使用道具 举报

发表于 2006-7-18 16:04:11 | 显示全部楼层
$ aptitude install mesa-utils
你的 nvidia 完全驱动了么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-18 16:24:18 | 显示全部楼层
多谢quanliking老大,现在又好了。

我的 nvidia 应该是驱动了的。它出现了nvidia的启动logo。

我是这样的安装过程:
先是自己编译安装.run文件。安装后glx没有启用,就是上述的情况。
后来就安装官方包和相应的内核,安装后症状如上。

后来我又回到自编内核,和编译安装驱动里。
在xorg.conf里添加了下面这段:
Section "Extensions"
Option "Composite" "Enable"
EndSection
现在居然可以运行ppracer了。

安装了mesa-utils 果然就有了glxgears了

不过我还是有些疑惑为什么在
http://www.debian.org/distrib/packages
里不能搜到glxgears的相关信息?
回复 支持 反对

使用道具 举报

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

本版积分规则

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