saiarcot895 / chromium-ubuntu-build

Packaging files for building Chromium on Ubuntu
138 stars 32 forks source link

Choppy playback on AMD Vega 8 Ubuntu 18.04 #93

Open panpietrek opened 4 years ago

panpietrek commented 4 years ago

Hi,

After recent updates (both distro and Chromium from your ppa) I'm seeing choppy playback with HW acceleration enabled.

Here's the output while trying to play Youtube vid:

LIBVA_MESSAGING_LEVEL=2 chromium-browser --enable-logging=stderr --log-level=0 [20310:20335:0724/141844.021707:WARNING:user_type_filter.cc(59)] No user type filter specified for cimiefiiaegbelhefglklhhakcgmhkai. Using default user type filter, please update the app. libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva info: va_openDriver() returns 0 [20342:20342:0724/141844.085636:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. mesa: for the --simplifycfg-sink-common option: may only occur zero or one times! mesa: for the --global-isel-abort option: may only occur zero or one times! mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times! [20415:15:0724/141851.401882:ERROR:batching_media_log.cc(38)] MediaEvent: {"error":"{\"causes\":[{\"causes\":[],\"data\":{},\"stack\":[{\"file\":\"unknown\",\"line\":-1}],\"status_code\":264,\"status_message\":\"\"}],\"data\":{\"Decoder name\":\"DecryptingVideoDecoder\"},\"stack\":[{\"file\":\"unknown\",\"line\":-1}],\"status_code\":265,\"status_message\":\"\"}"} [20342:20342:0724/141851.412448:WARNING:gpu_video_decode_accelerator_factory.cc(249)] Initializing VAAPI VDA. libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva info: va_openDriver() returns 0

Disabling HW accel via about:flags helps.

My hardware is an HP Envy with AMD Ryzen 2500U and Vega 8 GPU running KDE Neon 18.04 with HWE stack: kernel 5.4.0-42-generic + mesa-va-drivers 20.0.8-0ubuntu1~18.04.1 + xserver-xorg-video-amdgpu-hwe-18.04 19.1.0-1~18.04.1

Could you help here, please?

saiarcot895 commented 4 years ago

On my system, 1080p is affected, 720p seems fine.