GNOME Bugzilla – Bug 773397
Compile failure in vertex shader, GLSL 1.50 is not supported.
Last modified: 2016-10-23 20:49:18 UTC
Hello! I'm sorry. I'm reporting a bug which is currently not official released for the 3.22-branch. Archlinux is using currently a commit above 3.22.1, maybe to get as many bugfixes as possible: https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=ffb1ac56a8ae8b0261b9007115faed6206d4b06b Applications which use GLSL (WebKit2Gtk?) are broken and render a complete black window on Wayland, including Window borders. Affected are at least Epiphany and Evolution. This is the output from journalctl -rb: Oct 23 21:37:42 cupcake evolution[1917]: Compile failure in vertex shader: 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES My hardware is a ThinkPad X220 (SandyBridge, HD3000): $ glxinfo | grep -i opengl OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile OpenGL core profile version string: 3.3 (Core Profile) Mesa 12.0.3 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 12.0.3 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 12.0.3 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions: If I'm allowed to make a guess, here are my candidates: https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=803362bb5d376613d671eb84f1ca642259158e20 https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=d40c6f180fc832d6917a69b7a05080e402dc927e Likely you would notice this issue anyway before the release of 3.22.2, but I think it better to report this as soon as possible. Thank You
Created attachment 338306 [details] [review] gdk/gl: fix truth value of negative use_es I noticed the issue as well and managed to pinpoint the issue: https://bugzilla.gnome.org/show_bug.cgi?id=773180#c5 For completeness, I attached the patch to this bug as well.
The issue was already fixed in master, and I've now cherry picked the relevant commits to the gtk-3-22 branch. https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=4cdd4d03cc6ec9aba543cf3463c59f8bf7c2121f https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=a1115c05be1a8bc6e3e299e72accbbee12bd77a7
Thank you - that was fast :)