This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA72: Sometimes issue: video can't play successfully

Part Number: DRA72

Tool/software: Linux

Hi TI team,

Got the report from test team, video can't play successfully, but we can't reproduce from outside, it is sometimes issue.

From log, we set the pipeline state to PLAYING for videos, but didn't get state PLAYING for 10 secs. And we see Error from drmallocator and VPE.

Attach the log, upload videos to link https://transfer.harman.com/link/7uqtGy8cvRGe8VoYTf5IF4, could you please give some comments from TI point of view. Thanks.

we set the pipeline state to PLAYING for videos, but we can't get state to PLAYING for 10 secs, only get READY. And we can see Error from drmallocator and VPE below;

91752 2019/02/05 18:07:01.000000 88.1599 180 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91753 2019/02/05 18:07:01.000000 88.1600 181 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91755 2019/02/05 18:07:01.000000 88.1603 182 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91759 2019/02/05 18:07:01.000000 88.1604 183 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91760 2019/02/05 18:07:01.000000 88.1606 184 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91761 2019/02/05 18:07:01.000000 88.1606 185 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91766 2019/02/05 18:07:01.000000 88.1610 186 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91767 2019/02/05 18:07:01.000000 88.1611 187 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91768 2019/02/05 18:07:01.000000 88.1612 188 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN vpe gstvpebufferpool.c(466):gst_vpe_buffer_pool_import: Allocating a new input buffer index: 0/128, 0
91769 2019/02/05 18:07:01.000000 88.1617 189 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR drmallocator gstdrmallocator.c(73):gst_drm_allocator_alloc:<drmallocator0> Create DRM dumb buffer failed
91770 2019/02/05 18:07:01.000000 88.1620 190 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR drmallocator gstdrmallocator.c(73):gst_drm_allocator_alloc:<drmallocator0> Create DRM dumb buffer failed
91771 2019/02/05 18:07:01.000000 88.1622 191 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR drmallocator gstdrmallocator.c(73):gst_drm_allocator_alloc:<drmallocator0> Create DRM dumb buffer failed
91772 2019/02/05 18:07:01.000000 88.1624 192 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR drmallocator gstdrmallocator.c(73):gst_drm_allocator_alloc:<drmallocator0> Create DRM dumb buffer failed
91773 2019/02/05 18:07:01.000000 88.1626 193 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR drmallocator gstdrmallocator.c(73):gst_drm_allocator_alloc:<drmallocator0> Create DRM dumb buffer failed
91774 2019/02/05 18:07:01.000000 88.1629 194 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR drmallocator gstdrmallocator.c(73):gst_drm_allocator_alloc:<drmallocator0> Create DRM dumb buffer failed
91775 2019/02/05 18:07:01.000000 88.1631 195 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR drmallocator gstdrmallocator.c(73):gst_drm_allocator_alloc:<drmallocator0> Create DRM dumb buffer failed
91776 2019/02/05 18:07:01.000000 88.1633 196 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR drmallocator gstdrmallocator.c(73):gst_drm_allocator_alloc:<drmallocator0> Create DRM dumb buffer failed
91777 2019/02/05 18:07:01.000000 88.1636 197 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs ERROR vpe gstvpebufferpool.c(620):gst_vpe_buffer_pool_set_streaming: vpebufferpool: op QBUF failed: Invalid argument, index = 7
91778 2019/02/05 18:07:01.000000 88.1674 198 ECU1 CrM API 1884 log info verbose 1 T3032 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool3> alloc function failed
91784 2019/02/05 18:07:01.000000 88.1705 199 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91785 2019/02/05 18:07:01.000000 88.1706 200 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91786 2019/02/05 18:07:01.000000 88.1755 201 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN vpe gstvpebufferpool.c(466):gst_vpe_buffer_pool_import: Allocating a new input buffer index: 1/128, 1
91787 2019/02/05 18:07:01.000000 88.1795 202 ECU1 CrM API 1884 log info verbose 1 T3032 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool3> alloc function failed
91918 2019/02/05 18:07:01.000000 88.1897 203 ECU1 CrM API 1884 log info verbose 1 T3032 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool3> alloc function failed
91940 2019/02/05 18:07:01.000000 88.1953 204 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN vpe gstvpebufferpool.c(466):gst_vpe_buffer_pool_import: Allocating a new input buffer index: 2/128, 2
91941 2019/02/05 18:07:01.000000 88.1998 205 ECU1 CrM API 1884 log info verbose 1 T3032 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool3> alloc function failed
91948 2019/02/05 18:07:01.000000 88.2072 206 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91949 2019/02/05 18:07:01.000000 88.2073 207 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91950 2019/02/05 18:07:01.000000 88.2075 208 ECU1 CrM API 1884 log info verbose 1 T2970 GSTLogs WARN vpe gstvpebufferpool.c(466):gst_vpe_buffer_pool_import: Allocating a new input buffer index: 3/128, 3
91951 2019/02/05 18:07:01.000000 88.2099 209 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91952 2019/02/05 18:07:01.000000 88.2100 210 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91953 2019/02/05 18:07:01.000000 88.2113 211 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91954 2019/02/05 18:07:01.000000 88.2113 212 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91955 2019/02/05 18:07:01.000000 88.2115 213 ECU1 CrM API 1884 log info verbose 1 T3032 GSTLogs WARN bufferpool gstbufferpool.c(300):do_alloc_buffer:<vpebufferpool3> alloc function failed
91956 2019/02/05 18:07:01.000000 88.2119 214 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91957 2019/02/05 18:07:01.000000 88.2120 215 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found
91958 2019/02/05 18:07:01.000000 88.2123 216 ECU1 CrM API 1884 log info verbose 1 T3033 GSTLogs WARN waylandsink wlvideoformat.c(102):gst_wl_shm_format_to_video_format: gst video format not found

  • Hi Vicky,
    I downloaded the videos and tried to playback both the videos. There was no issues.
    Is this issue specific to these streams? These are 1280x720 streams but there is such property that makes this to happen.
    Are you able to playback 1920x1080 stream without any issues?

    The logs says buffer creation in drmallocator is failing to allocate the buffer . Can you check the dmesg log when this failure happens?
    Can you also check the memory available in the system when this happens?

    Thanks
    Ramprasad
  • Hi Ramprasad,

    Please check our tester's comments, and the attached dmsg log. Thanks.

    • Are you able to playback 1920x1080 stream without any issues?

    [Tester]I have tested For 1920x1080 stream video its saying file not supported. And its not playing.

    • Can you check the dmesg log when this failure happens?Can you also check the memory available in the system when this happens?

    [Tester] Attached dmesg logs for 1920x1080 and 1280x720 stream videos in the ticket.

    [Engineer]No found memory issue in system log.

    dmesg_1280x720.txt

    dmesg_1920x1080video.txt

  • Hi Vicky,
    Are you facing issue for all 1920x1080 streams? Can you try a manual/explicit gst pipeline and check what is the error?
    The dmesg logs you shared doesn't show any problem.
    Please share a dmesg log after reproducing the issue , want too confirm if there are any allocation failures.

    Thanks
    Ramprasad