[Webkit-unassigned] [Bug 279439] New: DMABuf sink: Renderer crash on imx6q
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 10 06:28:19 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=279439
Bug ID: 279439
Summary: DMABuf sink: Renderer crash on imx6q
Product: WebKit
Version: WebKit Local Build
Hardware: Other
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WPE WebKit
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jre at pengutronix.de
CC: bugs-noreply at webkitgtk.org
Created attachment 472514
--> https://bugs.webkit.org/attachment.cgi?id=472514&action=review
backtrace for a renderer crash when trying to play video using wpewebkit-2.44.3 on imx6q
Commit e96233 enables the DMABufVideoSink for wpewebkit 2.41 onwards which breaks video playback on platforms not supporting GL_EXT_texture_rg (here: imx6q/GC2000 using etnaviv).
The creation of the YUV textures for DMABufVideoSink fails on such platforms, leading under some circumstances to a renderer crash (see attached backtrace for wpewebkit-2.44.3) caused by an unsuccessfully created texture being passed into glEGLImageTargetTexture2DOES by TextureMapperPlatformLayerProxyDMABuf::DMABufLayer::createEGLImageData. In cases where the video playback attempt does not crash the renderer, videos show only as green rectangles.
Enforcing the 2.40 series path of webkit-gl-video-appsink/GstGLColorConvertElement/GstGLUploadElement via the WEBKIT_GST_DMABUF_SINK_DISABLED=1 environment variable restores video playback on the imx6q.
Could I solve this by adding a runtime check that disables DMABufVideoSink if GL_EXT_texture_rg is unavailable?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240910/612b8b02/attachment.htm>
More information about the webkit-unassigned
mailing list