[vlc-devel] [PATCH v2] linux: kernel mode setting (KMS) vout plugin
juhapekka.heikkila at gmail.com
Fri Jun 8 13:59:53 CEST 2018
On 06.06.2018 20:23, Rémi Denis-Courmont wrote:
> Le tiistaina 5. kesäkuuta 2018, 15.23.04 EEST Juha-Pekka Heikkila a écrit :
>>> In my understanding, this should probably eventually be split to a
>>> separate> vout window plugin to support EGL/GBM over KMS too.
>> It can be done but I don't know what is the benefit of doing this?
> The main benefit of moving the KMS part to vout window is that the code could
> potentially be shared by any other front-end vout display able to use the DRI
> card file descriptor, presumably EGL-GBM. (Or maybe VA-DRM? I don't know if
> that's theoretically possible.)
> In principles, it also lets the VLC core know the window size and the list of
> fullscreen outputs properly. But otherwise, it is agreeably mostly useless as
> long as there is only one simple DRM buffer front-end.
To me this sound like plan for rev3 of this plug-in. I'm thinking first
version is the skinny version in hopes someone with HW which I have no
access to could try and talk about possible anomalies. While KMS is
solid api there still has to be expected different drivers behave
differently. Second version is where add KMS features which can make
things faster. Third version would then be the one once everything is
all good and solid start to add more complexity.
More information about the vlc-devel