Bug 192558
Summary: | [GTK] Fails to play fullscreen video with Epiphany Tech Preview, something wrong with EGL? | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, cedric.bellegarde, mcatanzaro, pnormand, tsaunier |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | PC | ||
OS: | Linux | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=201507 https://bugs.webkit.org/show_bug.cgi?id=202362 |
Michael Catanzaro
Visit https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg and fullscreen the video. The audio continues to play, but WebKit renders only a black screen.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Another example: visit https://gitlab.gnome.org/GNOME/epiphany/issues/604 and fullscreen the video in the first comment, using Tech Preview. The video plays fine when not fullscreen, but when fullscreen WebKit only shows a black page.
Philippe Normand
I can't reproduce this issue with GTK's MiniBrowser running in WebKit's flatpak.
Michael Catanzaro
The main differences:
* WebKit's flatpak environment is quite outdated compared to the GNOME runtime
* WebKit's runtime uses stable versions of GStreamer whereas the GNOME runtime uses git nightlies
* WebKit's runtime has extra multimedia codecs that are still not yet readily available in the GNOME runtime
Michael Catanzaro
Another difference: Epiphany now force-disables accelerated compositing mode, unlike MiniBrowser.
Philippe Normand
I doubt this is related with GStreamer. Playback isn't interrupted when going to fullscreen.
However this might be related with accelerated compositing indeed? Requires a debugging session in the Flatpak sandbox :)
Michael Catanzaro
This is still broken.
Thibault Saunier
I can't reproduce with latest flatpak from flathub. Though I am hitting https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/639 whenever I seek...
Michael Catanzaro
(In reply to Thibault Saunier from comment #7)
> I can't reproduce with latest flatpak from flathub.
We don't have a flatpak on flathub? Do you mean Tech Preview (not on flathub)?
I can reproduce the blank screen in Tech Preview, but I can't hear the video playing successfully anymore because video playback freezes.
Thibault Saunier
> ➜ ~ flatpak list |grep -i epiphany
> GNOME Web org.gnome.Epiphany stable flathub user
> ---
I did run update but indeed, it is an old thing.
I installed the write flatpak version and could reproduce, will have a look at that one.
Michael Catanzaro
*** Bug 195096 has been marked as a duplicate of this bug. ***
Michael Catanzaro
So nowadays the video is no longer blank; instead, we see the web page content as if there were no video. I have no clue what's wrong. The bug does not occur in my jhbuild environment, which makes it hard to debug.
It's 100% reproducible using the videos at https://gitlab.gnome.org/GNOME/epiphany/-/issues/1135#note_905514
Philippe Normand
(In reply to Michael Catanzaro from comment #11)
> So nowadays the video is no longer blank; instead, we see the web page
> content as if there were no video. I have no clue what's wrong. The bug does
> not occur in my jhbuild environment, which makes it hard to debug.
>
> It's 100% reproducible using the videos at
> https://gitlab.gnome.org/GNOME/epiphany/-/issues/1135#note_905514
Works as expected here in Ephy 3.38.0-16-gb0766c3a7+
Michael Catanzaro
(In reply to Philippe Normand from comment #12)
> > It's 100% reproducible using the videos at
> > https://gitlab.gnome.org/GNOME/epiphany/-/issues/1135#note_905514
>
> Works as expected here in Ephy 3.38.0-16-gb0766c3a7+
It works for me today too (same Ephy version). Strange. I doubt anything code has changed since yesterday....
Michael Catanzaro
I'm starting to suspect this issue is related to bug #201507. That is, it only occurs when EGL is not working properly.
Michael Catanzaro
(In reply to Michael Catanzaro from comment #14)
> I'm starting to suspect this issue is related to bug #201507. That is, it
> only occurs when EGL is not working properly.
It seems my guess was correct. I can reproduce right now, for the first time in several days. The bug occurs also in a new incognito window created in Epiphany's window menu (same flatpak sandbox), but not in new incognito windows created from the gnome-shell jumplist (separate flatpak sandbox), which proves it's related to bug #201507.
However, fixing that crash will probably not fix fullscreen video, so I'll reopen this.
Michael Catanzaro
I'm certain that the current problem is bug #201507. Having two bugs open for the same underlying issue is not useful, so closing this.
At the time I originally reported this bug, bug #201507 had not been introduced yet, because we didn't use WPE renderer yet. Somebody must have fixed it at some point in the meantime. Hence, I'm closing this as FIXED rather than DUPLICATE.