YuziKi X 100ask v851s开发板运行sample_odet_demo报错
-
报错log如下所示:
root@TinaLinux:/mnt/extsd# ./sample_odet_demo -path sample_odet_demo.conf main line 2173, run start! WARNING: Logging before InitGoogleLogging() is written to STDERR I0101 00:18:39.230742 1016 sample_odet_demo.c:1976] <ParseCmdLine> path:[./sample_o[ 118.019788] npu[3f8][3f8] vipcore, device init.. det_demo], arg number is [3] I0[ 118.026439] set_vip_power_clk ON 101 00:18:39.246284 1016 confpa[ 118.034960] enter aw vip mem alloc size 7340032 rser.c:60] <createConfParser> load conf file sample_odet_demo.conf ok! I0101 00:18:39[ 118.046650] aw_vip_mem_alloc vir 0xc5801000, phy 0x48800000 .246582 1016 sample_odet_demo.c[ 118.055527] npu[3f8][3f8] gckvip_drv_init kernel logical phy address=0x48800000 virtual =0xc5801000 :2115] <loadSampleConfig> mValid:1,mDevNum:0,mCaptureWidth:1920,mCaptureWidth:1080,mDisplayX:0,mDisplayY:0,mDisplayWidth:1920,mDisplayHeight:1080,mLayerNum:0,mEncodeType:265 [0xb6f8e560]vip_init[104], The version of Viplite is: 1.8.0-0-AW-2022-04-21 Create Neural Network: 243.82ms or 243819.75us mpp_init line 238, run start! I0101 00:18:39.545331 1016 mpi_sys.c:842] <AW_MPI_SYS_SetConf> kfctmpdir is [/tmp] >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Media Process Platform<<<<<<<<<<<<<<<<<<<<<<<<<<<< modName : MPP-Platform tag : V1.0 Release branch: v5-dev commit: 4eed413532ad87725895a8cb1ba75e22fc328233 date : 20170725 author: jenkins iniparser: cannot open /etc/cedarx.conf iniparser: cannot open /vendor/etc/cedarx.conf I0101 00:18:39.560858 1016 mpi_sys.c:1455] <AW_MPI_SYS_Init> ISP init I0101 00:18:39.561202 1016 isp_version.h:39] <isp_version_info> [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<< IPCORE: ISP600 branch: libisp-dev commit: 5b30d9b8f8190196d863bc91576af5356022b433 date : Thu Jan 25 17:23:23 2024 +0800 author: <mayifei@allwinnertech.com> -------------------------------------------------------- I0101 00:18:39.561392 1016 mpi_sys.c:1457] <AW_MPI_SYS_Init> ISP init done I0101 00:18:39.574484 1016 hwdisplay.c:84] <hw_display_init> I0101 00:18:39.574779 1016 hwdisplay.c:993] <hwd_init> (hwd_init 993) I0101 00:18:39.574992 1016 hwdisplay.c:1048] <hwd_init> ret[0][2,0]ch[0]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, value:0] I0101 00:18:39.693602 1016 audio_hw.c:189] <MakeAllMixerElemsAvailable> pcm open and close, all MixerElems maybe exist. I0101 00:18:39.693855 1016 alsa_interface.c:712] <alsaOpenMixer> open mixer:hw:0 I0101 00:18:39.696277 1016 alsa_interface.c:767] <alsaOpenMixer> set playback vol_val to value: 27 I0101 00:18:39.696869 1016 alsa_interface.c:712] <alsaOpenMixer> open mixer:hw:1 mpp_init line 251, run finish! run_project line 1765, run start! I0101 00:18:39.698172 1016 hwdisplay.c:1248] <hwd_get_disp_type> Current the disp_type:0x1 tv_mode:0x0 config_vipp_display2_vo line 1504, run start! config_vipp_display2_vo line 1527, vipp[4] vir_chn[0] creating. I0101 00:18:39.698513 1016 video.c:107] <video_init> [ISP]video device name is vin_video4 I0101 00:18:39.698742 1016 isp_dev.c:566] <isp_video_open> [ISP]open video device[4], detect isp0 success! I0101 00:18:39.701278 1016 videoInputHw.c:1162] <videoInputHw_SetChnAttr> ViCh[4], user set disable Encpp I0101 00:18:39.701599 1020 mpi_sys.c:1073] <MonitorEnvVarThread> detect user environment: I0101 00:18:39.701785 1020 mpi_sys.c:1074] <MonitorEnvVarThread> /tmp/mpp_log_level I0101 00:18:39.701886 1020 mpi_sys.c:1075] <MonitorEnvVarThread> /tmp/mpp_venc_sei_config_param I0101 00:18:39.958331 1016 isp_dev.c:390] <isp_tdm_open> [ISP]tdm_rx device name is sunxi_tdm_rx.0 W0101 00:18:39.958589 1016 isp_dev.c:435] <isp_dev_open> [ISP_WARN]ISP0 maybe online mode, ignore tdm open failed. I0101 00:18:39.959290 1016 isp_dev.c:460] <isp_dev_open> [ISP]open isp device[0] success! E0101 00:18:39.959491 1016 isp_dev.c:956] <isp_sensor_get_configs> [ISP_ERR]gc2053_mipi get config failed: Invalid argument (22). W0101 00:18:39.966597 1016 isp_helper.c:106] <isp_ctx_save_init> [ISP_WARN]open /mnt/extsd/isp0_0_0_0_0_gc2053_mipi_ctx_saved.bin failed, err:No such file or directory. I0101 00:18:39.966919 1016 isp_ini_parse.c:1650] <parser_ini_info> [ISP]prefer isp config: [gc2053_mipi], 0x0, 0, 0, 0 W0101 00:18:39.967132 1016 isp_ini_parse.c:1669] <parser_ini_info> [ISP_WARN]cannot find gc2053_mipi_0_0_0_0_0 isp config, use gc2053_mipi_1920_1088_20_0_0 -> [gc2053_mipi_isp600_20220511_164617_vlc4_day] E0101 00:18:39.995799 1016 isp_manage.c:2575] <isp_ctx_config_init> [ISP_ERR]sensor attribute is not init. I0101 00:18:39.996153 1016 isp.c:1235] <isp_run> [ISP]create isp0 server thread! E0101 00:18:39.996912 1019 isp_dev.c:956] <isp_sensor_get_configs> [ISP_ERR]gc2053_mipi get config failed: Invalid argument (22). W0101 00:18:39.997147 1019 videoInputHw.c:6258] <VideoInputHw_CapThread> fatal error! Get isp[0] sensor information failed! must be called AW_MPI_ISP_Run before AW_MPI_VI_EnableVipp. I0101 00:18:40.009335 1019 videoInputHw.c:6297] <VideoInputHw_CapThread> EnableVipp[4]: vfmt.bufs:5, online:0 I0101 00:18:40.049559 1016 videoInputHw.c:1316] <videoInputHw_ChnEnable> receive enable vipp[4] reply: 0x0! I0101 00:18:40.050488 1016 hwdisplay.c:1121] <hwd_layer_request_hlay> hlay:4, zorder=4, cnt:2 I0101 00:18:40.051195 1016 mpi_vo.c:1038] <AW_MPI_VO_SetVideoLayerAttr> ch[1]lyl[0]:dispRect changed, [0, 0, 320x240]->[0, 0, 1280x720] I0101 00:18:40.051388 1016 hwdisplay.c:409] <hwd_layer_set_rect> ch[1]lyl[0]: screen_win[0,0, 1280x720] open /dev/sunxi_soc_info failed!config_vipp_display2_vo line 1638, create vo channel[0] success! I0101 00:18:40.052093 1016 mpi_vo.c:1086] <AW_MPI_VO_SetVideoLayerPriority> layer[4] priority changed [4]->[11] config_vipp_display2_vo line 1685, run finish! npu_worker_thread line 1750, run start! npu_config_and_run line 829, run start! npu_config_and_run line 852, vipp[8] vir_chn[0] creating. I0101 00:18:40.053192 1024 video.c:107] <video_init> [ISP]video device name is vin_video8 I0101 00:18:40.053476 1024 isp_dev.c:566] <isp_video_open> [ISP]open video device[8], detect isp0 success! I0101 00:18:40.053797 1024 video.c:1063] <video_set_isp_bk_buffer_align> [ISP]video_set_isp_bk_buffer_align yuv_align_en = 1, lbc_align_en = 0 E0101 00:18:40.053948 1024 video.c:1065] <video_set_isp_bk_buffer_align> [ISP_ERR]video8 video_set_isp_bk_buffer_align failed!!! I0101 00:18:40.054063 1024 videoInputHw.c:1162] <videoInputHw_SetChnAttr> ViCh[8], user set disable Encpp I0101 00:18:40.054779 1016 isp_ini_parse.c:1650] <parser_ini_info> [ISP]prefer isp config: [gc2053_mipi], 0x0, 0, 0, 0 W0101 00:18:40.054992 1016 isp_ini_parse.c:1669] <parser_ini_info> [ISP_WARN]cannot find gc2053_mipi_0_0_0_0_0 isp config, use gc2053_mipi_1920_1088_20_0_0 -> [gc2053_mipi_isp600_20220511_164617_vlc4_day] E0101 00:18:40.055700 1016 isp_manage.c:2575] <isp_ctx_config_init> [ISP_ERR]sensor attribute is not init. venc_recorder_thread line 1734, run start! config_venc_channel line 1872, run start! I0101 00:18:40.056094 1025 sample_odet_demo.c:1882] <config_venc_channel> VeAttr.Type:265 config_venc_channel line 1944, run finish! venc_channel_run line 1254, run start! venc_channel_run line 1277, vipp[0] vir_chn[0] creating. I0101 00:18:40.056409 1025 video.c:107] <video_init> [ISP]video device name is vin_video0 I0101 00:18:40.056663 1025 isp_dev.c:566] <isp_video_open> [ISP]open video device[0], detect isp0 success! I0101 00:18:40.056906 1025 videoInputHw.c:1162] <videoInputHw_SetChnAttr> ViCh[0], user set disable Encpp E0101 00:18:40.226480 1021 isp_dev.c:274] <isp_stat_process_buffer> [ISP_ERR]AEWB: stats error, skipping buffer. E0101 00:18:40.228073 1019 isp_dev.c:956] <isp_sensor_get_configs> [ISP_ERR]gc2053_mipi get config failed: Invalid argument (22). I0101 00:18:40.228429 1023 video_render_linux.cpp:224] <vr4l_init> mDisplayFormat[0x101], new CedarXNativeRenderer I0101 00:18:40.228585 1023 CedarXNativeRenderer.cpp:176] <CedarXNativeRenderer> hwc disp fmt[0x62], color space:260 I0101 00:18:40.228716 1023 hwdisplay.c:240] <hwd_layer_set_src> x: 0, y: 0, width: 0x500, height: 0x2d0 I0101 00:18:40.228816 1023 hwdisplay.c:247] <hwd_layer_set_src> width: 0x50000000000, height: 0x2d000000000 I0101 00:18:40.228908 1023 hwdisplay.c:367] <hwd_layer_set_src> set fb.format 98 76, color_space 260 end, size0[1280x720], size1[640x360] vocallback_wrapper line 296, VO callback: VO Layer[4] chn[0] event:257 vocallback_wrapper line 308, vo layer[4] report video display size[1280x720]. I0101 00:18:40.229131 1023 VideoRender_Component.c:2319] <VideoRender_ComponentThread> init video_render, param: displayRect[0,0][1280x720], bufSize[1280x720], vdecColorFormat[0x6] I0101 00:18:40.229257 1023 mpi_vo.c:508] <VideoRenderEventHandler> KeyFrameDecoded, pts[118992242]us vocallback_wrapper line 296, VO callback: VO Layer[4] chn[0] event:258 vocallback_wrapper line 313, vo layer[4] report rendering start. E0101 00:18:40.260354 1021 isp_dev.c:859] <isp_sync_debug_info> [ISP_ERR]VIDIOC_VIN_ISP_GET_INFO error! W0101 00:18:40.260567 1021 isp.c:450] <isp_ctx_get_sensor_info> [ISP_WARN]isp debugfs node not support!!! [ 119.507460] L2 PageTable Invalid [ 119.511083] 0x48f14000 is not mapped! [ 119.515179] DE invalid address: 0x48f14000, data:0x0, id:0x4 [ 119.522292] [DISP] disp_mgr_set_layer_config,line:1504: [ 119.527960] NULL hdl! [ 119.537440] L2 PageTable Invalid [ 119.541056] 0x48f00000 is not mapped! [ 119.545151] DE invalid address: 0x48f00000, data:0x0, id:0x4 [ 119.554103] L2 PageTable Invalid [ 119.557716] 0x48f00000 is not mapped! [ 119.561810] DE invalid address: 0x48f00000, data:0x0, id:0x4 [ 119.570770] L2 PageTable Invalid [ 119.574388] 0x48f00000 is not mapped! [ 119.578484] DE invalid address: 0x48f00000, data:0x0, id:0x4 [ 119.587428] L2 PageTable Invalid [ 119.591037] 0x48f00000 is not mapped! [ 119.595131] DE invalid address: 0x48f00000, data:0x0, id:0x4 [ 120.598481] [DISP] de_fcm_set_para,line:491: [ 120.603087] fcm lut 0 not find, auto retry after init [ 120.609126] [DISP] de_fcm_set_para,line:491: [ 120.613724] fcm lut 0 not find, auto retry after init [ 120.746740] npu[3f8][3fd] gckvip_drv_exit, aw_vip_mem_free [ 120.753008] aw_vip_mem_free vir 0xc5801000, phy 0x48800000 [ 120.759190] aw_vip_mem_free dma_unmap_sg_atrs [ 120.764111] aw_vip_mem_free ion_unmap_kernel [ 120.769209] aw_vip_mem_free ion_free [ 120.773239] aw_vip_mem_free ion_client_destroy [ 120.782813] npu[3f8][3fd] vipcore, device un-init.. Arithmetic exception (core dumped) 配置文件日下: venc_vaild = 1 venc_vipp_dev = 0 venc_capture_width = 1920 venc_capture_height = 1080 venc_display_width = 1920 venc_display_height = 1080 venc_encode_type = "H.265" venc_file_path = "/mnt/extsd/venc_stream.raw" preview_vipp_dev = 4 preview_capture_width = 1280 preview_capture_height = 720 preview_layer_num = 4 preview_display_x = 0 preview_display_y = 0 preview_display_width = 1280 preview_display_height = 720 npu_vipp_dev = 8 npu_nbg_file_path = "/mnt/extsd/network_binary.nb" test_duration = 60 #unit:s, 0:Infinite duration.
麻烦哪位大神看一下是什么原因?谢谢。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号