Bug 192558

Summary: [GTK] Fails to play fullscreen video with Epiphany Tech Preview, something wrong with EGL?
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: MediaAssignee: 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
Reported 2018-12-10 10:54:12 PST
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
Note You need to log in before you can comment on or make changes to this bug.
Michael Catanzaro
Comment 1 2018-12-26 10:58:49 PST
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
Comment 2 2019-01-01 06:33:29 PST
I can't reproduce this issue with GTK's MiniBrowser running in WebKit's flatpak.
Michael Catanzaro
Comment 3 2019-01-01 10:18:13 PST
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
Comment 4 2019-01-01 12:27:13 PST
Another difference: Epiphany now force-disables accelerated compositing mode, unlike MiniBrowser.
Philippe Normand
Comment 5 2019-01-01 14:47:25 PST
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
Comment 6 2019-06-24 11:54:03 PDT
This is still broken.
Thibault Saunier
Comment 7 2019-08-29 05:38:56 PDT
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
Comment 8 2019-08-30 10:32:32 PDT
(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
Comment 9 2019-09-02 08:23:44 PDT
> ➜ ~ 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
Comment 10 2020-09-18 12:18:01 PDT
*** Bug 195096 has been marked as a duplicate of this bug. ***
Michael Catanzaro
Comment 11 2020-09-18 12:18:41 PDT
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
Comment 12 2020-09-19 02:13:26 PDT
(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
Comment 13 2020-09-19 11:11:11 PDT
(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
Comment 14 2020-10-14 07:49:28 PDT
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
Comment 15 2020-10-27 14:47:34 PDT
(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
Comment 16 2021-02-03 12:10:49 PST
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.