I have a gstreamer pipeline that worked fine with the 4.15 version of hailort, using my MIPI capture pipeline, and DP monitor:
gst-launch-1.0 v4l2src device=/dev/video2 io-mode=mmap stride-align=256 '!' 'video/x-raw, width=1280, height=720, format=YUY2' '!' queue leaky=downstream max-size-buffers=5 max-size-bytes=0 max-size-time=0 '!' hailonet hef-path=/home/root/apps/detection/resources/yolov5m_yuv.hef '!' queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 '!' hailofilter function-name=yolov5 config-path=/home/root/apps/detection/resources/configs/yolov5.json so-path=/usr/lib/hailo-post-processes/libyolo_post.so qos=false '!' queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 '!' hailooverlay '!' queue leaky=downstream max-size-buffers=5 max-size-bytes=0 max-size-time=0 '!' fpsdisplaysink 'video-sink='\''kmssink' plane-id=39 bus-id=fd4a0000.display 'render-rectangle="<0,0,1280,720>"'\''' sync=false -v
With an updated design, using the 4.19 version of HailoRT, and the same gstreamer pipeline, I am getting the following errors:
[HailoRT] [error] CHECK failed - Failed map vdma buffer errno: 14
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] Infer request callback failed with status = HAILO_DRIVER_FAIL(36)
I also have these messages in my serial console:
[ 297.020216] hailo: get_user_pages failed with -14
[ 297.025009] hailo 0000:01:00.0: failed to set sg list for user buffer -14
[ 297.031996] hailo 0000:01:00.0: failed map buffer ffff5fe3e000
Any idea what could be causing these errors ?
Cheers !
Mario.