Bug 74203

Summary: Window corruption on dual-GPU (integrated+discrete) Radeon setup in GNOME 3.8
Product: DRI Reporter: Lawrence Hamblin <infinity_d>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log with EXA
none
Xorg.0.log with glamor
none
dmesg with EXA
none
dmesg with glamor
none
screenshot 1
none
screenshot 2
none
screenshot 3 none

Description Lawrence Hamblin 2014-01-30 01:32:58 UTC
Created attachment 93022 [details]
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:
1. Set AccelMethod to glamor in xorg.conf.
2. Install discrete GPU.
3. Connect display(s) to integrated GPU.
4. Boot system.
5. Login to GNOME.
6. Open any program.

Expected results:
Program appears normally.

Actual results:
Program window is corrupted.
Comment 1 Lawrence Hamblin 2014-01-30 01:34:08 UTC
Created attachment 93023 [details]
Xorg.0.log with glamor
Comment 2 Lawrence Hamblin 2014-01-30 01:34:30 UTC
Created attachment 93024 [details]
dmesg with EXA
Comment 3 Lawrence Hamblin 2014-01-30 01:34:56 UTC
Created attachment 93025 [details]
dmesg with glamor
Comment 4 Lawrence Hamblin 2014-01-30 01:35:32 UTC
Created attachment 93026 [details]
screenshot 1
Comment 5 Lawrence Hamblin 2014-01-30 01:37:19 UTC
Created attachment 93027 [details]
screenshot 2
Comment 6 Lawrence Hamblin 2014-01-30 01:38:07 UTC
Created attachment 93028 [details]
screenshot 3
Comment 7 Michel Dänzer 2017-08-28 09:58:25 UTC
Does this still happen with current versions of the kernel, Mesa and xf86-video-ati?
Comment 8 Martin Peres 2019-11-19 08:42:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/431.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.