Bug 105918

Summary: Mesa 18.0.0-2 video color issues and distorted video with system hang on restart (Apple Mac Pro 6,1 with AMD D300 GPUs)
Product: Mesa Reporter: Cory T <cory>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED DUPLICATE QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: jplatte+freedesktop
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot of Konsole with mesa 18.0

Description Cory T 2018-04-06 03:11:19 UTC
Apple Mac Pro 6,1 (black trash can) with dual AMD D300 GPUs has improper video color (e.g., all terminals whether vte based or not [tested termite and alacritty which uses the GPU], black background is instead blue, window title bar text is very difficult to read, almost white on white using Adwaita theme under i3wm) or will distort video with distorted rectangles upon reboot attempt (cannot use MagicSysKey and REISUB as it appears hard locked).

This happened originally with amdgpu, kernel 4.15.15, Arch Linux after a full (not partial) system update when Mesa 18.0.0-2 hit the main repos.

Tried switching to kernel 4.14.x, no change. Tried vanilla and zen kernels, no change.

Tried changing from amdgpu to radeon along with various kernels, no change.

Went back to amdgpu, downgraded the following (all at once since they were in the batch of updates that caused the issue) to 17.3.7-1 and normal video has been restored: mesa, mesa-vdpau, libva-mesa-driver, lib32-libva-mesa-driver, lib32-mesa, lib32-mesa-vdpau, lib32-vulkan-radeon, opencl-mesa and vulkan-radeon.
Comment 1 Jonas Platte 2018-04-09 17:38:56 UTC
Created attachment 138706 [details]
Screenshot of Konsole with mesa 18.0

I have the same issue on my desktop, using an AMD Radeon RX 460. I attached a screenshot of what it looks like in Konsole, I have noticed two other parts of the system are affected too though:

* Window headers in i3-wm (I only have them with tabbed views, but I would assume the problem affects them when they are drawn in non-tabbed views too)
* Popovers in Firefox

Not sure if this helps at all, but while Konsole breaks completely, gnome-terminal works without any issues (as do other Gtk3 programs).

I also tried to re-enable `amdgu.dc` on the kernel command line (I have it disabled due to screen flickering when using redshift), which didn't help.

For now I have downgraded to mesa 17.3.
Comment 2 Jonas Platte 2018-04-09 17:57:29 UTC
Played around a bit more and found out this only happens with compton. And it seems to have been reported a while ago already:

compton bug: https://github.com/chjj/compton/issues/477
comment with workaround (works for me): https://github.com/chjj/compton/issues/477#issuecomment-370155748
underlying issue: https://bugs.freedesktop.org/show_bug.cgi?id=104597T
Comment 3 Jonas Platte 2018-04-09 17:59:57 UTC
Sorry for the broken link, don't know how I accidentally added 'T' to the end. Proper link: https://bugs.freedesktop.org/show_bug.cgi?id=104597
Comment 4 Timothy Arceri 2018-04-09 20:56:49 UTC

*** This bug has been marked as a duplicate of bug 104597 ***

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.