Using kmssink with mxsfb-drm
Fabio Estevam
festevam at gmail.com
Wed Dec 30 18:45:40 UTC 2020
Hi,
I am trying to run a simple videotestsrc pipeline on a imx6ull-evk
board running kernel 5.10 and Gstreamer 1.18.2, but it fails as shown
below.
Any ideas?
Thanks,
Fabio Estevam
# modetest -M mxsfb-drm
Encoders:
id crtc type possible crtcs possible clones
34 33 none 0x00000001 0x00000000
Connectors:
id encoder status name size (mm) modes encoders
31 34 connected unknown-1 95x54 1 34
modes:
index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
#0 480x272 59.94 480 482 523 525 272 274 284 286 9000 flags: nhsync,
nvsync; type: preferred, driver
props:
1 EDID:
flags: immutable blob
blobs:
value:
2 DPMS:
flags: enum
enums: On=0 Standby=1 Suspend=2 Off=3
value: 0
5 link-status:
flags: enum
enums: Good=0 Bad=1
value: 0
6 non-desktop:
flags: immutable range
values: 0 1
value: 0
4 TILE:
flags: immutable blob
blobs:
value:
CRTCs:
id fb pos size
33 35 (0,0) (480x272)
#0 480x272 59.94 480 482 523 525 272 274 284 286 9000 flags: nhsync,
nvsync; type: preferred, driver
props:
24 VRR_ENABLED:
flags: range
values: 0 1
value: 0
Planes:
id crtc fb CRTC x,y x,y gamma size possible crtcs
32 33 35 0,0 0,0 0 0x00000001
formats: XR24 RG16
props:
8 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 1
Frame buffers:
id size pitch
# gst-launch-1.0 videotestsrc ! kmssink connector-id=31 name=mxsfb-drm
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:mxsfb-drm:
GStreamer encountered a general resource error.
Additional debug info:
../sys/kms/gstkmssink.c(1711): gst_kms_sink_show_frame ():
/GstPipeline:pipeline0/GstKMSSink:mxsfb-drm:
drmModeSetPlane failed: Invalid argument (22)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
ERROR: from element
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data
stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop ():
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Freeing pipeline ...
More information about the gstreamer-devel
mailing list