You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully run the luckfox_pico_rtsp_opencv on a Luckfox Pico Max
When with the same setup i compile the luckfox_pico_rtsp_yolov5 and move the folder example/luckfox_pico_rtsp_yolov5/model to the same folder as the executable luckfox_pico_rtsp_yolov5 i got the following error:
E RKNN: failed to decode config data!
Segmentation fault (core dumped)
Without the model folder can start the openCV but it missing the model/yolo5.rknn
E RKNN: failed to open model: ./model/yolov5.rknn
rknn_init fail! ret=-1
init rknn model success!
load lable ./model/coco_80_labels_list.txt
Open ./model/coco_80_labels_list.txt fail!
rkaiq log level ff0
[ 2309.365204] stream_cif_mipi_id0: s_power 1, entity use_count 1
ID: 0, sensor_name is m00_b_sc3336 4-0030, iqfiles is /etc/iqfiles
[ 2309.365726] stream_cif_mipi_id0: s_power 0, entity use_count 0
[ 2309.520519] stream_cif_mipi_id0: s_power 1, entity use_count 1
[ 2309.521943] stream_cif_mipi_id0: open video, entity use_countt 2
[ 2309.522146] stream_cif_mipi_id1: open video, entity use_countt 1rk_aiq_uapi2_sysctl_init/prepare succeed
rk_aiq_uapi2_sysctl_start succeed
rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
log_file = (nil)
RTVersion 16:19:57-290 {dump :064} ---------------------------------------------------------
RTVersion 16:19:57-310 {dump :065} rockit version: git-8cb4d25b8 Tue Feb 28 11:12:39 2023 +0800
RTVersion 16:19:57-320 {dump :066} rockit building: built- 2023-02-28 15:23:19
RTVersion 16:19:57-329 {dump :067} ---------------------------------------------------------
(null) 16:19:57-339 {log_level_init :203}
please use echo name=level > /tmp/rt_log_level set log level
name: all cmpi mb sys vdec venc rgn vpss vgs tde avs wbc vo vi ai ao aenc adec
log_level: 0 1 2 3 4 5 6
rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
(null) 16:19:57-369 {read_log_level :093} text is all=4
(null) 16:19:57-375 {read_log_level :095} module is all, log_level is 4
RTIsp3x 16:19:57-385 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
(null) 16:19:57-391 {monitor_log_level :144} #Start monitor_log_level thread, arg:(nil)
RTIsp3x 16:19:57-400 {ispInitDevice :211} sensor_index = 0
RTIsp3x 16:19:57-412 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
RTIsp3x 16:19:57-417 {ispInitDevice :211} sensor_index = 0
[INFO rtsp_demo.c:280:rtsp_new_demo] rtsp server demo starting on port 554
[DEBUG rtsp_demo.c:480:rtsp_new_session] add session path: /live/0
rtsp streamq_alloc size is 1753484
vi_dev_init
RKViDev 16:19:57-441 {vi_set_dev_attr :440} VI_DEV_ATTR_S all parameter reserved
=== VI ATTRS INFO: ===
devId : 0
chnId : 0
buffcnt: 0
buffSize: 0
width: 0
height: 0
Maxwidth: 0
Maxwidth: 0
streaming: 0
RKViChn 16:19:57-467 {prepareRuntime :334} ---------------------------------------------------------
RKViChn 16:19:57-477 {prepareRuntime :336} vi version: 1.86, name:vvi
RKViChn 16:19:57-484 {prepareRuntime :337} rockit-ko version: vmpi:fb2eed2be49e
RKViChn 16:19:57-492 {prepareRuntime :338} rockit-ko building: -2023-02-09-11:04:49
RKViChn 16:19:57-501 {prepareRuntime :339} ---------------------------------------------------------
RKViChn 16:19:57-511 {prepareRuntime :358} mb pool create success, MBCnt= 2
cmpi 16:19:57-518 {createRuntime :546} [non-WRAP MODE]: buff size = 518400
RTIsp3x 16:19:57-528 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
RTIsp3x 16:19:57-535 {ispInitDevice :211} sensor_index = 0
RTDeviceV4L2 16:19:57-546 {open :138} open video name(/dev/video11)
RKViChn 16:19:57-552 {setFrameRate :1153} [vi] dev(0) ch(0) illegal param s32SrcFrameRate(0) s32DstFrameRate(0)
RTDeviceV4L2 16:19:57-564 {ispCameraInfo :549} current device:/dev/video11 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
RTDeviceV4L2 16:19:57-578 {ispInitFormat :726} ioctl VIDIOC_S_FMT OK
RKViChn 16:19:57-586 {start :813} =========== vi Start startRuntime ===========
RTDeviceV4L2 16:19:57-596 {ispStreamOn :440} do ispStreamOn start
[ 2309.538502] rkisp rkisp-vir0: first params buf queue
[ 2309.633870] vsys dev open 26
[ 2309.836120] rkisp queue buf done
[ 2309.854024] rkisp_hw ffa00000.rkisp: set isp clk = 198000000Hz
[ 2309.854067] rkcRTDeviceV4L2 16:19:57-622 {ispStreamOn :493} do ispStreamOn donef-mipi[0m
=== 0 ===
vpss_init
-lvds: sditf_reinit_mode, mode->rdbk_mode 0, mode->nrga_api version 1.9.1_[0]
ame rkisp-vir0, link_mode 1
[ 2309====RK_MPI_SYS_Bind vi0 to vpss0====
venc_init
.855797]MpiAdapterEncode 16:19:57-647 {ma_encode_create :1653} ringbuf buf_size 520192
rkcif-mipi-lvds: stream[0] start strvenc init success
eaming
[ 2309.855952] rockchip-mipi-csi2 ffa20000.mipi-csi2: stream on, src_sd: 1b1c984b, sd_na=== 1 ===
me:rockchip-csi2-dphy0
[ 2309.855965] rockchip-mipi-csi2 ffa20000.mipi-csi2: stream ON
[ 2309.856013] rockchip-csi2-dphy0: dphy0, data_rate_mbps 506
[ 2309.856040] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
[ 2309.856051] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
[ 2309.891220] create vpss node = 1036800
[ 2309.905976] mpp_vcodec: 44: numcmpi 16:19:57-704 {mb_get_buffer_by_i:_chan = 0
[ 2309.906090] mpp_vcodec: 422} allocated buffer(this=0x2c5378, data=(nil), size=0, id=-1)
368: attr->max_width = 720, attr->max_height = 480
[ 2309.907101] mpp_vcodec: 103: chan_entry->handle 3be43c09, enc 3be43c09
[ 2309.908721] 755: MPP_ENC_SET_CFG in
[ 2309.908753] 524: MPP_ENC_SET_RC_CFG bps 3888000 [3645000 : 4131000] fps [30:30] gop 60
[ 2309.908767] 329: MPP_ENC_SET_PREP_CFG w:h [720:480] stride [2160:480]
[ 2309.908781] 271: send header for set cfg change input/format
[ 2309.908965] 755: MPP_ENC_SET_CFG in
[ 2309.908986] 524: MPP_ENC_SET_RC_CFG bps 3072000 [2880000 : 3264000] fps [30:30] gop 1
[ 2309.908997] 271: send header for set cfg change rc_mode/fps/gop
[ 2309.909115] 755: MPP_ENC_SET_CFG in
[ 2309.909132] 524: MPP_ENC_SET_RC_CFG bps 3072000 [2880000 : 3264000] fps [30:30] gop 1
[ 2309.909144] 271: send header for set cfg change rc_mode/fps/gop
[ 2311.440035] rga_job: [tgid:965 pid:966] destroy request[800] when the user exits
[ 2311.440051] rga_job: [tgid:965 pid:966] destroy request[801] when the user exits
[ 2311.440075] rga_job: [tgid:965 pid:966] destroy request[802] when the user exits
[ 2311.440086] rga_job: [tgid:965 pid:966] destroy request[803] when the user exits
[ 2311.440095] rga_job: [tgid:965 pid:966] destroy request[804] when the user exits
[ 2311.471436] rkcif-mipi-lvds: stream[0] start stopping, total mode 0x2, cur 0x2
[ 2311.510720] rockchip-mipi-csi2 ffa20000.mipi-csi2: stream off, src_sd: 1b1c984b, sd_name:rockchip-csi2-dphy0
[ 2311.510Segmentation fault (core dumped)773] rockchip-
mipi[root@luckfox luckfox_pico_rtsp_yolov5]#
[root@luckfox luckfox_pico_rtsp_yolov5]# -csi2 ffa20000.mipi-csi2: stream OFF
[ 2311.512090] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream_stop stream stop, dphy0
[ 2311.512128] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
[ 2311.512174] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
[ 2311.512377] rkcif-mipi-lvds: stream[0] stopping finished, dma_en 0x0
[ 2311.513095] rockit isp stream off
[ 2311.513962] stream_cif_mipi_id1: close video, entity use_count 0
[ 2311.514027] stream_cif_mipi_id0: close video, entity use_count 1
[ 2311.515761] stream_cif_mipi_id0: s_power 0, entity use_count 0
The text was updated successfully, but these errors were encountered:
Hello Please upload the entire folder of generated luckfox_pico_rtsp_yolov5_demo, and upload only a single executable or model file, which will be used by both the files and the dynamic library at runtime
I have successfully run the luckfox_pico_rtsp_opencv on a Luckfox Pico Max
When with the same setup i compile the luckfox_pico_rtsp_yolov5 and move the folder example/luckfox_pico_rtsp_yolov5/model to the same folder as the executable luckfox_pico_rtsp_yolov5 i got the following error:
Without the model folder can start the openCV but it missing the model/yolo5.rknn
The text was updated successfully, but these errors were encountered: