LuckfoxTECH / luckfox_pico_rkmpi_example

3 stars 0 forks source link

luckfox_pico_rtsp_opencv does not run #2

Open fredsco opened 6 days ago

fredsco commented 6 days ago

When following the steps in the README I get the following error when running luckfox_pico_rtsp_opencv:

[root@luckfox luckfox_pico_rtsp_opencv_demo]# ls
lib                       luckfox_pico_rtsp_opencv
[root@luckfox luckfox_pico_rtsp_opencv_demo]# ./luckfox_pico_rtsp_opencv 
rkaiq log level ff0
ID: 0, sensor_name is ?????, iqfiles is /etc/iqfiles
Segmentation fault (core dumped)

I have done exactly as stated. I used scp -r luckfox_pico_rtsp_opencv to move the. folder to the luckfox pico mini b without modifying anything.

fredsco commented 6 days ago

When I use luckfox_pico_rtsp_opencv_capture_demo I get the following error on the luckfox pico mini b

[root@luckfox luckfox_pico_rtsp_opencv_capture_demo]# ./luckfox_pico_rtsp_opencv_capture 
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
cannot find v4l device with name rkisp_mainpath
rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
log_file = (nil) 
RTVersion        09:01:58-480 {dump              :064} ---------------------------------------------------------
RTVersion        09:01:58-481 {dump              :065} rockit version: git-8cb4d25b8 Tue Feb 28 11:12:39 2023 +0800
RTVersion        09:01:58-481 {dump              :066} rockit building: built- 2023-02-28 15:23:19
RTVersion        09:01:58-482 {dump              :067} ---------------------------------------------------------
rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
(null)           09:01:58-483 {log_level_init    :209} Failed to open /dev/mpi/vlog,please check insmod success or fail
(null)           09:01:58-483 {read_log_level    :093} text is all=4
(null)           09:01:58-484 {read_log_level    :095} module is all, log_level is 4
cmpi             09:01:58-486 {sys_runtime_librar:081} Failed to open /dev/mpi/valloc,please check insmod success or fail
cmpi             09:01:58-487 {sys_runtime_librar:081} Failed to open /dev/mpi/vsys,please check insmod success or fail
cmpi             09:01:58-487 {sys_runtime_librar:081} Failed to open /dev/mpi/vrgn,please check insmod success or fail
cmpi             09:01:58-487 {sys_runtime_librar:081} Failed to open /dev/mpi/venc,please check insmod success or fail
cmpi             09:01:58-488 {sys_runtime_librar:081} Failed to open /dev/mpi/vpss,please check insmod success or fail
cmpi             09:01:58-488 {sys_runtime_librar:081} Failed to open /dev/mpi/vvi,please check insmod success or fail
cmpi             09:01:58-489 {sys_runtime_librar:081} Failed to open /dev/mpi/vrga,please check insmod success or fail
cmpi             09:01:58-489 {sys_runtime_librar:081} Failed to open /dev/mpi/venc,please check insmod success or fail
(null)           09:01:58-490 {monitor_log_level :144} #Start monitor_log_level thread, arg:(nil)
RTDmaStore       09:01:58-498 {fetchDma          :046} Assertion dmaBase != RT_NULL failed at fetchDma:46

Aborted (core dumped)