13.04 Unity(双显示器)图形突然无缘无故损坏

13.04 Unity(双显示器)图形突然无缘无故损坏

编辑:由于错误再次出现,因此重新打开。并且以前的解决方案不起作用。

自从发布以来,我对 13.04 一直很满意。然而本周开始出现一些奇怪的事情。有时登录后,桌面会显示出来,但没有全局菜单或 Dock。无法打开 Dash 等。有时,重启后它又可以正常工作,我可以继续工作。

今天突然情况变得更糟。现在我的电脑可以显示 Dock 和全局菜单,但我无法访问桌面(图标不可见,右键单击不起作用),背景看起来完全乱七八糟(见下面的屏幕截图)。鼠标在某些窗口上时不断闪烁。

我尝试完全重新安装 ubuntu 13.04,但即使这样也无法解决问题。我的 /home 位于单独的分区上,因此我保存了所有当前设置,可能是那里出了什么问题?

我仍然无法长时间工作,因为整个桌面会随机崩溃,并且我会丢失所有的窗口装饰等等。

我周五有一个截止期限,但我的系统无法运行。有人知道我该如何调试/修复这个问题吗?

编辑:安装专有驱动程序无法解决问题。事实上,它会导致启动时出现空白屏幕。

编辑:额外信息,我可以启动到我的 Windows 8 分区并玩游戏,而不会出现任何显示问题。

编辑lspci -nn输出

编辑:今天我降级到 12.10,使用相同的扩展分区作为我的主文件夹。同样的问题。然而,如果我登录访客会话,则这些问题都不存在。一切都正常。我的主文件夹有问题吗?

编辑:它又开始了。13.04 中的 Unity 肯定出了问题。它一直在更改我的显示器设置。我启动后看到以下内容:监控错误 当我进入显示器设置更改显示器设置时,UI 会像前面的示例一样中断,唯一的解决方法是删除 compiz-1 文件夹和 monitors.xml 文件夹,但重启后我仍然看到两个桌面像图片中那样重叠。

00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
00:02.0 Display controller [0380]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0112] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b5)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev b5)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation Z68 Express Chipset Family LPC Controller [8086:1c44] (rev 05)
00:1f.2 IDE interface [0101]: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller [8086:1c00] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
00:1f.5 IDE interface [0101]: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller [8086:1c08] (rev 05)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Turks XT [Radeon HD 6670] [1002:6758]
01:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Turks/Whistler HDMI Audio [Radeon HD 6000 Series] [1002:aa90]
03:00.0 USB controller [0c03]: Etron Technology, Inc. EJ168 USB 3.0 Host Controller [1b6f:7023] (rev 01)
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
05:00.0 PCI bridge [0604]: Integrated Technology Express, Inc. Device [1283:8892] (rev 30)

编辑:添加可能的相关输出

$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string:   X.Org
OpenGL renderer string: Gallium 0.4 on AMD TURKS
OpenGL version string:  3.0 Mesa 9.1.1

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:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes

输出自unity --replace:$ unity --replace

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
compiz (core) - Info: Unity is fully supported by your hardware.
compiz (core) - Info: Unity is fully supported by your hardware.
compiz (core) - Info: Starting plugin: opengl
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 (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
WARN  2013-05-23 02:21:03 unity.favorite.store FavoriteStore.cpp:131 Unable to load desktop file: /usr/share/app-install/desktop/opera.desktop
WARN  2013-05-23 02:21:03 unity.favorite.store FavoriteStore.cpp:144 Unable to load Favorite for uri 'application:///usr/share/app-install/desktop/opera.desktop'
WARN  2013-05-23 02:21:03 unity.glib.dbus.server GLibDBusServer.cpp:580 Can't register object 'com.canonical.Autopilot.Introspection' yet as we don't have a connection, waiting for it...
WARN  2013-05-23 02:21:03 unity.glib.dbus.server GLibDBusServer.cpp:580 Can't register object 'com.canonical.Unity.Debug.Logging' yet as we don't have a connection, waiting for it...
WARN  2013-05-23 02:21:03 unity.libindicator <unknown>:0 Desktop file '/usr/share/applications/google-chrome.desktop' is using a deprecated format for its actions that will be dropped soon.
WARN  2013-05-23 02:21:03 unity.glib.dbus.server GLibDBusServer.cpp:580 Can't register object 'com.canonical.Unity.Launcher' yet as we don't have a connection, waiting for it...
WARN  2013-05-23 02:21:03 unity.glib.dbus.server GLibDBusServer.cpp:580 Can't register object 'com.canonical.Unity.Dash' yet as we don't have a connection, waiting for it...
WARN  2013-05-23 02:21:03 unity.glib.dbus.server GLibDBusServer.cpp:580 Can't register object 'org.gnome.SessionManager.EndSessionDialog' yet as we don't have a connection, waiting for it...
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
Bus error (core dumped)

损坏的 Unity 桌面

答案1

Andre,根据您描述的症状,这听起来像是硬件问题。要么是您的显卡出现故障,要么是您的显示器出现故障。尝试不同的操作系统或通过 USB 驱动器运行旧版本的 Ubuntu。如果问题再次出现,那么您的硬件肯定有问题。可能需要更换该显卡。

答案2

我遇到过几次这种情况,第一次是因为显卡坏了,但你刚刚排除了这种可能。第二次是因为我之前从 AMD 网站安装了 AMD 专有显卡驱动程序,而内核更新时驱动程序被破坏了。如果是这种情况,请尝试使用 Ubuntu 13.04 附带的专有 AMD 驱动程序或 Nvidia 驱动程序(视情况而定),我使用 AMD 专有驱动程序更新没有问题。

答案3

您正在使用带有 AMD HD 6670 显卡的开源 Gallium 驱动程序,但最好使用专有fglrx驱动程序。

sudo apt-get install fglrx

重新启动系统并使用fglrxinfoglxinfolsmod | grep fglrx命令检查 AMD 二进制驱动程序是否正在使用。

您可以参考这个指南:https://help.ubuntu.com/community/BinaryDriverHowto/ATI

答案4

在我尝试禁用视频硬件加速之前,使用并排双显示器时我遇到了很多问题。我遇到了视频损坏,两个屏幕都无法读取,系统锁定,需要重置电源线,还有许多其他问题,例如更改颜色。自从创建和修改文件以来,/etc/X11/xorg.conf我没有遇到任何问题(大约 10 天)。

请注意,我尝试使用专有驱动程序和多种其他修复方法,但均未成功。

在 Ubuntu 13.1 上,您必须创建该文件。您不能使用另一台机器上的文件。我尝试了另一篇文章中的以下内容,但没有成功(可能是因为我的机器被修复得一团糟)。它可能对其他人有用。

switch to console mode: Alt+Ctrl+F1
kill x server: sudo service lightdm stop
generate new xorg.conf file: sudo X -configure -- this will create xorg.conf.new file in your current dir
rename and move: sudo mv xorg.conf.new /etc/X11/xorg.conf
return to GUI: sudo start lightdm

我最终的做法是启动到命令提示符,完全跳过显示管理器。无论哪种方式,您都必须停止 X Window 系统才能创建文件。新文件的名称类似于 xorg.conf.new。创建文件后,我将其重命名为xorg.conf,编辑该NoAccel行,确保它具有 root 所有权,并将其放入/etc/X11/

xorg.conf使用 或其他根编辑器打开文件sudo nautilus。然后gksudo gedit向下滚动直到找到以下行。

#Option "NoAccel"  #[,bool>]  

并将其更改为

Option "NoAccel"         "True"

我不使用带有大量动画和特效的桌面。只有两个屏幕,其中一个是第一个的扩展,这样我就可以同时打开多个窗口。这对我来说真的很好,就像我说的,它不再崩溃或出现故障。

相关内容