[vlc-devel] [PATCH 0/3] changes for linux kms vout plugin

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Fri Aug 10 10:26:27 CEST 2018

First patch is about earlier review comments from Steve Lhomme, I didn't
get to send this earlier because of summer and travelling. One thing I
didn't get corrected here is the picture pooling system so I have my own
juggling of hw frames in use. I'll add Steve as CC for this set so he'll
see this.

Second patch is all about missed drmModeSetCrtc(..). If CRTC in use is not
that which is wanted to be used this call is needed. Additional work
done here make kms plugin behave in a way it can co-exist while Xorg server
is running. When user jump out from gui to VT X releases drm master
ownership, now VLC can play full screen video from VT with kms plugin and
come back to VT.

Third patch is for choosing different output display. Here is added
parameter 'kms-connector' which accept number variable. These connectors are
listed on debug prints on kms plugin. Normal behaviour stays the same,
first enumerated connected display is chosen. Normal situation for laptops
this mean laptop's eDP is the default and external display need to be
selected separately.


Juha-Pekka Heikkila (3):
  linux: Address issues in kms plugin pointed out by Steve Lhomme
  linux: Fix CRTC code in KMS plugin.
  linux: Add for kms vout plugin possibility to choose output display

 modules/video_output/kms.c | 396 +++++++++++++++++++++++++++------------------
 1 file changed, 238 insertions(+), 158 deletions(-)


More information about the vlc-devel mailing list