[vlc-devel] [PATCH 02/26] vout: create/release the decoder device when the window is enabled/disabled

Rémi Denis-Courmont remi at remlab.net
Tue Sep 24 10:47:04 CEST 2019


Again, it would be nice if the underlying assumption, that NVDEC (and any other future extra hw decoder) was permanently a superset or subset of DX and VA.

I doubt that will work in reality. They are developed by different companies with different agendas and schedules.

Le 24 septembre 2019 09:55:59 GMT+03:00, Thomas Guillem <thomas at gllm.fr> a écrit :
>On Mon, Sep 23, 2019, at 18:50, Rémi Denis-Courmont wrote:
>> Le maanantaina 23. syyskuuta 2019, 11.29.23 EEST Steve Lhomme a écrit
>> > It's like the display module, it's treated as a resource that is
>> > on demand by the decoder. In the past we need a display module to
>> > the decoder/VA (depending on the display pictures). Now the VA
>needs a
>> > "decoder device" (the hint) before it's created.
>> > 
>> > It's true that most decoders (ie not lavc or nvdec) will not need a
>> > decoder device at all. And I agree we should not create it for
>> On-demand creation avoids the delay and resource usage for software
>> My problem is, now that NVDEC is added, we no longer have a "static"
>choice of 
>> decoder device on a given system - NVDEC competes with DirectX and
>> This potentially breaks the whole idea of creating the decoder device
>> (exclusively) from the window. Or NVDEC needs to permanently remain a
>> functional superset of DirectX and VA/VDPAU...
>We can still disable NVDEC on Windows by default since DX11 should
>cover most of the need.
>For Linux, I don't see the problem. There will be one VAAPI and one
>NVDEC decoder device that will be loaded just after the window. Only
>one will be able to load depending on your main GPU/Display/Driver.
>Therefore, the avcodec VAAPI va or NVDEC decoder will be automatically
>loaded according to that decoder device.
>> -- 
>> レミ・デニ-クールモン
>> http://www.remlab.net/
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:

Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190924/0ed9b9b6/attachment.html>

More information about the vlc-devel mailing list