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/AM5728: GStreamer pipeline for video

Part Number: AM5728


Tool/software: Linux

Hello,

I am trying to build a pipeline through which i'll be able to transmit video or run it directly on display..

but facing some error while running those commands.

gst pipeline listed below:

TX :

gst-launch-1.0 -e v4l2src device=/dev/video1 ! 'video/x-raw,format=(string)YUY2,width=320,height=240,framerate=(fraction)25/1' ! videoconvert ! queue ! ducatih264enc bitrate=500 intra-interval=1 ! h264parse ! rtph264pay mtu=200 ! udpsink host=127.0.0.1 port=5000 &

RX:

gst-launch-1.0 -v udpsrc port=5000 ! 'application/x-rtp,media=(string)video, clock-rate=(int)90000, payload=(int)96' ! rtph264depay ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw,format=(string)NV12, width=320,height=240' ! waylandsink sync=false

capturing and direct displaying:

gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, \ format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink

--------------------------------------------

while running these commands i am facing one common error posted below:

Setting pipeline to PAUSED ...

[  268.632892] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1

setting pipeline to PAUSED ...

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.

Additional debug info:

../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

streaming task paused, reason not-negotiated (-4)

EOS on shutdown enabled -- waiting for EOS after Error

Waiting for EOS...

I have tried building pipeline using kmssink also, may you please provide guideline for that too..

Thanks & Regards

Hardik Sodha

  • Hello,

    Here is the pipeline for capture - > display :
    gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, \
    format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink

    Same pipeline with kmssink:
    /etc/init.d/weston stop
    gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, \
    format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! kmssink

    You must change the capsfilter based on what video source provides like format, resolution.
    'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720'
    In this case video source provides format YUY2 , resolution 1280x720.
    This could be the reason for the error that you are seeing.

    Please provide information about your video source and how is connected to the board. What you are using custom board or EVM?

    I would recommend you to try with yavta.
    Here is the wiki page :
    processors.wiki.ti.com/.../Linux_Core_VIP_User's_Guide
    If you are observing error with yavta please post it.

    BR
    Margarita
  • Hello Hardik,

    I am sorry, what is the PSDK version that you are using?

    BR
    Margarita
  • Hello,

    Thanks alot for the information and constant support ma'am..

    what are the info. u needed are listed below :

    camera module i am using is usb camera module no : CP9958-D500SA-E

    at initial testing & developing , I am working on am572x-evm board only not on custom board...

    and sdk version i am using 02.00.01.07 and 04.01.00.06 also

    as per your guideline ma'am i av tried all the possibilities

    1] gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, \

    format=(string)YUY2, width=(int)1280, height=(int)720' !  vpe num-input-buffers=8 ! queue ! waylandsink

    while running this pipeline same error i was facing which is earlier posted

    i av tried for kmssink also

    in the case of capturing only malfunctionality is observed

    i av done that using yavta to capture raw data

    yavta -c60 -fYUYV -Fvout_800x600_yuyv.yuv -s800x600 /dev/video1

    log :

    Device /dev/video1 opened.
    Device `SMI' on `usb-xhci-hcd.1.auto-1.2' is a video output (without mplanes) device.
    Video format set: YUYV (56595559) 640x480 (stride 1280) field none buffer size 614400
    Video format: YUYV (56595559) 640x480 (stride 1280) field none buffer size 614400
    8 buffers requested.
    length: 614400 offset: 0 timestamp type/source: mono/SoE
    Buffer 0/0 mapped at address 0xb6df7000.
    length: 614400 offset: 614400 timestamp type/source: mono/SoE
    Buffer 1/0 mapped at address 0xb6d61000.
    length: 614400 offset: 1228800 timestamp type/source: mono/SoE
    Buffer 2/0 mapped at address 0xb6ccb000.
    length: 614400 offset: 1843200 timestamp type/source: mono/SoE
    Buffer 3/0 mapped at address 0xb6c35000.
    length: 614400 offset: 2457600 timestamp type/source: mono/SoE
    Buffer 4/0 mapped at address 0xb6b9f000.
    length: 614400 offset: 3072000 timestamp type/source: mono/SoE
    Buffer 5/0 mapped at address 0xb6b09000.
    length: 614400 offset: 3686400 timestamp type/source: mono/SoE
    Buffer 6/0 mapped at address 0xb6a73000.
    length: 614400 offset: 4300800 timestamp type/source: mono/SoE
    Buffer 7/0 mapped at address 0xb69dd000.
    0 (0) [-] none 15 614400 B 1196.137171 1196.169828 0.570 fps ts mono/SoE
    1 (1) [-] none 16 614400 B 1196.213237 1196.245292 13.146 fps ts mono/SoE
    2 (2) [-] none 17 614400 B 1196.285244 1196.317478 13.888 fps ts mono/SoE
    3 (3) [-] none 18 614400 B 1196.357226 1196.389722 13.892 fps ts mono/SoE
    4 (4) [-] none 19 614400 B 1196.429180 1196.465194 13.898 fps ts mono/SoE
    5 (5) [-] none 20 614400 B 1196.505223 1196.537383 13.150 fps ts mono/SoE
    6 (6) [-] none 21 614400 B 1196.577226 1196.609565 13.888 fps ts mono/SoE
    7 (7) [-] none 22 614400 B 1196.649179 1196.681818 13.898 fps ts mono/SoE
    8 (0) [-] none 23 614400 B 1196.721157 1196.757277 13.893 fps ts mono/SoE
    9 (1) [-] none 24 614400 B 1196.797226 1196.829472 13.146 fps ts mono/SoE
    10 (2) [-] none 25 614400 B 1196.869236 1196.901736 13.887 fps ts mono/SoE
    11 (3) [-] none 26 614400 B 1196.941182 1196.973910 13.899 fps ts mono/SoE
    12 (4) [-] none 27 614400 B 1197.017244 1197.049383 13.147 fps ts mono/SoE
    13 (5) [-] none 28 614400 B 1197.089226 1197.121571 13.892 fps ts mono/SoE
    14 (6) [-] none 29 614400 B 1197.161180 1197.193810 13.898 fps ts mono/SoE
    15 (7) [-] none 30 614400 B 1197.233188 1197.269264 13.887 fps ts mono/SoE
    16 (0) [-] none 31 614400 B 1197.309227 1197.341464 13.151 fps ts mono/SoE
    17 (1) [-] none 32 614400 B 1197.381232 1197.413660 13.888 fps ts mono/SoE
    18 (2) [-] none 33 614400 B 1197.453166 1197.485894 13.902 fps ts mono/SoE
    19 (3) [-] none 34 614400 B 1197.529227 1197.561343 13.147 fps ts mono/SoE
    20 (4) [-] none 35 614400 B 1197.601236 1197.633548 13.887 fps ts mono/SoE
    21 (5) [-] none 36 614400 B 1197.673224 1197.705791 13.891 fps ts mono/SoE
    22 (6) [-] none 37 614400 B 1197.745170 1197.781253 13.899 fps ts mono/SoE
    23 (7) [-] none 38 614400 B 1197.821238 1197.853449 13.146 fps ts mono/SoE
    24 (0) [-] none 39 614400 B 1197.893239 1197.925645 13.889 fps ts mono/SoE
    25 (1) [-] none 40 614400 B 1197.965188 1197.997870 13.899 fps ts mono/SoE
    26 (2) [-] none 41 614400 B 1198.041226 1198.073342 13.151 fps ts mono/SoE
    27 (3) [-] none 42 614400 B 1198.113238 1198.145538 13.887 fps ts mono/SoE
    28 (4) [-] none 43 614400 B 1198.185246 1198.217770 13.887 fps ts mono/SoE
    29 (5) [-] none 44 614400 B 1198.257169 1198.293234 13.904 fps ts mono/SoE
    30 (6) [-] none 45 614400 B 1198.333237 1198.365426 13.146 fps ts mono/SoE
    31 (7) [-] none 46 614400 B 1198.405224 1198.437623 13.891 fps ts mono/SoE
    32 (0) [-] none 47 614400 B 1198.477169 1198.509883 13.900 fps ts mono/SoE
    33 (1) [-] none 48 614400 B 1198.553232 1198.585325 13.147 fps ts mono/SoE
    34 (2) [-] none 49 614400 B 1198.625223 1198.657517 13.891 fps ts mono/SoE
    35 (3) [-] none 50 614400 B 1198.697245 1198.729765 13.885 fps ts mono/SoE
    36 (4) [-] none 51 614400 B 1198.769170 1198.805216 13.903 fps ts mono/SoE
    37 (5) [-] none 52 614400 B 1198.845241 1198.877426 13.146 fps ts mono/SoE
    38 (6) [-] none 53 614400 B 1198.917246 1198.949608 13.888 fps ts mono/SoE
    39 (7) [-] none 54 614400 B 1198.989169 1199.021856 13.904 fps ts mono/SoE
    40 (0) [-] none 55 614400 B 1199.065236 1199.097314 13.146 fps ts mono/SoE
    41 (1) [-] none 56 614400 B 1199.137226 1199.169511 13.891 fps ts mono/SoE
    42 (2) [-] none 57 614400 B 1199.209226 1199.241759 13.889 fps ts mono/SoE
    43 (3) [-] none 58 614400 B 1199.281180 1199.317205 13.898 fps ts mono/SoE
    44 (4) [-] none 59 614400 B 1199.357223 1199.389476 13.150 fps ts mono/SoE
    45 (5) [-] none 60 614400 B 1199.429237 1199.461547 13.886 fps ts mono/SoE
    46 (6) [-] none 61 614400 B 1199.501168 1199.533767 13.902 fps ts mono/SoE
    47 (7) [-] none 62 614400 B 1199.577234 1199.609283 13.146 fps ts mono/SoE
    48 (0) [-] none 63 614400 B 1199.649238 1199.681454 13.888 fps ts mono/SoE
    49 (1) [-] none 64 614400 B 1199.721220 1199.753674 13.892 fps ts mono/SoE
    50 (2) [-] none 65 614400 B 1199.793169 1199.829195 13.899 fps ts mono/SoE
    51 (3) [-] none 66 614400 B 1199.869244 1199.901399 13.145 fps ts mono/SoE
    52 (4) [-] none 67 614400 B 1199.941227 1199.973587 13.892 fps ts mono/SoE
    53 (5) [-] none 68 614400 B 1200.013177 1200.045823 13.899 fps ts mono/SoE
    54 (6) [-] none 69 614400 B 1200.089224 1200.121296 13.150 fps ts mono/SoE
    55 (7) [-] none 70 614400 B 1200.161226 1200.193479 13.889 fps ts mono/SoE
    56 (0) [-] none 71 614400 B 1200.233237 1200.266714 13.887 fps ts mono/SoE
    57 (1) [-] none 72 614400 B 1200.305185 1200.337914 13.899 fps ts mono/SoE
    58 (2) [-] none 73 614400 B 1200.381228 1200.413381 13.150 fps ts mono/SoE
    59 (3) [-] none 74 614400 B 1200.453236 1200.485580 13.887 fps ts mono/SoE
    Captured 60 frames in 6.104273 seconds (9.829180 fps, 6039047.989895 B/s).
    8 buffers released.
    
    
    
    
    

    after generating raw file i av tried to run on screen using below commands

    gst-launch-1.0 filesrc location=vout_800x600_yuyv.yuv ! videoparse width=800 height=600 framerate=30/1 ! autovideoconvert ! autovideosink

    raw video got play on screen but it was not proper video streaming was totally distorted and nothing was displayed on screen..

    Thanks and Regards,

    Hardik Sodha

  • Hello,

    HARDIK SODHA said:
    gst-launch-1.0 filesrc location=vout_800x600_yuyv.yuv ! videoparse width=800 height=600 framerate=30/1 ! autovideoconvert ! autovideosink

    Possible reason is that you have not set format for example   ...! videoparse width=352 height=288 format=nv12 !...

    What is the format that your video source provides?

    BR
    Margarita

  • hello,

    ma'am what you are suggesting how does it affect on playing issue of video..
    if i change the formate video will get play anyhow but coz of array size it might get cropd or any other effect also may occur..??

    our camera module is giving upto 1280 * 960 i av taken 640 * 480

    Thanks & Regards,
    Hardik
  • Hello,

    Please what is the format of your capture source is it NV12 or YUY2 or else?

    BR
    Margarita
  • sorry ma'am

    capture resource was YUYV
    log file i av attached of capturing demo clip in previous post if you want any additional info regarding captured clip..
    hope you got the information whatever you were asking for..
    if anyother info. needed please let us know..

    Thanks & Regards,
    Hardik
  • Hello,

    Please link this log also:
    gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, \

    format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink --gst-idebug=3

    and take a look in this thread regarding gstreamer and USB capture:
    e2e.ti.com/.../2023362

    Thank you!

    BR
    Margarita
  • Hello,
    Error initializing: Unknown option --gst-idebug=3

    while running the command given by you above error is comming
    Thanks & Regards
    Hardik
  • Hello,

    Sorry. It is --gst-debug=3 not --gst-idebug=3.

    BR
    Margarita
  • Hello,


    I av attached the log which u av asked for..

    root@am57xx-evm:~#  gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink --gst-debug=3
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    0:00:00.611641142  1162   0x1ef860 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.611712390  1162   0x1ef860 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.611980953  1162   0x1ef860 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.612008769  1162   0x1ef860 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.612210638  1162   0x1ef9b0 WARN             waylandsink wl
    root@am57xx-evm:~#  gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink --gst-debug=3
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    0:00:00.379657817  1169   0x147460 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.379741265  1169   0x147460 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.379999580  1169   0x147460 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.380027396  1169   0x147460 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.380224060  1169   0x1475b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:00.380267004  1169   0x1475b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.675153203  1169   0x147460 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.675[ 1232.945665] contiguous chunk is too small 4096/1843200 b
    258285  1169   0x147460 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.675489760  1169   0x147460 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.675520504  1169   0x147460 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.675721072  1169   0x1475b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.675750352  1169   0x1475b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.675917899  1169   0x147460 WARN                     vpe gstvpebufferpool.c:466:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 0/128, 0
    0:00:02.699596472  1169   0x147460 ERROR                    vpe gstvpebufferpool.c:380:gst_vpe_buffer_pool_queue: vpebufferpool: QBUF failed: Bad address, index = 31
    0:00:02.699719285  1169   0x14bd80 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.699805336  1169   0x147460 WARN                 basesrc gstbasesrc.c:2948:gst_base_src_loop:<v4l2src0> error: Internal data flow error.
    0:00:02.699834779  1169   0x147460 WARN                 basesrc gstbasesrc.c:2948:gst_base_src_loop:<v4l2src0> error: streaming task paused, reason error (-5)
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
    Additional debug info:
    ../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming task paused, reason error (-5)
    Execution ended after 0:00:02.357523602
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    
    


    Thanks & Regards,
    Hardik Sodha

  • Hello,

      The error is different now /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming task paused, reason error (-5)
    from
    gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming task paused, reason not-negotiated (-4)

    Please check the link in my previous answer and try to apply the patch manually.

    BR
    Margarita

  • Hello ma'am,

    I av gone through the thread u'av suggested

    USB capture:
    e2e.ti.com/.../2023362

    i 'av applied patch manually and tried but it results in kernel panic .

    i av attached the log

    root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280 queue !  vpe ! queue ! kmssink
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    [   48.198176] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [   48.206308] pgd = c0003000
    [   48.209026] [00000000] *pgd=80000080004003, *pmd=00000000
    [   48.214466] Internal error: Oops: a07 [#1] PREEMPT SMP ARM
    [   48.219973] Modules linked in: bluetooth ipv6 uvcvideo gdbserverproxy(O) cryptodev(O) cmemk(O) xhci_plat_hcd xhci_hcd usbcore ahci_platform libahci_platform dwc3 rpmsg_rpc libahci joydev evdev ti_vip snd_soc_tlv320aic3x snd_soc_omap_hdmi_audio libata ti_vpe virtio_rpmsg_bus udc_core rtc_palmas omapdrm_pvr(O) palmas_pwrbutton extcon_palmas pixcir_i2c_ts phy_omap_usb2 snd_soc_simple_card dwc3_omap rtc_ds1307 mt9t11x omap_rng ti_vpdma omap_wdt rng_core rtc_omap debugss_kmodule(O) st_drv leds_gpio gpio_keys extcon_usb_gpio extcon omap_remoteproc remoteproc virtio virtio_ring
    [   48.271141] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O    4.1.13-g8dc6617 #1
    [   48.279090] Hardware name: Generic DRA74X (Flattened Device Tree)
    [   48.285208] task: c08bd2f0 ti: c08b8000 task.ti: c08b8000
    [   48.290634] PC is at memcpy+0x50/0x330
    [   48.294398] LR is at 0x67646164
    [   48.297552] pc : [<c02e0710>]    lr : [<67646164>]    psr: 20070193
    [   48.297552] sp : c08b9ca4  ip : 67635f63  fp : c08b9cdc
    [   48.309078] r10: ec483c00  r9 : 00000002  r8 : 66636163
    [   48.314323] r7 : 66626161  r6 : 6860645f  r5 : 665d665b  r4 : 685a655a
    [   48.320876] r3 : 645c5d5b  r2 : 000006cc  r1 : f0ea482c  r0 : 00000000
    [   48.327431] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    [   48.334858] Control: 30c5387d  Table: ac58d1c0  DAC: fffffffd
    [   48.340626] Process swapper/0 (pid: 0, stack limit = 0xc08b8218)
    [   48.346656] Stack: (0xc08b9ca4 to 0xc08ba000)
    [   48.351032] 9ca0:          001c2000 0000076c 0000076c ec480400 00000000 ec480400 bf183334
    [   48.359245] 9cc0: ec480400 ed3a8000 ec483c20 f0ea4800 c08b9d14 c08b9ce0 bf183594 bf1832fc
    [   48.367457] 9ce0: bf18bb7c ed3a8300 ed398000 ec480400 ec483c00 ed3a8000 ed3a85e4 edbae000
    [   48.375669] 9d00: ed398160 ed398000 c08b9d34 c08b9d18 bf1822ac bf183530 ec483c00 60070193
    [   48.383881] 9d20: 00000000 00000000 c08b9d54 c08b9d38 bf21b660 bf182240 ed398000 ec483c00
    [   48.392092] 9d40: ec483c00 ed39818c c08b9d74 c08b9d58 bf21b750 bf21b5f8 f5b76340 00000000
    [   48.400303] 9d60: ec483c00 ed39818c c08b9e0c c08b9d78 bf2647e4 bf21b714 edbae0f4 c08b9ddc
    [   48.408515] 9d80: 00000000 ffffffe0 00000020 f5b762a0 ed398000 ed39818c df88c140 0d000400
    [   48.416726] 9da0: 0000000d 00000000 00000002 edbae0f4 00000001 fe4f6aa0 0000000d c08ba100
    [   48.424938] 9dc0: 00401000 004001e0 00000100 00000020 f5b76150 ec7da880 c08b9e24 00000000
    [   48.433150] 9de0: ffffffff d4d0da80 ed40e2a0 00000000 00000000 000001c2 ed40e240 c0900f35
    [   48.441362] 9e00: c08b9e1c c08b9e10 bf21abb4 bf263e64 c08b9e54 c08b9e20 c0079f54 bf21ab94
    [   48.449574] 9e20: c08b9e6c c08b9e30 c08b9e6c ed40e240 ed40e2a0 d4d0da80 00000000 ee008000
    [   48.457785] 9e40: c063e150 c0900f33 c08b9e74 c08b9e58 c007a054 c0079ee0 ed40e240 ed40e2a0
    [   48.465997] 9e60: c08d7f18 00000000 c08b9e94 c08b9e78 c007cd80 c007a01c 000001c2 000001c2
    [   48.474209] 9e80: 00000000 00000000 c08b9eac c08b9e98 c00795b8 c007ccd4 c08b3d2c 000001c2
    [   48.482421] 9ea0: c08b9ed4 c08b9eb0 c0079890 c0079590 fa21200c c08ba948 c08b9ef8 fa212000
    [   48.490633] 9ec0: 00000000 c063e150 c08b9ef4 c08b9ed8 c00094ac c0079838 c00104c0 60070013
    [   48.498845] 9ee0: ffffffff c08b9f2c c08b9f4c c08b9ef8 c0637780 c000948c 00000001 00000000
    [   48.507056] 9f00: c09046b0 00000000 c08b8000 c08ba5b4 c08ba568 00000000 00000000 c063e150
    [   48.515267] 9f20: c0900f33 c08b9f4c c08b9f2c c08b9f40 c002a838 c00104c0 60070013 ffffffff
    [   48.523479] 9f40: c08b9f8c c08b9f50 c0070618 c00104a4 c08ba4c0 ffffffff c08ba5bc c0900f33
    [   48.531691] 9f60: c08b5800 c06331b0 00000002 c08b4f10 c08b23c4 c08b9f50 c0633ac8 00000000
    [   48.539903] 9f80: c08b9fa4 c08b9f90 c062e1b8 c0070384 c0904050 00000000 c08b9ff4 c08b9fa8
    [   48.548115] 9fa0: c0864d4c c062e134 ffffffff ffffffff c08646d4 00000000 ffffffff 00000000
    [   48.556326] 9fc0: 00000000 c08a4b10 00000000 c0904214 c08ba544 c08a4b0c c08be498 80007000
    [   48.564538] 9fe0: 412fc0f2 00000000 00000000 c08b9ff8 80008090 c0864954 00000000 00000000
    [   48.572746] Backtrace: 
    [   48.575232] [<bf1832f0>] (uvc_video_decode_data [uvcvideo]) from [<bf183594>] (uvc_video_decode_isoc+0x70/0x184 [uvcvideo])
    [   48.586408]  r7:f0ea4800 r6:ec483c20 r5:ed3a8000 r4:ec480400
    [   48.592140] [<bf183524>] (uvc_video_decode_isoc [uvcvideo]) from [<bf1822ac>] (uvc_video_complete+0x78/0xdc [uvcvideo])
    [   48.602968]  r10:ed398000 r9:ed398160 r8:edbae000 r7:ed3a85e4 r6:ed3a8000 r5:ec483c00
    [   48.610871]  r4:ec480400
    [   48.613457] [<bf182234>] (uvc_video_complete [uvcvideo]) from [<bf21b660>] (__usb_hcd_giveback_urb+0x74/0x11c [usbcore])
    [   48.624370]  r7:00000000 r6:00000000 r5:60070193 r4:ec483c00
    [   48.630126] [<bf21b5ec>] (__usb_hcd_giveback_urb [usbcore]) from [<bf21b750>] (usb_hcd_giveback_urb+0x48/0x118 [usbcore])
    [   48.641126]  r7:ed39818c r6:ec483c00 r5:ec483c00 r4:ed398000
    [   48.646886] [<bf21b708>] (usb_hcd_giveback_urb [usbcore]) from [<bf2647e4>] (xhci_irq+0x98c/0x1714 [xhci_hcd])
    [   48.656927]  r7:ed39818c r6:ec483c00 r5:00000000 r4:f5b76340
    [   48.662678] [<bf263e58>] (xhci_irq [xhci_hcd]) from [<bf21abb4>] (usb_hcd_irq+0x2c/0x40 [usbcore])
    [   48.671674]  r10:c0900f35 r9:ed40e240 r8:000001c2 r7:00000000 r6:00000000 r5:ed40e2a0
    [   48.679575]  r4:d4d0da80
    [   48.682151] [<bf21ab88>] (usb_hcd_irq [usbcore]) from [<c0079f54>] (handle_irq_event_percpu+0x80/0x13c)
    [   48.691589] [<c0079ed4>] (handle_irq_event_percpu) from [<c007a054>] (handle_irq_event+0x44/0x64)
    [   48.700497]  r10:c0900f33 r9:c063e150 r8:ee008000 r7:00000000 r6:d4d0da80 r5:ed40e2a0
    [   48.708399]  r4:ed40e240
    [   48.710954] [<c007a010>] (handle_irq_event) from [<c007cd80>] (handle_fasteoi_irq+0xb8/0x17c)
    [   48.719512]  r7:00000000 r6:c08d7f18 r5:ed40e2a0 r4:ed40e240
    [   48.725230] [<c007ccc8>] (handle_fasteoi_irq) from [<c00795b8>] (generic_handle_irq+0x34/0x44)
    [   48.733876]  r7:00000000 r6:00000000 r5:000001c2 r4:000001c2
    [   48.739596] [<c0079584>] (generic_handle_irq) from [<c0079890>] (__handle_domain_irq+0x64/0xbc)
    [   48.748329]  r5:000001c2 r4:c08b3d2c
    [   48.751939] [<c007982c>] (__handle_domain_irq) from [<c00094ac>] (gic_handle_irq+0x2c/0x64)
    [   48.760323]  r9:c063e150 r8:00000000 r7:fa212000 r6:c08b9ef8 r5:c08ba948 r4:fa21200c
    [   48.768146] [<c0009480>] (gic_handle_irq) from [<c0637780>] (__irq_svc+0x40/0x74)
    [   48.775659] Exception stack(0xc08b9ef8 to 0xc08b9f40)
    [   48.780730] 9ee0:                                                       00000001 00000000
    [   48.788943] 9f00: c09046b0 00000000 c08b8000 c08ba5b4 c08ba568 00000000 00000000 c063e150
    [   48.797155] 9f20: c0900f33 c08b9f4c c08b9f2c c08b9f40 c002a838 c00104c0 60070013 ffffffff
    [   48.805365]  r7:c08b9f2c r6:ffffffff r5:60070013 r4:c00104c0
    [   48.811082] [<c0010498>] (arch_cpu_idle) from [<c0070618>] (cpu_startup_entry+0x2a0/0x31c)
    [   48.819387] [<c0070378>] (cpu_startup_entry) from [<c062e1b8>] (rest_init+0x90/0x94)
    [   48.827161]  r7:00000000
    [   48.829716] [<c062e128>] (rest_init) from [<c0864d4c>] (start_kernel+0x404/0x410)
    [   48.837228]  r5:00000000 r4:c0904050
    [   48.840835] [<c0864948>] (start_kernel) from [<80008090>] (0x80008090)
    [   48.847392] Code: f5d1f05c f5d1f07c e8b151f8 e2522020 (e8a051f8) 
    [   48.853512] ---[ end trace f9670b07c1870d3f ]---
    [   48.858147] Kernel panic - not syncing: Fatal exception in interrupt
    [   48.864530] CPU1: stopping
    [   48.867254] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D    O    4.1.13-g8dc6617 #1
    [   48.875204] Hardware name: Generic DRA74X (Flattened Device Tree)
    [   48.881320] Backtrace: 
    [   48.883794] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
    [   48.891394]  r7:fa212000 r6:00000000 r5:c08d7c0c r4:00000000
    [   48.897115] [<c0013184>] (show_stack) from [<c0631b2c>] (dump_stack+0x9c/0xdc)
    [   48.904372] [<c0631a90>] (dump_stack) from [<c0015ae8>] (handle_IPI+0x14c/0x160)
    [   48.911796]  r5:00000001 r4:c08b3d2c
    [   48.915402] [<c001599c>] (handle_IPI) from [<c00094e0>] (gic_handle_irq+0x60/0x64)
    [   48.923001]  r7:fa212000 r6:ee0aff48 r5:c08ba948 r4:fa21200c
    [   48.928719] [<c0009480>] (gic_handle_irq) from [<c0637780>] (__irq_svc+0x40/0x74)
    [   48.936230] Exception stack(0xee0aff48 to 0xee0aff90)
    [   48.941302] ff40:                   00000001 00000000 c09046b0 00000000 ee0ae000 c08ba5b4
    [   48.949516] ff60: c08ba568 00000000 00000000 c063e150 c0900f33 ee0aff9c ee0aff7c ee0aff90
    [   48.957725] ff80: c002a838 c00104c0 60010013 ffffffff
    [   48.962794]  r7:ee0aff7c r6:ffffffff r5:60010013 r4:c00104c0
    [   48.968512] [<c0010498>] (arch_cpu_idle) from [<c0070618>] (cpu_startup_entry+0x2a0/0x31c)
    [   48.976813] [<c0070378>] (cpu_startup_entry) from [<c0015744>] (secondary_start_kernel+0x13c/0x148)
    [   48.985894]  r7:c09042a8
    [   48.988450] [<c0015608>] (secondary_start_kernel) from [<8000958c>] (0x8000958c)
    [   48.995874]  r5:00000000 r4:ae044bc0
    [   48.999477] drm_kms_helper: panic occurred, switching back to text console
    [   49.006415] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
    
    

    that problem is still not resolved.still unable to use usb camera and cast it to display.

    Thanks & Regards,

    Hardik Sodha

  • Hello,

    HARDIK SODHA said:
    i am using 02.00.01.07

    Please apply the patch in PSDK3.1 or above.

    I would recommend you to verify is the applied correctly.

    I would recommend you to add --gst-debug=v4l2:5 and -v options in the pipeline. 

    BR
    Margarita