Bug 74203 - Window corruption on dual-GPU (integrated+discrete) Radeon setup in GNOME 3.8
Summary: Window corruption on dual-GPU (integrated+discrete) Radeon setup in GNOME 3.8
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 01:32 UTC by Lawrence Hamblin
Modified: 2019-11-19 08:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log with EXA (46.88 KB, text/plain)
2014-01-30 01:32 UTC, Lawrence Hamblin
no flags Details
Xorg.0.log with glamor (46.55 KB, text/plain)
2014-01-30 01:34 UTC, Lawrence Hamblin
no flags Details
dmesg with EXA (83.76 KB, text/plain)
2014-01-30 01:34 UTC, Lawrence Hamblin
no flags Details
dmesg with glamor (83.18 KB, text/plain)
2014-01-30 01:34 UTC, Lawrence Hamblin
no flags Details
screenshot 1 (146.05 KB, image/jpeg)
2014-01-30 01:35 UTC, Lawrence Hamblin
no flags Details
screenshot 2 (145.75 KB, image/jpeg)
2014-01-30 01:37 UTC, Lawrence Hamblin
no flags Details
screenshot 3 (158.08 KB, image/jpeg)
2014-01-30 01:38 UTC, Lawrence Hamblin
no flags Details

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.