没有显示变量,Unity 不工作,刚刚升级到 13.04,有 AMD 驱动程序

没有显示变量,Unity 不工作,刚刚升级到 13.04,有 AMD 驱动程序

我刚刚从 12.10 升级到 13.04,现在我的 GUI / Unity 无法正常工作。我得到的登录屏幕看起来不错,但当我登录时,没有菜单或栏或任何东西,所有图块看起来都是灰色和块状的。我也无法移动窗口,即使我可以打开它们(打开终端)。

我安装了 gnome 和标准 ubuntu unity。Gnome 似乎几乎可以工作,但缺少所有菜单,而 unity 给我一个空白桌面,窗口无法移动。两者都没有任何菜单。

我尝试了一些方法,下面展示所有输出。我还复制了以下输出:

(1)ccsm — 不起作用,由于无法打开显示而给出 GtK 错误。

输出:

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 94, in <module>
    import ccm
  File "/usr/lib/python2.7/dist-packages/ccm/__init__.py", line 1, in <module>
    from ccm.Conflicts import *
  File "/usr/lib/python2.7/dist-packages/ccm/Conflicts.py", line 26, in <module>
    from ccm.Constants import *
  File "/usr/lib/python2.7/dist-packages/ccm/Constants.py", line 30, in <module>
    CurrentScreenNum = gtk.gdk.display_get_default().get_default_screen().get_number()
AttributeError: 'NoneType' object has no attribute 'get_default_screen'

(2)回显$DISPLAY

输出为空。

(3)团结

输出为:

WARNING: no DISPLAY variable set, setting it to :0
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
unity-panel-service: no process found
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: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Error: Plugin 'opengl' not loaded.

compiz (core) - Info: Loading plugin: decor
compiz (core) - Info: Starting plugin: decor
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
compiz (decor) - Warn: requested a pixmap type decoration when compositing isn't available
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Xlib:  extension "GLX" missing on display ":0".

This continues for a long time, and then I get: 


Xlib:  extension "GLX" missing on display ":0".
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Error: Plugin 'opengl' not loaded.

Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0

(4)使用 lspci 检查图形设备:

07:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV370 [Radeon X600/X600 SE] (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices [AMD] nee ATI Device 0b02
        Flags: bus master, fast devsel, latency 0, IRQ 65
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at dcde0000 (64-bit, non-prefetchable) [size=64K]
        I/O ports at cc00 [size=256]
        Expansion ROM at dce00000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Express Endpoint, MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Advanced Error Reporting
        Kernel driver in use: radeon

07:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV380 [Radeon X300/X550/X1050 Series] (Secondary)
        Subsystem: Advanced Micro Devices [AMD] nee ATI Device 0b03
        Flags: bus master, fast devsel, latency 0
        Memory at dcdf0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Express Endpoint, MSI 00

有任何想法吗?

相关内容