RESOLVED WORKSFORME 220141
[GStreamer] Media playback shows artifacts with hardware acceleration
https://bugs.webkit.org/show_bug.cgi?id=220141
Summary [GStreamer] Media playback shows artifacts with hardware acceleration
focica4699
Reported 2020-12-24 04:54:51 PST
Created attachment 416748 [details] Screenshot of issue Media playback (like YouTube, HLS Streams in Shinobi etc.) shows strange artifacts with default hw-acceleration setting in Epiphany (on-demand). Disabling it solves the issue. lshw -c video output: *-display description: VGA compatible controller product: Picasso vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:05:00.0 version: c1 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi msix vga_controller bus_master cap_list configuration: driver=amdgpu latency=0 resources: irq:59 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:1000(size=256) memory:d0500000-d057ffff OS: Arch Linux Epiphany: 3.38.2.-1 Webkit2gtk: 2.30.4-2
Attachments
Screenshot of issue (327.25 KB, image/png)
2020-12-24 04:54 PST, focica4699
no flags
Philippe Normand
Comment 1 2020-12-25 08:10:03 PST
focica4699
Comment 2 2020-12-27 01:25:33 PST
gst-inspect-1.0 --version gst-inspect-1.0 version 1.18.2 GStreamer 1.18.2 https://www.archlinux.org/ Installed plugins: local/gst-plugins-bad 1.18.2-1 Multimedia graph framework - bad plugins local/gst-plugins-bad-libs 1.18.2-1 Multimedia graph framework - bad local/gst-plugins-base 1.18.2-1 Multimedia graph framework - base plugins local/gst-plugins-base-libs 1.18.2-1 Multimedia graph framework - base local/gst-plugins-good 1.18.2-1 Multimedia graph framework - good plugins local/gst-plugins-ugly 1.18.2-1 Multimedia graph framework - ugly plugins local/gst-libav 1.18.2-1 Multimedia graph framework - libav plugin local/gstreamer-vaapi 1.18.2-1 Multimedia graph framework - vaapi plugin
Philippe Normand
Comment 3 2020-12-27 05:31:54 PST
(In reply to Philippe Normand from comment #1) > Can you provide more informations please? Refer to > https://github.com/Igalia/meta-webkit/wiki/Providing-useful-GStreamer-Zero- > copy-issue-reports Please provide pipeline dumps, as instructed in this wiki page.
focica4699
Comment 4 2020-12-27 13:16:08 PST
(In reply to Philippe Normand from comment #2) > (In reply to Philippe Normand from comment #1) > > Can you provide more informations please? Refer to > > https://github.com/Igalia/meta-webkit/wiki/Providing-useful-GStreamer-Zero- > > copy-issue-reports > > Please provide pipeline dumps, as instructed in this wiki page. Unfortunatey this method does not work with epiphany.
Philippe Normand
Comment 5 2020-12-27 13:44:26 PST
It should, unless your GStreamer packages have debug logs disabled, which I wouldn't recommend. I'm afraid I won't be able to help much then. Sorry!
focica4699
Comment 6 2020-12-31 01:26:33 PST
I've reported bug to Arch Linux Bug Tracker since OS does not provide gstreamer with debug enabled. https://bugs.archlinux.org/task/69141
Philippe Normand
Comment 7 2022-06-29 05:22:11 PDT
Is this still an issue? BTW, PSA: in 2.38 gstreamer-vaapi decoders will not be used, unless the WEBKIT_GST_ENABLE_LEGACY_VAAPI env var is set to 1. The new stateless va decoders will be used, supposing their rank is high enough, which can be ensured by setting this env var: GST_PLUGIN_FEATURE_RANK=vah264dec:MAX
Philippe Normand
Comment 8 2022-08-16 11:53:50 PDT
Please give this a try with the new decoder has mentioned in previous comment. Feel free to re-open if the issue is still happening.
Note You need to log in before you can comment on or make changes to this bug.