kmssink with gstreamer
I would like to use kmssink with gstreamer in order to improve rendering of v4l2src sources.
However, using the following pipeline:
GST_DEBUG=kmssink:7 gst-launch-1.0 v4l2src io-mode=5 ! video/x-raw,width=640,height=480 ! fpsdisplaysink video-sink="kmssink force-modesetting=true device-name='i915drmfb'" sync=false -v
I get the following result:
Setting pipeline to PAUSED ...
0:00:00.103023997 2170 0x55f797443520 WARN kmssink gstkmssink.c:710:gst_kms_sink_start: error: Could not open DRM module i915
0:00:00.103065661 2170 0x55f797443520 WARN kmssink gstkmssink.c:710:gst_kms_sink_start: error: reason: No such file or directory (2)
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could not open DRM module i915
Additional debug info:
gstkmssink.c(710): gst_kms_sink_start (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
reason: No such file or directory (2)
Setting pipeline to NULL ...
Freeing pipeline ...
Any idea how to improve this issue?
I am running on Ubuntu 18.04