saiarcot895 / chromium-ubuntu-build

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

AMD hardware video decoding slow down with time on Ubuntu 20.04 #115

Closed vasylenkoserhii closed 3 years ago

vasylenkoserhii commented 3 years ago

First met this problem with version 86, but then checked and confirmed on 91.0.4472.27-0ubuntu1~ppa3~20.04.1

Tried with stock xserver-xorg-video-amdgpu 19.1.0-1 and with driver installed from AMD site (xserver-xorg-amdgpu-video-amdgpu-emb 19.1.0-935).

Playback started with video acceleration (uses less than 10% of CPU and smooth playback). But with time CPU usage increased and for long enough video files, after 2-3 hours of playback CPU usage increased to 100% and more and video playback become choppy. Seems like something accumulates in playback and two processes have high CPU usage - chromium render process and Xorg process.

vasylenkoserhii commented 3 years ago

Found that with driver from AMD all works as supposed and problem appears only when standard Ubuntu 20.04 set of packages used.