[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021664: vlc: Automatic hardware acceleration drops most frames



Hello,

This bug #1021664 and bug #1021601 (which I wrote) seem to be related.

I obtained the same vlc behavior as bug #1021664 after installing the package libvdpau-va-gl1 version 0.4.2-1+b1 (debian testing), with the same message "avcodec decoder: Using OpenGL/VAAPI backend for VDPAU" , and video acceleration activity reported by intel_gpu_top.

When I uninstalled it, video reading was smooth again, but with no hardware acceleration.

When this  package is installed, it seems that vlc uses vdpau acceleration which is then emulated on the va-api hardware via libvdpau-va-gl1. That is too slow and playback is not smooth as a result.

@Rémi Denis-Courmont the va-api acceleration loss was probably not deliberate. As I noticed in the bug #1021601 report, this could to be a collateral damage of the switch from libavcodec library version 4.4 to 5.1 (at least the filetree has changed). Some modules like va-api acceleration are not compiled, so vlc still compiles and runs, but with lost functionalities. Could tell us what libavcodec version is currently used by vlc developpers ?

Have a good day.

FM

On Wed, 12 Oct 2022 22:20:51 +0200 "Miguel A. Vallejo" <ea4eoz@gmail.com> wrote:

> Rémi Denis-Courmont (<remi@remlab.net>) wrote:
>
> > That log shows VLC *not* using video acceleration.
>
> But intel-gpu-top shows VLC using the GPU, so it is trying to use
> accelerated video. From the very same log I submitted:
>
> libva info: VA-API version 1.16.0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
> libva info: Found init function __vaDriverInit_1_15
> libva info: va_openDriver() returns 0
> [00007fd370062690] main generic debug: using hw decoder module
> "vdpau_avcodec"
> [00007fd384c1d9b0] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU
> for hardware decoding
>
> > Note that Debian has turned off VA-API support in VLC:
>
> > https://bugs.debian.org/1021601
>
>
> Any good reason for that decision? It worked wonderfully
>
> Thanks in advance.

--
Fabien MOTTA
mail: fabi_motta@hotmail.fr
tel.: 06 89 86 75 74


Reply to: