Bug 1481493

Summary: Compile time bug breaks some shaders on intel mesa > 17.1.3-2.fc27
Product: [Fedora] Fedora Reporter: Sebastian Keller <sebastian-keller>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: ajax, bnocera, fschwarz, ignatenko, rstrode, thatslyude
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mesa-17.2.0-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-30 06:23:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sebastian Keller 2017-08-15 02:26:20 UTC
Using any F27 mesa package newer than 17.1.3-2.fc27 breaks some of the shaders used in GNOME. One example is the vignette shader in the gnome-shell overview [1]. With newer mesa packages the vignette is centered around the top left corner instead of the center of the screen. Another example is video playback in totem which uses clutter-gst [2]. Here all videos now have a pinkish hue.

This happens using a intel GPU on X:
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09)

I've tried manually building mesa 17.1.3 on a fully updated F27 system and this was resulting in broken shaders as well, so this is not due to changes in mesa itself, but due to changes in one of its build time dependencies. Installing mesa-17.1.5-1.fc26 on the same F27 system did not show any of these issue (mesa-17.1.5-1.fc27 did).

[1] https://git.gnome.org/browse/mutter/tree/src/compositor/meta-background-actor.c#n103
[2] https://git.gnome.org/browse/clutter-gst/tree/clutter-gst/clutter-gst-video-sink.c?h=clutter-gst-3.0

Comment 1 Jan Kurik 2017-08-15 06:48:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 2 Sebastian Keller 2017-08-21 17:02:33 UTC
The change resulting in this issue was somewhere in glibc. Installing glibc 2.25.90-7 or older and compiling mesa against it results in a working version. Updating to 2.25.90-12 or newer results in a broken mesa. There were no successfully built glibc packages between these two versions.

Comment 3 Bastien Nocera 2017-08-23 20:06:55 UTC
See also https://bugs.webkit.org/show_bug.cgi?id=175775

Comment 4 Ray Strode [halfline] 2017-09-11 15:14:51 UTC
See also https://bugs.freedesktop.org/show_bug.cgi?id=102454

Comment 5 Ray Strode [halfline] 2017-09-11 15:16:19 UTC
and https://bugzilla.gnome.org/show_bug.cgi?id=786677

Comment 6 Fedora Update System 2017-09-11 16:29:17 UTC
mesa-17.2.0-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-601887be61

Comment 7 Fedora Update System 2017-09-11 21:56:44 UTC
mesa-17.2.0-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-601887be61

Comment 8 Fedora Update System 2017-09-30 06:23:46 UTC
mesa-17.2.0-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.