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: VIP debug question

Part Number: AM5728

Tool/software: Linux

Hi all,

I am trying on the vip module and want to know more debug information so i refer to the VIP GUIDE and try the command suggested.(SDK i used is ti-processor-sdk-linux-am57xx-evm-04.00.00.04 also try the ti-processor-sdk-linux-am57xx-evm-03.03.00.04 version )

root@am57xx-evm:~# echo 3 > /sys/class/video4linux/video1/dev_debug
root@am57xx-evm:~# echo 3 > /sys/module/videobuf2_core/parameters/debug
root@am57xx-evm:~# echo 3 > /sys/module/ti_vip/parameters/debug

then i use "root@am57xx-evm:~# yavta -c2 -fYUYV -Fvout_800x600_yuyv.yuv -s800x600 /dev/video1" to capture 800x600 YUYV video stream to file

But it only printde a little debug information shows below

Device /dev/video1 opened.
Device `vip' on `platform:vip' is a video output (without mplanes) device.
Video format set: YUYV (56595559) 800x600 (stride 1600) field no[ 125.912481] vb2-core: __setup_offsets: buffer 0, plane 0 offset 0x00000000
ne buffer size 960000
Video format: YUYV (56595559) 800x600 (st[ 125.929274] vb2-core: __setup_offsets: buffer 1, plane 0 offset 0x000eb000
ride 1600) field none buffer size 960000
[ 125.938207] vb2-core: __setup_offsets: buffer 2, plane 0 offset 0x001d6000
[ 125.948352] vb2-core: __setup_offsets: buffer 3, plane 0 offset 0x002c1000
[ 125.956105] vb2-core: __setup_offsets: buffer 4, plane 0 offset 0x003ac000
[ 125.963663] vb2-core: __setup_offsets: buffer 5, plane 0 offset 0x00497000
[ 125.971712] vb2-core: __setup_offsets: buffer 6, plane 0 offset 0x00582000
[ 125.979122] vb2-core: __setup_offsets: buffer 7, plane 0 offset 0x0066d000
[ 125.986153] vb2-core: __vb2_queue_alloc: allocated 8 buffers, 1 plane(s) each
8 buffers requested.
[ 125.993722] vb2-core: vb2_mmap: buffer 0, plane 0 successfully mapped
length: 960000 offset: 0 timestamp type/source: mono/EoF
[ 126.001959] vb2-core: vb2_mmap: buffer 1, plane 0 successfully mapped
Buffer 0/0 mapped at address 0xb6d77000.
length: 960000 offset:[ 126.013516] vb2-core: vb2_mmap: buffer 2, plane 0 successfully mapped
962560 timestamp type/source: mono/EoF
Buffer 1/0 mapped at ad[ 126.025511] vb2-core: vb2_mmap: buffer 3, plane 0 successfully mapped
dress 0xb6c8c000.
length: 960000 offset: 1925120 timestamp type[ 126.037576] vb2-core: vb2_mmap: buffer 4, plane 0 successfully mapped
/source: mono/EoF
Buffer 2/0 mapped at address 0xb6ba1000.
len[ 126.049594] vb2-core: vb2_mmap: buffer 5, plane 0 successfully mapped
gth: 960000 offset: 2887680 timestamp type/source: mono/EoF
Buf[ 126.061662] vb2-core: vb2_mmap: buffer 6, plane 0 successfully mapped
fer 3/0 mapped at address 0xb6ab6000.
length: 960000 offset: 38[ 126.073704] vb2-core: vb2_mmap: buffer 7, plane 0 successfully mapped
50240 timestamp type/source: mono/EoF
Buffer 4/0 mapped at addr[ 126.085726] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
ess 0xb69cb000.
length: 960000 offset: 4812800 timestamp type/s[ 126.097195] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
ource: mono/EoF
Buffer 5/0 mapped at address 0xb68e0000.
lengt[ 126.108707] vb2-core: vb2_core_qbuf: qbuf of buffer 2 succeeded
h: 960000 offset: 5775360 timestamp type/source: mono/EoF
Buffe[ 126.120229] vb2-core: vb2_core_qbuf: qbuf of buffer 3 succeeded
r 6/0 mapped at address 0xb67f5000.
length: 960000 offset: 6737[ 126.131753] vb2-core: vb2_core_qbuf: qbuf of buffer 4 succeeded
920 timestamp type/source: mono/EoF
Buffer 7/0 mapped at addres[ 126.143295] vb2-core: vb2_core_qbuf: qbuf of buffer 5 succeeded
s 0xb670a000.
[ 126.154766] vb2-core: vb2_core_qbuf: qbuf of buffer 6 succeeded
[ 126.162031] vb2-core: vb2_core_qbuf: qbuf of buffer 7 succeeded
[ 126.172003] vb2-core: vb2_core_streamon: successful
[ 126.176937] vb2-core: __vb2_wait_for_done_vb: will sleep waiting for buffers
[ 126.210653] vb2-core: vb2_core_dqbuf: returning done buffer
[ 126.216255] vb2-core: vb2_core_dqbuf: dqbuf of buffer 0, with state 0
0 (0) [-] top 0 960000 B 126.200727 126.214112 29.675 fps ts mono/EoF
[ 126.268892] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
[ 126.274910] vb2-core: vb2_core_dqbuf: returning done buffer
[ 126.280558] vb2-core: vb2_core_dqbuf: dqbuf of buffer 1, with state 0
1 (1) [-] top 1 960000 B 126.234059 126.277131 30.001 fps ts mono/EoF
[ 126.324897] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
[ 126.331213] vb2-core: vb2_core_streamoff: successful
Captured 2 frames in 0.110101 seconds (18.164989 fps, 17438389.7[ 126.336624] vb2-core: __vb2_buf_mem_free: freed plane 0 of buffer 0
37638 B/s).
[ 126.348372] vb2-core: __vb2_buf_mem_free: freed plane 0 of buffer 1
[ 126.355725] vb2-core: __vb2_buf_mem_free: freed plane 0 of buffer 2
[ 126.362202] vb2-core: __vb2_buf_mem_free: freed plane 0 of buffer 3
[ 126.368639] vb2-core: __vb2_buf_mem_free: freed plane 0 of buffer 4
[ 126.375139] vb2-core: __vb2_buf_mem_free: freed plane 0 of buffer 5
[ 126.385447] vb2-core: __vb2_buf_mem_free: freed plane 0 of buffer 6
[ 126.391933] vb2-core: __vb2_buf_mem_free: freed plane 0 of buffer 7
8 buffers released.

In order to see more debug information about VIP. Could u provide more insight for me?
Thanks