Bug 173256
Summary: | [GTK] WebGL aquarium rendering broken with AC set to on-demand under Wayland | ||
---|---|---|---|
Product: | WebKit | Reporter: | Emanuele Aina <emanuele.aina> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro |
Priority: | P3 | Keywords: | Gtk |
Version: | WebKit Nightly Build | ||
Hardware: | PC | ||
OS: | Linux |
Emanuele Aina
When opening https://webglsamples.org/aquarium/aquarium.html on r2180507/c41e8061429 on my XPS13 laptop with Weston running nested in the X11 session I get only the parameters box to render propertly, while the fish bowl is either flickering with bad contents or not rendering at all:
$ weston &
$ cd ~/dev/WebKit/
$ cmake . -DCMAKE_BUILD_TYPE=Debug -DPORT=GTK -DENABLE_SPELLCHECK=OFF -DENABLE_ACCELERATED_2D_CANVAS=OFF -DENABLE_GLES2=ON -DENABLE_PLUGIN_PROCESS_GTK2=OFF -DENABLE_TOOLS=ON -DENABLE_MINIBROWSER=ON -DDEVELOPER_MODE=ON
$ make -j16
$ ./bin/MiniBrowser https://webglsamples.org/aquarium/aquarium.html # will not render correctly in the nested Weston window
When forcing or disabling AC everything works fine:
$ WEBKIT_FORCE_COMPOSITING_MODE=1 ./bin/MiniBrowser https://webglsamples.org/aquarium/aquarium.html # works ok
$ WEBKIT_DISABLE_COMPOSITING_MODE=1 ./bin/MiniBrowser https://webglsamples.org/aquarium/aquarium.html # same
Under X11 everything works fine as well.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
I just see a completely gray window in Fedora 25 (with normal desktop OpenGL, Wayland session). Other WebGL demos work fine. So the problem with this aquarium demo is not limited to OpenGLES.