[nicolas@dragonboard-nicolas gst-plugins-bad]$ GST_DEBUG="kms*:7" gst-launch-1.0 videotestsrc ! kmssink
0:00:07.750958582  3486     0x2c76c100 DEBUG                kmssink gstkmssink.c:866:gst_kms_sink_get_caps:<kmssink0> out caps (NULL)
0:00:07.751371760  3486     0x2c76c100 DEBUG                kmssink gstkmssink.c:866:gst_kms_sink_get_caps:<kmssink0> out caps (NULL)
Setting pipeline to PAUSED ...
0:00:08.712514043  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:358:log_drm_version:<kmssink0> DRM v1.2.0 [msm — MSM Snapdragon DRM — 20130625]
0:00:08.712876908  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:401:get_drm_caps:<kmssink0> prime import (✓) / async page flip (✗)
0:00:08.758387408  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format RA24
0:00:08.758726315  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format BA24
0:00:08.759018034  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format RX24
0:00:08.759251941  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format BX24
0:00:08.759449910  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format RG24
0:00:08.759686837  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format BG24
0:00:08.759855119  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format RG16
0:00:08.759980015  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format BG16
0:00:08.760163088  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format NV61
0:00:08.760319287  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:535:ensure_allowed_caps:<kmssink0> ignoring format VYUY
0:00:08.760856735  3486     0x2c76c100 DEBUG                kmssink gstkmssink.c:566:ensure_allowed_caps:<kmssink0> allowed caps = video/x-raw, format=(string){ BGRA, RGBA, BGRx, RGBx, NV12, NV21, NV16, UYVY, YUY2, YVYU, I420, YV12 }, width=(int)[ 0, 65535 ], height=(int)[ 0, 65535 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:08.761093923  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:702:gst_kms_sink_start:<kmssink0> connector id = 37 / crtc id = 27 / plane id = 31
0:00:08.761215330  3486     0x2c76c100 INFO                 kmssink gstkmssink.c:712:gst_kms_sink_start:<kmssink0> display size: pixels = 1920x1200 / millimeters = 890x500
Pipeline is PREROLLING ...
0:00:08.763230125  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:866:gst_kms_sink_get_caps:<kmssink0> out caps video/x-raw, format=(string){ BGRA, RGBA, BGRx, RGBx, NV12, NV21, NV16, UYVY, YUY2, YVYU, I420, YV12 }, width=(int)[ 1, 65535 ], height=(int)[ 1, 65535 ], framerate=(fraction)[ 0/1, 2147483647/1 ], multiview-mode=(string){ mono, left, right }
0:00:08.763647574  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:866:gst_kms_sink_get_caps:<kmssink0> out caps video/x-raw, format=(string){ BGRA, RGBA, BGRx, RGBx, NV12, NV21, NV16, UYVY, YUY2, YVYU, I420, YV12 }, width=(int)[ 0, 65535 ], height=(int)[ 0, 65535 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:08.763817366  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:1525:gst_kms_sink_drain:<kmssink0> draining
0:00:08.763885491  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:937:gst_kms_sink_calculate_display_ratio:<kmssink0> video calculated display ratio: 40/33
0:00:08.763933043  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:951:gst_kms_sink_calculate_display_ratio:<kmssink0> keeping video width
0:00:08.763964814  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:962:gst_kms_sink_calculate_display_ratio:<kmssink0> scaling to 320x264
0:00:08.764515492  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:1023:gst_kms_sink_set_caps:<kmssink0> negotiated caps = video/x-raw, format=(string)BGRA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:08.764652472  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:1525:gst_kms_sink_drain:<kmssink0> draining
0:00:08.765195181  3486     0x2c77f4a0 DEBUG           kmsallocator gstkmsallocator.c:207:gst_kms_allocator_memory_create:<KMSMemory::allocator> Created BO plane 0 with stride 1280 and offset 0
0:00:08.765256848  3486     0x2c77f4a0 DEBUG           kmsallocator gstkmsallocator.c:448:gst_kms_allocator_add_fb:<KMSMemory::allocator> bo handles: 1, 0, 0, 0
0:00:08.765323567  3486     0x2c77f4a0 DEBUG          kmsbufferpool gstkmsbufferpool.c:153:gst_kms_buffer_pool_alloc_buffer:<kmsbufferpool1> adding GstVideoMeta
0:00:08.765468723  3486     0x2c77f4a0 DEBUG           kmsallocator gstkmsallocator.c:207:gst_kms_allocator_memory_create:<KMSMemory::allocator> Created BO plane 0 with stride 1280 and offset 0
0:00:08.765519713  3486     0x2c77f4a0 DEBUG           kmsallocator gstkmsallocator.c:448:gst_kms_allocator_add_fb:<KMSMemory::allocator> bo handles: 2, 0, 0, 0
0:00:08.765573827  3486     0x2c77f4a0 DEBUG          kmsbufferpool gstkmsbufferpool.c:153:gst_kms_buffer_pool_alloc_buffer:<kmsbufferpool1> adding GstVideoMeta
0:00:08.770313940  3486     0x2c77f4a0 TRACE                kmssink gstkmssink.c:1407:gst_kms_sink_show_frame:<kmssink0> displaying fb 38
0:00:08.770391909  3486     0x2c77f4a0 TRACE                kmssink gstkmssink.c:1464:gst_kms_sink_show_frame:<kmssink0> drmModeSetPlane at (233,0) 1454x1200 sourcing at (0,0) 320x264
0:00:08.770483159  3486     0x2c77f4a0 TRACE                kmssink gstkmssink.c:1464:gst_kms_sink_show_frame:<kmssink0> drmModeSetPlane at (800,468) 320x264 sourcing at (0,0) 320x264
0:00:08.770551232  3486     0x2c77f4a0 DEBUG                kmssink gstkmssink.c:1506:gst_kms_sink_show_frame:<kmssink0> result = { 800, 468, 320, 264} / src = { 0, 0, 320 264 } / dst = { 0, 0, 1920 1200 }
0:00:08.770638576  3486     0x2c77f4a0 WARN                 kmssink gstkmssink.c:1508:gst_kms_sink_show_frame:<kmssink0> error: drmModeSetPlane failed: No space left on device (-28)
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer encountered a general resource error.
Additional debug info:
../sys/kms/gstkmssink.c(1508): gst_kms_sink_show_frame (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
drmModeSetPlane failed: No space left on device (-28)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:08.772042433  3486     0x2c76c100 DEBUG           kmsallocator gstkmsallocator.c:105:gst_kms_allocator_memory_reset:<KMSMemory::allocator> removing fb id 44
0:00:08.772335454  3486     0x2c76c100 DEBUG           kmsallocator gstkmsallocator.c:105:gst_kms_allocator_memory_reset:<KMSMemory::allocator> removing fb id 38
Freeing pipeline ...

