Bug 260991

Summary: [GTK] YouTube video becomes white or black or transparent after returning from fullscreen several times: Failed to get GBM buffer from swap chain: no buffers available
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mcatanzaro, philn, tri.voxel
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=260989
Attachments:
Description Flags
GStreamer debug log none

Description Michael Catanzaro 2023-08-31 13:55:59 PDT
Created attachment 467513 [details]
GStreamer debug log

Using Ephy Tech Preview with WebKitGTK 2.41.91 and GStreamer 1.22.5, play any video on YouTube and enter fullscreen mode by clicking on the fullscreen icon in the video. Then return from fullscreen and reenter fullscreen again. And again, and again. After repeating enough times (something like 5-15 times seems to be enough for me), the video will eventually break and become pure white, while the audio continues playing without issue. Because this issue is reproducible, I was able to get a GStreamer debug log, which I will attach.

Aside: this will also reproduce bug #260989, but I think that is probably unrelated because it starts happening well before the video playback eventually breaks.
Comment 1 Philippe Normand 2023-09-01 06:01:21 PDT
> Aside: this will also reproduce bug #260989, but I think that is probably unrelated because it starts happening well before the video playback eventually breaks.

Here the player blanked out right after the "Failed to get GBM buffer from swap chain: no buffers available" message flood started.

I don't think this is a GStreamer issue.
Comment 2 Michael Catanzaro 2024-02-28 08:49:53 PST
*** Bug 269952 has been marked as a duplicate of this bug. ***
Comment 3 Michael Catanzaro 2024-02-28 08:50:52 PST
This is still trivially reproducible with WebKitGTK 2.43.4 and GStreamer 1.22.8.
Comment 4 Michael Catanzaro 2024-02-28 09:37:33 PST
(In reply to Michael Catanzaro from comment #0) 
> Aside: this will also reproduce bug #260989, but I think that is probably
> unrelated because it starts happening well before the video playback
> eventually breaks.

Nowadays I'm guessing it's related, but I'm not sure.