Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    sample_odet_demo 跑起来全是是错误 ?是配置不对吗?

    V Series
    1
    1
    1015
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      super0759 LV 5 last edited by q1215200171

      请问如何配置?

      root@TinaLinux:/mnt/UDISK/sample# ./sample_odet_demo
      WARNING: Logging before InitGoogleLogging() is written to STDERR
      I0101 09:43:07.865566  1003 du[   32.217717] npu[3eb][3eb] vipcore, device init..
      p2SeldomUsedFd.c:20]                                        <[   32.224769] set_vip_power_clk ON
      dup2SeldomUsedFdInit> gFdLock in[   32.233260] enter aw vip mem alloc size 75
      it
      main line 1879, run start!
      [   32.238644] aw_vip_mem_alloc vir 0xc4bc2000, phy 0x486f2000
       $$$$$$$$$------>>>  ####---->> [   32.247573] npu[3eb][3eb] gckvip_drv_init  kernel logical phy address=0x486f2000  virtual =0xc4bc2000
      Firmware compile time:Jan  8 202[   32.261192] npu[3eb][3eb] vide mem node count=0, node capacity=0
      3 05:18:40
      [0xb6fbd560]vip_init[   32.270258] npu[3eb][3eb] failed to new node.
      [104],
      The version of Viplite [   32.277830] npu[3eb][3eb] failed to create mutex for video heap
      is: 1.8.0-0-AW-2022-04-21
      [   32.287297] npu[3eb][3eb] fail to construct video memory heap
      [   32.296054] npu[3eb][3eb] fail to initialize video memory heap
      [   32.302621] npu[3eb][3eb] vipocre, failed to kernel call, command[0]: CMD_INIT, status=-2
      [   32.311875] npu[3eb][3eb] vipocre, failed to ioctl, command[0]: CMD_INIT
      [0xb6fbd560]gcvip_os_call_kernel[344], fail to ioctl vipcore, command[0]:CMD_INIT, status=-2
      [0xb6fbd560]gcvip_os_init[99], fail to call kernel for cmd init, status=-2.
      [0xb6fbd560]gcvip_user_init[339], fail to initialize OS, status=-2.
      [0xb6fbd560]gcvip_init[3479], failed to user ini[   32.343238] VE: before freq=300000000
      t
      Error: sample_odet_demo/yolov[   32.348588] VE: real freq=300000000
      3-tiny_nbg_viplite/main.c: odet_init at 230
      load_vipp_parameters line 137, run start!
      load_vipp_parameters line 211, run finish!
      mpp_init line 219, run start!
      I0101 09:43:07.976418  1003 mpi_sys.c:840]                  <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 09:43:07.990907  1003 mpi_sys.c:1280]                 <AW_MPI_SYS_Init> ISP init
      [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<<
      IPCORE: ISP600
      branch: libisp-dev
      commit: 14df8348718d093707641fea73eba7db962885f5
      date  : Thu Jul 14 15:40:38 2022 +0800
      author: <mayifei@allwinnertech.com>
      --------------------------------------------------------
      
      I0101 09:43:07.994990  1003 mpi_sys.c:1282]                 <AW_MPI_SYS_Init> ISP init done
      INFO   : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010,
      I0101 09:43:08.017268  1003 hwdisplay.c:84]                 <hw_display_init>
      I0101 09:43:08.018120  1003 hwdisplay.c:993]                <hwd_init> (hwd_init 993)
      I0101 09:43:08.019233  1003 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 09:43:08.025741  1003 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:0
      I0101 09:43:08.111365  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap
      I0101 09:43:08.111574  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 volume
      I0101 09:43:08.111682  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC2 volume
      I0101 09:43:08.111774  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCDRC
      I0101 09:43:08.111853  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCHPF
      I0101 09:43:08.111952  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DAC volume
      I0101 09:43:08.112034  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACDRC
      I0101 09:43:08.112108  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACHPF
      I0101 09:43:08.112180  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEIN
      I0101 09:43:08.112252  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINL gain volume
      I0101 09:43:08.112326  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINR gain volume
      I0101 09:43:08.112396  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT
      I0101 09:43:08.112669  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT Output Select
      I0101 09:43:08.112984  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT volume
      I0101 09:43:08.113159  1003 alsa_interface.c:756]           <alsaOpenMixer> set playback vol_val to value: 27
      I0101 09:43:08.113261  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1
      I0101 09:43:08.113483  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 Input Select
      I0101 09:43:08.113593  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 gain volume
      I0101 09:43:08.113707  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2
      I0101 09:43:08.113791  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 Input Select
      I0101 09:43:08.113867  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 gain volume
      I0101 09:43:08.113953  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:SPK
      I0101 09:43:08.114168  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:digital volume
      I0101 09:43:08.114277  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:rx sync mode
      I0101 09:43:08.114360  1003 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
      mpp_init line 232, run finish!
      run_project line 1690, run start!
      I0101 09:43:08.118217  1003 hwdisplay.c:1248]               <hwd_get_disp_type> Current the  disp_type:0x1  tv_mode:0x0
      config_vipp_display2_vo line 1430, run start!
      config_vipp_display2_vo line 1453, vipp[4] vir_chn[0] creating.
      [ISP]video device name is vin_video4
      [ISP]open video device[4], detect isp0 success!
      I0101 09:43:08.125501  1003 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
      I0101 09:43:08.126932  1003 videoInputHw.c:1015]            <videoInputHw_SetChnAttr> ViCh[4], user set disable Encpp
      open /dev/sunxi_soc_info failed![ISP]open isp device[0] success!
      [ISP_WARN]sdcard is not mounted!!!
      [ISP]prefer isp config: [gc2053_mipi], 1920x1088, 30, 0, 0
      [ISP_WARN]cannot find gc2053_mipi_1920_1088_30_0_0 isp config, use gc2053_mipi_1920_1088_20_0_0 -> [gc2053_mipi_isp600_20220511_164617_vlc4_day]
      [ISP]create isp0 server thread!
      I0101 09:43:08.508569  1003 VideoVirVi_Component.c:1160]    <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb64b6d50]
      I0101 09:43:08.510962  1007 videoInputHw.c:4787]            <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 4, buf_num=5.
      I0101 09:43:08.511957  1003 hwdisplay.c:1121]               <hwd_layer_request_hlay> hlay:4, zorder=4, cnt:2
      I0101 09:43:08.512994  1003 mpi_vo.c:1038]                  <AW_MPI_VO_SetVideoLayerAttr> ch[1]lyl[0]:dispRect changed, [0, 0, 320x240]->[0, 0, 720x1280]
      I0101 09:43:08.513868  1003 hwdisplay.c:409]                <hwd_layer_set_rect> ch[1]lyl[0]: screen_win[0,0, 720x1280]
      config_vipp_display2_vo line 1564, create vo channel[0] success!
      I0101 09:43:08.518914  1003 mpi_vo.c:1086]                  <AW_MPI_VO_SetVideoLayerPriority> layer[4] priority changed [4]->[11]
      config_vipp_display2_vo line 1611, run finish!
      [ISP]prefer isp config: [gc2053_mipi], 1920x1088, 30, 0, 0
      npu_worker_thread line 1676, run start!
      npu_config_and_run line 779, run start!
      npu_config_and_run line 802, vipp[8] vir_chn[0] creating.
      [ISP]video device name is vin_video8
      [ISP]open video device[8], detect isp0 success!
      I0101 09:43:08.520969  1010 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
      I0101 09:43:08.521285  1010 videoInputHw.c:1015]            <videoInputHw_SetChnAttr> ViCh[8], user set disable Encpp
      [ISP_WARN]cannot find gc2053_mipi_1920_1088_30_0_0 isp config, use gc2053_mipi_1920_1088_20_0_0 -> [gc2053_mipi_isp600_20220511_164617_vlc4_day]
      [ISP_ERR]isp_stat_process_buffer, line: 268,AEWB: stats error, skipping buffer.
      I0101 09:43:08.685088  1009 video_render_linux.cpp:224]     <vr4l_init> mDisplayFormat[0x101], new CedarXNativeRenderer
      I0101 09:43:08.685342  1009 CedarXNativeRenderer.cpp:176]   <CedarXNativeRenderer> hwc disp fmt[0x62], color space:260
      I0101 09:43:08.685472  1009 hwdisplay.c:240]                <hwd_layer_set_src> x: 0, y: 0, width: 0x500, height: 0x2d0
      I0101 09:43:08.685569  1009 hwdisplay.c:247]                <hwd_layer_set_src> width: 0x50000000000, height: 0x2d000000000
      I0101 09:43:08.685656  1009 hwdisplay.c:367]                <hwd_layer_set_src> set fb.format 98 76, color_space 260 end, size0[1280x720], size1[640x360]
      vocallback_wrapper line 277, VO callback: VO Layer[4] chn[0] event:257
      vocallback_wrapper line 289, vo layer[4] report video display size[1280x720].
      I0101 09:43:08.685853  1009 VideoRender_Component.c:2318]   <VideoRender_ComponentThread> init video_render, param: displayRect[0,0][1280x720], bufSize[1280x720], vdecColorFormat[0x6]
      I0101 09:43:08.685958  1009 mpi_vo.c:508]                   <VideoRenderEventHandler> KeyFrameDecoded, pts[33018010]us
      vocallback_wrapper line 277, VO callback: VO Layer[4] chn[0] event:258
      vocallback_wrapper line 294, vo layer[4] report rendering start.
      [ISP_WARN]gc2053_mipi get sensor_temp failed: Invalid argument (22).
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      I0101 09:43:08.739765  1010 VideoVirVi_Component.c:1160]    <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb62ead50]
      I0101 09:43:08.740067  1011 videoInputHw.c:4787]            <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 8, buf_num=5.
      I0101 09:43:08.740425  1010 hwdisplay.c:1121]               <hwd_layer_request_hlay> hlay:5, zorder=5, cnt:3
      I0101 09:43:08.740640  1010 mpi_vo.c:1038]                  <AW_MPI_VO_SetVideoLayerAttr> ch[1]lyl[1]:dispRect changed, [0, 0, 320x240]->[0, 0, 0x0]
      I0101 09:43:08.740772  1010 hwdisplay.c:409]                <hwd_layer_set_rect> ch[1]lyl[1]: screen_win[0,0, 0x0]
      open /dev/sunxi_soc_info failed!npu_config_and_run line 912, create vo channel[0] success!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      Usage:
          nbg_name input_data1 input_data[   33.223857] L2 PageTable Invalid
      [   33.228716] 0x48c22000 is not mapped!
      [   33.232815] DE invalid address: 0x48c22000, data:0x0, id:0x4
      2...
      [   33.239762] [DISP] disp_mgr_set_layer_config,line:1504:
      [   33.245429] NULL hdl!
      [   33.251672] L2 PageTable Invalid
      [   33.255289] 0x48c00000 is not mapped!
      [   33.259387] DE invalid address: 0x48c00000, data:0x0, id:0x4
      [   33.268334] L2 PageTable Invalid
      [   33.271946] 0x48c00000 is not mapped!
      [   33.276043] DE invalid address: 0x48c00000, data:0x0, id:0x4
      [   33.285002] L2 PageTable Invalid
      [   33.288621] 0x48c00000 is not mapped!
      [   33.292718] DE invalid address: 0x48c00000, data:0x0, id:0x4
      [   33.301661] L2 PageTable Invalid
      [   33.305271] 0x48c00000 is not mapped!
      [   33.309367] DE invalid address: 0x48c00000, data:0x0, id:0x4
      [   34.309136] [DISP] de_fcm_set_para,line:491:
      [   34.313740] fcm lut 0 not find, auto retry after init
      [   34.319879] [DISP] de_fcm_set_para,line:491:
      [   34.324471] fcm lut 0 not find, auto retry after init
      Segmentation fault (core dumped)
      
      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策