Window corruption on dual-GPU (integrated+discrete) Radeon setup in GNOME 3.8
Submitted by Lawrence Hamblin
Assigned to Default DRI bug account
Description
Created attachment 93022
Xorg.0.log with EXA
I have two GPUs in my Gentoo Linux setup: a Radeon HD 7560D (ARUBA) integrated into an AMD A8-5600K APU (Trinity), and a discrete Radeon HD 7570 (TURKS), both of which are plugged into an ASUS F2A85-M PRO motherboard. I'm running a 3.10.25 kernel, xorg-server-1.14.3-r2, and xf86-video-ati 7.2.0, with the GNOME 3.8 desktop environment installed. These are all the most recent stable versions in Gentoo.
The issue is window corruption occurring when I open programs. I've attached three example images. One depicts the drop shadow that normally appears around a window border, but none of the window's contents. The other two show windows with corrupted contents, one with bits of the desktop background, and the other with discolored application icons from the activities menu. Note that this occurs in a GNOME session that is otherwise normal: the taskbar at the top of the screen and the activities menu operate normally, the desktop wallpaper is unaffected, and I can close and move open windows using their titlebars, which suggests I could possibly use the programs normally, but without any visual feedback. Some of the of the noise and artifacts appearing in corrupted windows also appear on the display at boot immediately prior to the GNOME login screen, which itself looks normal.
This occurs when my display(s) are plugged into the motherboard, i.e. running on the 7560D, and when the acceleration method is set to glamor. With EXA, no such issue occurs.
The problem I have is similar to the one detailed in an Ubuntu Forums post (http://ubuntuforums.org/showthread.php?t=2180826) and alluded to in bug 70409 (filed by the author of the forum post). Our setups are slightly different: he encountered the problem on a laptop with both an integrated and a discrete GPU and on a desktop with two discrete GPUs; my system is a desktop with integrated and discrete GPUs.
Steps to reproduce:
- Set AccelMethod to glamor in xorg.conf.
- Install discrete GPU.
- Connect display(s) to integrated GPU.
- Boot system.
- Login to GNOME.
- Open any program.
Expected results:
Program appears normally.
Actual results:
Program window is corrupted.
**Attachment 93022**, "Xorg.0.log with EXA":
xorg-log_7560d_EXA.txt