[Webkit-unassigned] [Bug 173796] [GStreamer] Browsers that use WebkitGTK play some videos with severe distortion if using VA-API.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 12 10:56:07 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=173796

--- Comment #5 from Víctor M. Jáquez L. <vjaquez at igalia.com> ---
9 Finally I spared some project time to narrow and understand the problem:

a) it only happens in Wayland
b) USE_GSTREAMER_GL should *not* be enabled. This is done by disabling the compositing mode (WEBKIT_DISABLE_COMPOSITING_MODE) in upstream, or by default in downstream.

In Wayland, glupload (from gstreamer-gl) negotiates dmabuf importing with VAAPI, getting zero-copy and correct rendering always.

Without glupload, the negotiation is with system memory mapping to download the buffer. But there are some streams which cannot be copied correctly from the VA context to the wayland/egl texture.

It seems that these streams are those which need a different allocation buffer size for decoding than the presentation buffer size.

The problem is similar with: 

https://bugzilla.gnome.org/show_bug.cgi?id=775698 (vaapisink in wl mutter)
https://bugzilla.gnome.org/show_bug.cgi?id=783169 (glimagesink in wl mutter)
https://bugzilla.gnome.org/show_bug.cgi?id=784369 (clutter in wl mutter)

-- 
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/20170712/5edaf7cf/attachment-0001.html>


More information about the webkit-unassigned mailing list