Navigation

    全志在线开发者论坛

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

    执行sample_smartPreview_demo的ViDev[8]报错

    V Series
    1
    6
    2653
    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.
    • N
      NULL037 LV 7 last edited by

      现象:
      在执行sample_smartPreview_demo时,出现mpi_vi.c报错,提示ViDev[8] vichn[0] is unexist!!
      511410d5-681d-464d-a3fc-61b60285f1b0-image.png

      这个参数8.是在sample_smartPreview_demo.conf文件里设置main_nn_vipp
      40c4bcc8-e8bc-47d7-86b8-77e10c2c548a-image.png

      我不太理解这个参数是根据哪里来设置的,设置后需要配置什么内容?

      N 1 Reply Last reply Reply Quote Share 0
      • N
        NULL037 LV 7 @NULL037 last edited by

        @null037 问题出在设备树中,需要将设备树中修改vinc@8节点
        d8975e0b-47a6-4011-8bad-cd70c7472c11-image.png

        N 1 Reply Last reply Reply Quote Share 0
        • N
          NULL037 LV 7 @NULL037 last edited by

          @null037 修改后发现节点是出来了

          root@TinaLinux:/mnt/extsd# ls /dev/video*
          /dev/video0   /dev/video12  /dev/video4   /dev/video8
          

          但是执行sample_smartPreview_demo 时会如下错误。

          root@TinaLinux:/mnt/extsd# ./sample_smartPreview_demo -path ./sample_smartPrevie
          w_demo.conf 
          WARNING: Logging before InitGoogleLogging() is written to STDERR[  304.324501] VE: before freq=300000000
          
          I0101 18:54:49.735891  1180 sa[  304.329348] VE: real freq=300000000
          mple_smartPreview_demo.c:639]                               <main> sample_smartPreview_demo running!
          I0101 18:54:49.736147  1180 sample_smartPreview_demo.c:50]  <ParseCmdLine> sample_virvi2vo path:[./sample_smartPreview_demo], arg number is [3]
          I0101 18:54:49.736915  1180 confparser.c:60]                <createConfParser> load conf file ./sample_smartPreview_demo.conf ok!
          I0101 18:54:49.737161  1180 sample_smartPreview_demo.c:215] <loadSampleConfig> vipp[0]: captureSize[360x640], displayArea[0,0,480x800]
          I0101 18:54:49.737248  1180 sample_smartPreview_demo.c:215] <loadSampleConfig> vipp[1]: captureSize[1920x1080], displayArea[0,0,480x800]
          I0101 18:54:49.737316  1180 sample_smartPreview_demo.c:217] <loadSampleConfig> dispSync[1], dispType[64], frameRate[20], testDuration[0]
          I0101 18:54:49.737460  1180 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 18:54:49.740083  1180 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 18:54:49.740716  1180 mpi_sys.c:1282]                 <AW_MPI_SYS_Init> ISP init done
          INFO   : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010,
          I0101 18:54:49.752681  1180 hwdisplay.c:84]                 <hw_display_init> 
          I0101 18:54:49.752840  1180 hwdisplay.c:993]                <hwd_init> (hwd_init 993)
          I0101 18:54:49.752989  1180 hwdisplay.c:1048]               <hwd_init> ret[0][2,0]ch[2]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, value:0]
          I0101 18:54:49.753117  1180 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:0
          I0101 18:54:49.758482  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap
          I0101 18:54:49.758633  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 volume
          I0101 18:54:49.758711  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC2 volume
          I0101 18:54:49.758778  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCDRC
          I0101 18:54:49.758837  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCHPF
          I0101 18:54:49.758894  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DAC volume
          I0101 18:54:49.758948  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACDRC
          I0101 18:54:49.759004  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACHPF
          I0101 18:54:49.759057  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEIN
          I0101 18:54:49.759120  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINL gain volume
          I0101 18:54:49.759175  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINR gain volume
          I0101 18:54:49.759231  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT
          I0101 18:54:49.759286  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT Output Select
          I0101 18:54:49.759374  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT volume
          I0101 18:54:49.759448  1180 alsa_interface.c:756]           <alsaOpenMixer> set playback vol_val to value: 27
          I0101 18:54:49.759512  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1
          I0101 18:54:49.759571  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 Input Select
          I0101 18:54:49.759630  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 gain volume
          I0101 18:54:49.759687  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2
          I0101 18:54:49.759741  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 Input Select
          I0101 18:54:49.759795  1180 alsa_inter[  304.696509] [DISP] de_fcm_set_para,line:491:face.c:736] <alsaOpenM
          [  304.703976] fcm lut 0 not find, auto retry after init
          ixer> alsa_elem:MIC2 gain volume[  304.712537] [DISP] de_fcm_set_para,line:491:
          I0101 18:54:50.090799  1180 al
          [  304.719939] fcm lut 0 not find, auto retry after init
          sa_interface.c:736]                                         <a[  304.728607] [DISP] lcd_clk_config,line:702:lsaOpenMixer> alsa_elem:SPK
          I01
          [  304.735889] disp 0, clk: pll(150000000),clk(150000000),dclk(25000000) dsi_rate(25000000)
          [  304.735889]      clk real:pll(288000000),clk(288000000),dclk(72000000) dsi_rate(150000000)
          01 18:54:50.090924  1180 alsa_in[  304.757348] lcd_open_flow 
          terface.c:736]                                              <alsaOp[  304.762972] lcd_power_on 
          enMixer> alsa_elem:digital volum[  304.769147] [DISP] disp_sys_gpio_set_value,line:416:e
          I0101 18:54:50.091000  1180 a
          lsa_interface.c:736]                                        <[  304.776811] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
          alsaOpenMixer> alsa_elem:rx sync mode
          I0101 18:54:50.091061  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
          E0101 18:54:50.091134  1180 alsa_interface.c:970]           <alsaMixerSetAudioCodecHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1
          E0101 18:54:50.091239  1180 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
          I0101 18:54:50.091333  1180 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:1
          I0101 18:54:50.091874  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:loopback debug
          I0101 [  304.839059] [DISP] disp_sys_gpio_set_value,line:416:18:54:50.091994  1180 alsa_inter
          face.c:736]                                                 <alsaOpenM[  304.846556] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
          ixer> alsa_elem:rx sync mode
          [  304.869056] [DISP] disp_sys_gpio_set_value,line:416:     <alsaOpenMixer> alsa_elem:tx hub mode
                                                                 E0101 18:54:50.092137  1180 als
          a_interface.c:993]                                          <al[  304.874611] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
          saMixerSetDAudio0HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1
          E0101 18:54:50.092231  1180 alsa_interface.c:1016]          <alsaMixerSetDAudio0LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1
          E0101 18:54:50.092303  1180 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
          I0101 18:54:50.092403  1180 hwdisplay.c:1248]               <hwd_get_disp_type> Current the  disp_type:0x0  tv_mode:0x0
          I0101 18:54:50.112674  1180 mpi_vo.c:837]                   <AW_MPI_VO_SetPubAttr> vo interface changed, [0x0, 0x1]->[0x40, 0x1]
          I0101 18:54:50.112815  1180 hwdisplay.c:1486]               <hwd_switch_vo_device> Current the  disp_type:0x0  tv_mode:0x0
          [  305.009052] lcd_panel_init 
          [  305.519273] L2 PageTable Invalid
          [  305.522896] 0x48980000 is not mapped!
          [  305.526996] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.536348] L2 PageTable Invalid
          [  305.539963] 0x48980000 is not mapped!
          [  305.544063] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.553446] L2 PageTable Invalid
          [  305.557060] 0x48980000 is not mapped!
          [  305.561160] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.570544] L2 PageTable Invalid
          [  305.574158] 0x48980000 is not mapped!
          [  305.578257] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.584743] lcd_bl_open 
          [  305.587660] L2 PageTable Invalid
          [  305.591274] 0x48980000 is not mapped!
          [  305.595373] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.602004] [DISP] disp_device_attached_and_enable,line:234:[  305.608156] L2 PageTable Invalid
          [  305.608159] 0x48980000 is not mapped!
          [  305.608163] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.622379] L2 PageTable Invalid
          [  305.622384] 0x48980000 is not mapped!
          [  305.622388] DE invalid address: 0x48980000, data:0x0, id:0x4
          
          [  305.636984] attached ok, mgr0<-->dev0
          [  305.641301] L2 PageTable Invalid
          [  305.641304] 0x48980000 is not mapped!
          [  305.641308] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.655473] [DISP] disp_device_attached_and_enable,line:247:[  305.661638] L2 PageTable Invalid
          [  305.661641] 0x48980000 is not mapped!
          [  305.661645] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.675837] L2 PageTable Invalid
          [  305.675840] 0x48980000 is not mapped!
          [  305.675844] DE invalid address: 0x48980000, data:0x0, id:0x4
          
          [  305.690077] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
          [  305.690281] L2 PageTable Invalid
          [  305.690284] 0x48980000 is not mapped!
          [  305.690287] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.707432] L2 PageTable Invalid
          [  305.707435] 0x48980000 is not mapped!
          [  305.707438] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.728026] L2 PageTable Invalid
          [  305.728030] 0x48980000 is not mapped!
          [  305.728035] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.742213] L2 PageTable Invalid
          [  305.742216] 0x48980000 is not mapped!
          [  305.742220] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.758622] L2 PageTable Invalid
          [  305.762236] 0x48980000 is not mapped!
          [  305.766337] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  305.775720] L2 PageTable Invalid
          [  305.779335] 0x48980000 is not mapped!
          [  305.783434] DE invalid address: 0x48980000, data:0x0, id:0x4
          I0101 18:54:51.206567  1180 samp[  305.792822] L2 PageTable Invalid
          [  305.796535] 0x48980000 is not mapped!
          [  305.800636] DE invalid address: 0x48980000, data:0x0, id:0x4
          le_smartPreview_demo.c:303]                                 <CreateVIPP2VOLink> Vipp d[  305.809919] L2 PageTable Invalid
          [  305.816171] 0x48980000 is not mapped!
          [  305.820271] DE invalid address: 0x48980000, data:0x0, id:0x4
          ev[0] vir_chn[0]
          [ISP]video dev[  305.827015] L2 PageTable Invalid
          [  305.833035] 0x48980000 is not mapped!
          [  305.837135] DE invalid address: 0x48980000, data:0x0, id:0x4
          ice name is vin_video0
          [ISP]ope[  305.844115] L2 PageTable Invalid
          [  305.849895] 0x48980000 is not mapped!
          [  305.853995] DE invalid address: 0x48980000, data:0x0, id:0x4
          n video device[0], detect isp0 s[  305.861211] L2 PageTable Invalid
          [  305.866752] 0x48980000 is not mapped!
          [  305.870852] DE invalid address: 0x48980000, data:0x0, id:0x4
          uccess!
          I0101 18:54:51.206982  [  305.878308] L2 PageTable Invalid
          [  305.883615] 0x48980000 is not mapped!
          [  305.887715] DE invalid address: 0x48980000, data:0x0, id:0x4
          [60[  305.895407] L2 PageTable Invalid
          [  305.900471] 0x48980000 is not mapped!
          [  305.904571] DE invalid address: 0x48980000, data:0x0, id:0x4
          C<getDictByConfPath> MPP_DEDIA_D[  305.912505] L2 PageTable Invalid
          [  305.917326] 0x48980000 is not mapped!
          [  305.921426] DE invalid address: 0x48980000, data:0x0, id:0x4
          EBUG_FILE_PATH=(null)
          I0101 18:[  305.929602] L2 PageTable Invalid
          [  305.934180] 0x48980000 is not mapped!
          [  305.938280] DE invalid address: 0x48980000, data:0x0, id:0x4
          54:51.207546  1180 videoInputHw.[  305.946701] L2 PageTable Invalid
          [  305.951029] 0x48980000 is not mapped!
          [  305.955129] DE invalid address: 0x48980000, data:0x0, id:0x4
          c:942]                                                      <videoInputHw_S[  305.963799] L2 PageTable Invalid
          [  305.967885] 0x48980000 is not mapped!
          [  305.971985] DE invalid address: 0x48980000, data:0x0, id:0x4
          etChnAttr> ViCh[0] update width:[  305.980897] L2 PageTable Invalid
          [  305.984736] 0x48980000 is not mapped!
          [  305.988837] DE invalid address: 0x48980000, data:0x0, id:0x4
          360(368), height:640(640)
          [  305.997994] L2 PageTable Invalid
          [  306.001611] 0x48980000 is not mapped!
          [  306.005711] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.015092] L2 PageTable Invalid
          [  306.018707] 0x48980000 is not mapped!
          [  306.022807] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.032190] L2 PageTable Invalid
          [  306.035805] 0x48980000 is not mapped!
          [  306.039904] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.049288] L2 PageTable Invalid
          [  306.052903] 0x48980000 is not mapped!
          [  306.057003] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.066386] L2 PageTable Invalid
          [  306.070000] 0x48980000 is not mapped!
          [  306.074100] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.083483] L2 PageTable Invalid
          [  306.087097] 0x48980000 is not mapped!
          [  306.091197] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.100583] L2 PageTable Invalid
          [  306.104199] 0x48980000 is not mapped!
          [  306.108299] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.117680] L2 PageTable Invalid
          [  306.121295] 0x48980000 is not mapped!
          [  306.125394] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.134778] L2 PageTable Invalid
          [  306.138394] 0x48980000 is not mapped!
          [  306.142493] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.151877] L2 PageTable Invalid
          [  306.155493] 0x48980000 is not mapped!
          [  306.159593] DE invalid address: 0x48980000, data:0x0, id:0x4
          [ISP]video0 fd[10] ve_online_en=[  306.166597] [VIN]ve_online close
          0, dma_buf_num=0
          [  306.172982] L2 PageTable Invalid
          [  306.172986] 0x48980000 is not mapped!
          [  306.172990] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.188699] L2 PageTable Invalid
          [  306.188703] 0x48980000 is not mapped!
          [  306.188707] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.203175] L2 PageTable Invalid
          [  306.206792] 0x48980000 is not mapped!
          [  306.210893] DE invalid address: 0x48980000, data:0x0, id:0x4
          [ISP]open isp device[0[  306.220275] L2 PageTable Invalid
          [  306.225574] 0x48980000 is not mapped!
          [  306.229674] DE invalid address: 0x48980000, data:0x0, id:0x4
          ] success!
          [ISP]get isp_ctx from /mnt/extsd[  306.237375] L2 PageTable Invalid
          [  306.243500] 0x48980000 is not mapped!
          [  306.247602] DE invalid address: 0x48980000, data:0x0, id:0x4
          /isp0_1920_1088_20_ctx_saved.bin[  306.254475] L2 PageTable Invalid
          [  306.260393] 0x48980000 is not mapped!
          [  306.264494] DE invalid address: 0x48980000, data:0x0, id:0x4
           success!!!
          [ISP]prefer isp con[  306.271570] L2 PageTable Invalid
          [  306.277282] 0x48980000 is not mapped!
          [  306.281382] DE invalid address: 0x48980000, data:0x0, id:0x4
          fig: [gc2053_mipi], 1920x1088, 2[  306.288666] L2 PageTable Invalid
          [  306.294161] 0x48980000 is not mapped!
          [  306.298262] DE invalid address: 0x48980000, data:0x0, id:0x4
          0, 0, 0
          [ISP]find gc2053_mipi_1[  306.305766] L2 PageTable Invalid
          [  306.311042] 0x48980000 is not mapped!
          [  306.315143] DE invalid address: 0x48980000, data:0x0, id:0x4
          920_1088_20_0 [gc2053_mipi_isp60[  306.322865] L2 PageTable Invalid
          [  306.327927] 0x48980000 is not mapped!
          [  306.332028] DE invalid address: 0x48980000, data:0x0, id:0x4
          0_20220511_164617_vlc4_day] isp [  306.339961] L2 PageTable Invalid
          [  306.344815] 0x48980000 is not mapped!
          [  306.348916] DE invalid address: 0x48980000, data:0x0, id:0x4
          config
          [  306.357060] L2 PageTable Invalid
          [  306.360683] 0x48980000 is not mapped!
          [  306.364784] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.374158] L2 PageTable Invalid
          [  306.377783] 0x48980000 is not mapped!
          [  306.381884] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.391256] L2 PageTable Invalid
          [  306.394881] 0x48980000 is not mapped!
          [  306.398982] DE invalid address: 0x48980000, data:0x0, id:0x4
          [  306.408353] L2 PageTable Invalid
          [  306.411978] 0x48980000 is not mapped!
          [  306.416078] DE invalid address: 0x48980000, data:0x0, id:0x4
          [ISP]create isp0[  306.425462] L2 PageTable Invalid
          [  306.430443] 0x48980000 is not mapped!
          [  306.434546] DE invalid address: 0x48980000, data:0x0, id:0x4
           server thread!
          I0101 18:54:51.858032  1180 mp[  306.442549] L2 PageTable Invalid
          [  306.448796] 0x48980000 is not mapped!
          [  306.452897] DE invalid address: 0x48980000, data:0x0, id:0x4
          i_vi.c:1018]                                                <AW_MPI_V[  306.459647] L2 PageTable Invalid
          [  306.465681] 0x48980000 is not mapped!
          [  306.469781] DE invalid address: 0x48980000, data:0x0, id:0x4
          

          75b93752-c9c6-4ad3-8acf-f8dd9cd5f7dc-image.png
          有如上报错,不知道有没有大佬遇到过

          N 1 Reply Last reply Reply Quote Share 0
          • N
            NULL037 LV 7 @NULL037 last edited by

            @null037 通过GDB调试发现程序在程序调用video8读取图像数据时报错。
            d2005d5b-019c-4623-b634-9f1eb812866d-image.png
            源码:
            a9fb73d2-4b52-44e7-8c78-e2c1d698516a-image.png

            video0是正常的,通过camerademo测试video0是正常的,但目前看来video8获取数据时不正常,请问各位大佬知道这是什么原因导致的嘛?

            N 1 Reply Last reply Reply Quote Share 0
            • N
              NULL037 LV 7 @NULL037 last edited by

              @null037 通过camerademo测试video8节点可以正常获取图像数据。
              5862739b-1eaf-49ba-8b89-31dfdb985877-image.png
              测试其他线程发现,不止是video8不能获取到数据,video0也是一样
              8e54f75d-5e80-4796-bbf5-65357d4d48e9-image.png

              N 1 Reply Last reply Reply Quote Share 0
              • N
                NULL037 LV 7 @NULL037 last edited by

                @null037 排查了一下发现可能是ISP配置出现的问题,但目前无法知道问题点在那里

                root@TinaLinux:~# ./sample_smartPreview_demo -path ./sample_smartPreview_demo.co
                nf 
                WARNING: Logging before InitGoogleLogging() is written to STDERR
                I0102 07:40:27.395318  1665 sample_smartPreview_demo.c:639] <main> sample_smartPreview_demo running!
                I0102 07:40:27.395606  1665 sample_smartPreview_demo.c:50]  <ParseCmdLine> sample_virvi2vo path:[./sample_smartPreview_demo], arg number is [3]
                I0102 07:40:27.396445  1665 confparser.c:60]                <createConfParser> load conf file ./sample_smartPreview_demo.conf ok!
                I0102 07:40:27.396689  1665 sample_smartPreview_demo.c:215] <loadSampleConfig> vipp[0]: captureSize[360x640][ 8035.399861] [DISP] de_fcm_set_para,line:491:, displayArea[0,0,480x800]
                I010
                [ 8035.406568] fcm lut 0 not find, auto retry after init
                2 07:40:27.396777  1665 sample_s[ 8035.415074] [DISP] de_fcm_set_para,line:491:martPreview_demo.c:215] 
                                                                            <loadSampleConfig> vipp[1]: ca[ 8035.422524] fcm lut 0 not find, auto retry after init
                ptureSize[1920x1080], displayAre[ 8035.434033] [DISP] lcd_clk_config,line:702:a[0,0,480x800]
                I0102 07:40:27.3
                96842  1665 sample_smartPreview_[ 8035.441209] disp 0, clk: pll(150000000),clk(150000000),dclk(25000000) dsi_rate(25000000)
                [ 8035.441209]      clk real:pll(288000000),clk(288000000),dclk(72000000) dsi_rate(150000000)
                demo.c:217]                                                 <loadSampl[ 8035.465520] lcd_open_flow 
                eConfig> dispSync[1], dispType[6[ 8035.471085] lcd_power_on 
                4], frameRate[20], testDuration[[ 8035.477249] [DISP] disp_sys_gpio_set_value,line:416:0]
                I0102 07:40:27.396989  1665 
                mpi_sys.c:842]                                              <AW_MPI[ 8035.484965] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
                _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
                I0102 07:40:27.399916  1665 mpi_sys.c:1455]                 <AW_MPI_SYS_Init> ISP init
                [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<<
                IPCORE: ISP600
                branch: libisp-dev
                commit: c3bfa4e23fb037123e65a04eaaa39f7876cfe1a6
                date  : Mon Apr 10 10:37:15 2023 +0800
                author: <zhenghanjie@allwinnertech.com>
                --------------------------------------[ 8035.555261] [DISP] disp_sys_gpio_set_value,line:416:------------------
                
                I0102 07:4
                0:27.400496  1665 mpi_sys.c:1457[ 8035.563079] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
                ]                                                           <AW_MPI_SYS_Init> ISP init done
                I0102 07:40:27.400827  1665 hwdisplay.c:84]                 <hw_display_init> 
                I0102 07:[ 8035.585194] [DISP] disp_sys_gpio_set_value,line:416:40:27.400958  1665 hwdisplay.c:9
                [ 8035.591127] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
                93]                                                         <hwd_init> (hwd_init 993)
                I0102 07:40:27.401121  1665 hwdisplay.c:1048]               <hwd_init> ret[0][2,0]ch[2]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, value:0]
                I0102 07:40:27.420312  1665 audio_hw.c:228]                 <MakeAllMixerElemsAvailable> pcm open and close, all MixerElems maybe exist.
                I0102 07:40:27.420507  1665 alsa_interface.c:707]           <alsaOpenMixer> open mixer:hw:0
                I0102 07:40:27.421910  1665 alsa_interface.c:762]           <alsaOpenMixer> set playback vol_val to value: 27
                I0102 07:40:27.422063  1665 alsa_interface.c:707]           <alsaOpenMixer> open mixer:hw:1
                I0102 07:40:27.422809  1665 hwdisplay.c:1248]               <hwd_get_disp_type> Current the  disp_type:0x0  tv_mode:0x0
                I0102 07:40:27.423085  1666 mpi_sys.c:1073]                 <MonitorEnvVarThread> detect user environment:
                I0102 07:40:27.423255  1666 mpi_sys.c:1074]                 <MonitorEnvVarThread> /tmp/mpp_log_level
                I0102 07:40:27.423341  1666 mpi_sys.c:1075]                 <MonitorEnvVarThread> /tmp/mpp_venc_sei_config_param
                I0102 07:40:27.443140  1665 mpi_vo.c:837]                   <AW_MPI_VO_SetPubAttr> vo interface changed, [0x0, 0x1]->[0x40, 0x1]
                I0102 07:40:27.443285  1665 hwdisplay.c:1486]               <hwd_switch_vo_device> Current the  disp_type:0x0  tv_mode:0x0
                [ 8035.725209] lcd_panel_init 
                [ 8036.295196] lcd_bl_open 
                [ 8036.298271] [DISP] disp_device_attached_and_enable,line:234:
                [ 8036.304439] attached ok, mgr0<-->dev0
                [ 8036.308864] [DISP] disp_device_attached_and_enable,line:247:
                [ 8036.315013] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
                I0102 07:40:28.398537  1665 sample_smartPreview_demo.c:303] <CreateVIPP2VOLink> Vipp dev[0] vir_chn[0]
                [ISP]video device name is vin_video0
                [ISP]open video device[0], detect isp0 success!
                [ISP]video_set_isp_bk_buffer_align yuv_align_en = 1, lbc_align_en = 0
                [ISP_ERR]video_set_isp_bk_buffer_align, line: 1039,video0 video_set_isp_bk_buffer_align failed!!!
                [ISP_ERR]video_set_isp_bk_buffer_align, line: 1040,video_set_isp_bk_buffer_align yuv_align_en = 1, lbc_align_en = 0
                I0102 07:40:28.399546  1665 videoInputHw.c:956]             <videoInputHw_SetChnAttr> vipp[0] yuv format, width 360 is not 16 aligned, set bk width stride en 1
                [ISP]video_set_isp_bk_width_stride stride_en = 1
                [ISP_ERR]video_set_isp_bk_width_stride, line: 1054,video0 video_set_isp_bk_width_stride failed!!!
                [ISP]video0 fd[9] ve_online_en=0[ 8036.608020] [VIN]ve_online close
                , dma_buf_num=0
                [ISP]open isp device[0] success!
                [ISP_ERR]isp_sensor_get_configs, line: 825,gc2053_mipi get config failed: Invalid argument (22).
                [ISP_WARN]open /mnt/extsd/isp0_0_0_0_0_ctx_saved.bin failed, err:No such file or directory.
                [ISP]prefer isp config: [gc2053_mipi], 0x0, 0, 0, 0
                [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]
                [ISP_ERR]isp_ctx_conf[ 8036.653535] [DISP] de_fcm_set_para,line:491:ig_init, line: 2368,sensor attri
                bute is not init.
                [ISP]create i[ 8036.660072] fcm lut 0 not find, auto retry after init
                sp0 server thread!
                I0102 07:40:28.665171  1665 mpi_vi.c:1209]                  <AW_MPI_VI_CreateVirChn> we allow to create virChn[0] in disable status of vipp[0]
                [ISP_ERR]isp_sensor_get_configs, line: 825,gc2053_mipi get config failed: Invalid argument (22).
                W0102 07:40:28.665654  1665 videoInputHw.c:1193]            <videoInputHw_ChnEnable> fatal error! Get isp[0] sensor information failed! must be called AW_MPI_ISP_Run before AW_MPI_VI_EnableVipp.
                I0102 07:40:28.696958  1665 hwdisplay.c:1121]               <hwd_layer_request_hlay> hlay:0, zorde[ 8036.718063] npu[681][681] vipcore, device init..
                r=0, cnt:2
                I0102 07:40:28.70356[ 8036.723623] set_vip_power_clk ON
                4  1669 videoInputHw.c:5637] [6[ 8036.732157] enter aw vip mem alloc size 3887457
                0D                                                            <VideoInputHw_CapThread> [ 8036.738326] aw_vip_mem_alloc vir 0xe2c00000, phy 0x48d00000
                loop VideoInputHw_CapThread vipp[ 8036.746933] npu[681][681] gckvip_drv_init  kernel logical phy address=0x48d00000  virtual =0xe2c00000
                _id = 0, buf_num=5.
                I0102 07:40:28.715012  1665 mpi_vo.c:1038]                  <AW_MPI_VO_SetVideoLayerAttr> ch[0]lyl[0]:dispRect changed, [0, 0, 320x240]->[0, 0, 480x800]
                I0102 07:40:28.715140  1665 hwdisplay.c:409]                <hwd_layer_set_rect> ch[0]lyl[0]: screen_win[0,0, 480x800]
                I0102 07:40:28.715488  1665 sample_smartPreview_demo.c:398] <CreateVIPP2VOLink> create vo channel[0] success!
                I0102 07:40:28.715746  1665 sample_smartPreview_demo.c:303] <CreateVIPP2VOLink> Vipp dev[1] vir_chn[0]
                [ISP]video device name is vin_video1
                [ISP_ERR]video_init, line: 110,can not get entity by name vin_video1
                [ISP_ERR]isp_video_open, line: 477,error: unable to initialize video device.
                [ISP_ERR]isp_video_open, line: 496,unable to open video device[1]!
                E0102 07:40:28.716028  1665 videoInputHw.c:638]             <videoInputHw_ChnInit> error: isp video can not open, chn[1]!
                E0102 07:40:28.716126  1665 mpi_vi.c:170]                   <AW_MPI_VI_CreateVipp> initialize video input hardware failed!!
                E0102 07:40:28.716226  1665 sample_smartPreview_demo.c:307] <CreateVIPP2VOLink> fatal error! AW_MPI_VI CreateVipp:1 failed
                I0102 07:40:28.760831  1665 aiservice_detect.c:647]         <aw_service_start> face nbinfo d��� 5c4c99417ae14442a223eb20170cc04d 480 480 3887457 0.000000
                I0102 07:40:28.760988  1665 aiservice_detect.c:654]         <aw_service_start> human src_width:0, src_height:0, face src_width:480, src_height:270
                I0102 07:40:28.761092  1665 aiservice_detect.c:575]         <get_debug_env> ai_det_fps_print:0
                I0102 07:40:28.761159  1665 aiservice_detect.c:588]         <get_debug_env> ai_det_result_print:0
                I0102 07:40:28.761222  1665 aiservice_detect.c:601]         <get_debug_env> ai_det_runtime_print:0
                Version: AWNN_LIB_1.0.3
                [0xb6f9c560]vip_init[104], 
                [ 8036.918672] [DISP] de_fcm_set_para,line:491:1
                                                               VIPLite driver version=0x000108
                [ 8036.925675] fcm lut 0 not find, auto retry after init
                00...
                I0102 07:40:28.805987  1665 aiservice_detect.c:698]         <aw_service_start> awnn_init cost 44ms
                I0102 07:40:28.806128  1665 aiservice_detect.c:699]         <aw_service_start> total mem_size=3887457, human model=(null), face model=face.nb
                [ISP]video device name is vin_video8
                [ISP]open video device[8], detect isp0 success!
                I0102 07:40:28.806445  1665 videoInputHw.c:1050]            <videoInputHw_SetChnAttr> ViCh[8], user set disable Encpp
                [ISP_ERR]isp_stat_process_buffer, line: 271,AEWB: stats error, skipping buffer.
                [ISP_ERR]isp_sensor_get_configs, line: 825,gc2053_mipi get config failed: Invalid argument (22).
                I0102 07:40:28.961393  1670 video_render_linux.cpp:224]     <vr4l_init> mDisplayFormat[0x11], new CedarXNativeRenderer
                W0102 07:40:28.961546  1670 CedarXNativeRenderer.cpp:157]   <CedarXNativeRenderer> bufWidth[368]!=display_width[360]
                I0102 07:40:28.961631  1670 CedarXNativeRenderer.cpp:176]   <CedarXNativeRenderer> hwc disp fmt[0x63], color space:260
                I0102 07:40:28.961725  1670 hwdisplay.c:240]                <hwd_layer_set_src> x: 0, y: 0, width: 0x168, height: 0x280
                I0102 07:40:28.961795  1670 hwdisplay.c:247]                <hwd_layer_set_src> width: 0x16800000000, height: 0x28000000000
                I0102 07:40:28.961864  1670 hwdisplay.c:367]                <hwd_layer_set_src> set fb.format 99 77, color_space 260 end, size0[368x640], size1[184x320]
                I0102 07:40:28.961962  1670 sample_smartPreview_demo.c:254] <MPPCallbackWrapper> VO callback: VO Layer[0] chn[0] event:257
                I0102 07:40:28.962034  1670 sample_smartPreview_demo.c:266] <MPPCallbackWrapper> vo layer[0] report video display size[360x640]
                I0102 07:40:28.962111  1670 VideoRender_Component.c:2318]   <VideoRender_ComponentThread> init video_render, param: displayRect[0,0][360x640], bufSize[368x640], vdecColorFormat[0x5]
                I0102 07:40:28.962174  1670 mpi_vo.c:508]                   <VideoRenderEventHandler> KeyFrameDecoded, pts[8036772204]us
                I0102 07:40:28.977872  1670 sample_smartPreview_demo.c:254] <MPPCallbackWrapper> VO callback: VO Layer[0] chn[0] event:258
                I0102 07:40:28.978004  1670 sample_smartPreview_demo.c:271] <MPPCallbackWrapper> vo layer[0] report rendering start
                [ 8037.141055] npu[681][683] gckvip_drv_exit, aw_vip_mem_free
                [ 8037.147284] aw_vip_mem_free vir 0xe2c00000, phy 0x48d00000
                [ 8037.153500] aw_vip_mem_free dma_unmap_sg_atrs
                [ 8037.158496] aw_vip_mem_free ion_unmap_kernel
                [ 8037.163506] aw_vip_mem_free ion_free
                [ 8037.167782] aw_vip_mem_free ion_client_destroy
                [ 8037.172812] npu[681][683] vipcore, device un-init..
                [ 8037.197621] [DISP] disp_mgr_set_layer_config,line:1504:
                [ 8037.203396] NULL hdl!
                [ 8037.235199] lcd_close_flow 
                [ 8037.238332] lcd_bl_close 
                [ 8037.241449] lcd_panel_exit 
                [ 8037.405193] lcd_power_off 
                [ 8037.408276] [DISP] disp_sys_gpio_set_value,line:416:
                [ 8037.413640] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
                [ 8037.575612] [DISP] de_fcm_set_para,line:491:
                [ 8037.580205] fcm lut 0 not find, auto retry after init
                [ 8037.586335] [DISP] de_fcm_set_para,line:491:
                [ 8037.590925] fcm lut 0 not find, auto retry after init
                Arithmetic exception (core dumped)
                
                1 Reply Last reply Reply Quote Share 0
                • 1 / 1
                • First post
                  Last post

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

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