libgl 错误,Unity 和 compiz 在启动时无法加载

libgl 错误,Unity 和 compiz 在启动时无法加载

最近,当我重新启动双启动 Ubuntu(Windows 7 和 Ubuntu 12.10)时,我所能看到的只是我的桌面,没有破折号、没有启动器或任何顶部栏。以下是 usr/lib/nux/unity_support_test -p 的输出:

 libGL error: failed to load driver: swrast
 libGL error: Try again with LIBGL_DEBUG=verbose for more details.
 OpenGL vendor string:   ATI Technologies Inc.
 OpenGL renderer string: ATI Mobility Radeon HD 5000 Series 
 OpenGL version string:  1.4 (2.1 (4.2.11995 Compatibility Profile Context))

 Not software rendered:    yes
 Not blacklisted:          yes
 GLX fbconfig:             yes
 GLX texture from pixmap:  yes
 GL npot or rect textures: yes
 GL vertex program:        yes
 GL fragment program:      yes
 GL vertex buffer object:  no
 GL framebuffer object:    yes
 GL version is 1.4+:       yes

 Unity 3D supported:       no

此外,当我尝试使用终端手动启动 compiz 时,我得到以下输出:

[vj]:~$ compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : unity
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
compiz (core) - Info: Unity is not supported by your hardware. Enabling software rendering instead (slow).
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
compiz (core) - Info: Unity is not supported by your hardware. Enabling software rendering instead (slow).
compiz (core) - Info: Starting plugin: opengl
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: decor
compiz (core) - Info: Starting plugin: decor
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: wall
compiz (core) - Info: Starting plugin: wall
compiz (core) - Info: Loading plugin: grid
compiz (core) - Info: Starting plugin: grid
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
compiz (core) - Info: Loading plugin: gnomecompat
compiz (core) - Info: Starting plugin: gnomecompat
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: unitymtgrabhandles
compiz (core) - Info: Starting plugin: unitymtgrabhandles
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (expo) - Warn: failed to bind image to texture
compiz (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
compiz (unityshell) - Error: GL_ARB_vertex_buffer_object not supported

compiz (core) - Error: Plugin initScreen failed: unityshell
compiz (core) - Error: Failed to start plugin: unityshell
compiz (core) - Info: Unloading plugin: unityshell
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  18 (X_ChangeProperty)
Resource id in failed request:  0x2800005
Serial number of failed request:  9454
Current serial number in output stream:  9457

如果有人能帮助我解决这个问题,我将非常感激。

答案1

尝试通过 重置 compiz 设置,gconftool-2 --recursive-unset /apps/compiz并通过 unity重置unity --reset,希望这会有所帮助。

相关内容