Control: reassign -1 src:mesa 18.2.5-2 Control: severity -1 important Control: clone -1 -2 Control: reassign -2 gcc-8 8.2.0-9 Control: retitle -2 gcc-8 miscompiles mesa Control: forwarded -2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 Control: tags -2 + patch Control: affects -2 src:mesa
On Thu, 22 Nov 2018 02:32:35 +0100 GSR <gsr.b...@infernal-iceberg.com> wrote:> Package: mesa > Version: 18.2.5-2 > Followup-For: Bug #914267 > > That looks like missing shaders. I hit a similar thing with mpv (just > blue window, sound but no video) after upgrading 18.2.5-1 => 18.2.5-2, > luckly showing some output that later helped with searches. > > ---8<--- > [vo/gpu/opengl] fragment shader compile log (status=0): > [vo/gpu/opengl] 0:36(27): error: invalid input layout qualifier used > [vo/gpu/opengl] > [vo/gpu/opengl] shader link log (status=0): error: linking with uncompiled/unspecialized shader > --->8--- > > Bug 914303 could be the same too, garbled or single color output could > mean shaders not working because they failed to compile. Looking up > the error text, I found the culprit could be gcc, creating faulty > mesa binaries. https://bugs.freedesktop.org/show_bug.cgi?id=108646 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 I ran into a similar issue. I use vmware and hosts using 3D acceleration no longer start successfully. On stdout I get the error message NOT_IMPLEMENTED bora/mks/renderers/gl/GLShader.c:1887 I can confirm the findings of GSR that this appears to be a gcc-8 regression. Rebuilding src:mesa with gcc-7 fixed those issues for me. Might be a good idea to (temporarily) switch to gcc-7 depending on how long it takes until this fix is applied in gcc-8. The attached patch worked for me. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
diff -u mesa-18.2.5/debian/changelog mesa-18.2.5/debian/changelog --- mesa-18.2.5/debian/changelog +++ mesa-18.2.5/debian/changelog @@ -1,3 +1,11 @@ +mesa (18.2.5-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Force compilation against gcc-7, gcc-8 miscompiles mesa + See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 + + -- Michael Biebl <bi...@debian.org> Thu, 22 Nov 2018 03:32:38 +0100 + mesa (18.2.5-2) unstable; urgency=medium * Move KHR/khrplatform.h from libegl1-mesa-dev to mesa-common-dev diff -u mesa-18.2.5/debian/control mesa-18.2.5/debian/control --- mesa-18.2.5/debian/control +++ mesa-18.2.5/debian/control @@ -6,6 +6,9 @@ Standards-Version: 4.1.4 Build-Depends: debhelper (>= 11), + gcc-7, + g++-7, + cpp-7, quilt (>= 0.63-8.2~), pkg-config, libdrm-dev (>= 2.4.92) [!hurd-any], diff -u mesa-18.2.5/debian/rules mesa-18.2.5/debian/rules --- mesa-18.2.5/debian/rules +++ mesa-18.2.5/debian/rules @@ -10,6 +10,9 @@ DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) +export CC = gcc-7 +export CXX = g++-7 + ifeq (,$(filter $(DEB_HOST_ARCH), armhf sh3 sh4)) buildflags = \ $(shell DEB_CFLAGS_MAINT_APPEND=-Wall DEB_CXXFLAGS_MAINT_APPEND=-Wall dpkg-buildflags --export=configure)
signature.asc
Description: OpenPGP digital signature