brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
16.98k stars 2.21k forks source link

Corruption of avc1 encoded videos #7706

Open Nuc1eoN opened 4 years ago

Nuc1eoN commented 4 years ago

Some videos give me a weird corruption on brave, and it appears to affect only the x264 codec. Videos encoded in VP9 are not affected it seems.

This is what it looks like:

Screenshot_20200112_224534 Video link: https://www.youtube.com/watch?v=EcEMX-63PKY

This does not happen on Chromium or Firefox.

My System: Archlinux 64 bit Brave 1.2.42 GPU: AMD RX 470, open source drivers CPU: Ryzen R7 1700 Using this package https://aur.archlinux.org/packages/brave-bin/

fmarier commented 4 years ago

This might be due to a GPU driver bug. I know that the Arch packages turn on video hardware acceleration. Disabling that might help.

Nuc1eoN commented 4 years ago

@fmarier Yes indeed turning off HW accelaration seems like a workaround.

It still looks like a Brave bug to me because upstream Chromium with HW accell enabled works totally fine.

Nuc1eoN commented 4 years ago

Depends on https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/136#note_471852

Nuc1eoN commented 3 years ago

In case anybody needs a workaround:

Your issue is with mesa rgb10 configs. You need to disable it. Add export allow_rgb10_configs=false in your environment and relaunch.

credit to @akarshanbiswas