Bug 95103 - [radeonsi] Blue-ish textures in many OpenGL games
Summary: [radeonsi] Blue-ish textures in many OpenGL games
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-24 11:42 UTC by kilobug
Modified: 2016-04-29 17:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
BG EE with the bug (1.88 MB, text/plain)
2016-04-24 11:42 UTC, kilobug
Details
BG EE with the bug (1.88 MB, image/png)
2016-04-24 11:43 UTC, kilobug
Details
BG EE without the bug (1.88 MB, image/png)
2016-04-24 11:44 UTC, kilobug
Details

Description kilobug 2016-04-24 11:42:09 UTC
Created attachment 123202 [details]
BG EE with the bug

I've a Radeon R9 370X and I'm using Oibaf's ppa to get a recent git version of Mesa on my Debian Sid.

I upgraded yesterday from 11.3~git1604130730.d1c89f~gd~x to 11.3~git1604211930.0020ca~gd~x and textures are now bluish in most games. Affected games are varied, low-graphics games like Baldur's Gate EE, Unity games like Kerbal Space Program or Wasteland 2, or relatively intensive games like Witcher 2. 

Wine games seem to not be affected, nor is purely 2D operations like video playback or desktop applications (GNU Emacs, Firefox, LibreOffice).

Included screenshot from BGEE using the latest version from Oibaf, and the same game running on Debian Sid version of Mesa (11.2.1-1).

On a side-note, to get the bug to appear/disappear when changing the driver version I need to restart X, so it seems to be on the server-side rather than client-side that the bug is.
Comment 1 kilobug 2016-04-24 11:43:43 UTC
Created attachment 123203 [details]
BG EE with the bug
Comment 2 kilobug 2016-04-24 11:44:05 UTC
Created attachment 123204 [details]
BG EE without the bug
Comment 3 kilobug 2016-04-24 12:08:19 UTC
Forgot to say : perhaps related to https://bugs.freedesktop.org/show_bug.cgi?id=94671 , like this fix triggered a bug in some other games ? I don't have Shadow of Mordor to test.
Comment 4 Bas Nieuwenhuizen 2016-04-24 12:17:04 UTC
Does reverting ccdcf91104a5f07127b5b8d8570b5c4bbcf86647 (and restarting X) fix it? If so, this is probably the same issue as https://bugs.freedesktop.org/show_bug.cgi?id=95071 .
Comment 5 kilobug 2016-04-24 13:07:35 UTC
I'm trying to compile mesa myself to test without ccdcf91104a5f07127b5b8d8570b5c4bbcf86647 but it takes time and it's a bit complicated (especially since I'm using multiarch between 64-bits and 32-bits).

But I did with a Qt application (vlc) and I do have the bug with Oibaf's ppa and not with Sid's Mesa, so it's very likely the same bug.
Comment 6 Daniel Scharrer 2016-04-24 13:54:46 UTC
Strangely enough, Wasteland 2 rendered fine here without reverting ccdcf911 (don't have the other games you listed).

Anyway, the commit in question has now been reverted in Mesa master.
Comment 7 kilobug 2016-04-29 17:58:17 UTC
I just tried latest mesa git, and the bug did disappear, so it very likely was the same issue than https://bugs.freedesktop.org/show_bug.cgi?id=95071


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.