[vlc-devel] [PATCH 2/2] avcodec: prioritise vaapi over vdpau

Thomas Guillem thomas at gllm.fr
Sun Dec 3 11:26:15 CET 2017

On Sun, Dec 3, 2017, at 08:46, Rémi Denis-Courmont wrote:
> Le perjantaina 1. joulukuuta 2017, 10.50.16 EET Thomas Guillem a écrit :
> > Favor VAAPI over VDPAU: VDPAU is deprecated and present on less systems than
> > VAAPI. Furthermore, the try and fail of VDPAU vout/va take much longer than
> > the VAAPI one (around twice the time, that is 100-200ms). VAAPI will only
> > be used for direct rendering by default, so VDPAU will still be used
> > instead of VAAPI with CPU copy
> That´s peanuts compared to the time loading GL, which is unavoidable
> either 
> way. And when CUDA replaces VDPAU, it will have to be probed before
> anyway, so that seems counter-productive...

This time takes GL initialization into account as you have to init GL to
know if you can do DR.

We can gain 150ms for users having intel as a primary GPU.

And you loose only 40ms for users having a nvidia GPU.

> -- 
> 雷米‧德尼-库尔蒙
> https://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list