<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[npu无法awnn_det_demo 错误，能回答？]]></title><description><![CDATA[<p dir="auto">root@(none):/usr/bin/det_demo# ./awnn_det_demo testcase.txt<br />
info: models/pdet/1.0.1_Gamma.nb, 1, 0.250000, 1<br />
input:body_640x360.nv12, 640, 360<br />
info: models/pdet/3.0.1_Beta.nb, 3, 0.250000, 1<br />
input:body_384x216.nv12, 384, 216<br />
info: models/fdet/Facedet_480_288_nv12.nb, 4, 0.600000, 1<br />
input:face_480x270.nv12, 480, 270<br />
count=3<br />
=====info  05dc32ee903c08a3abd53ddd829a8dd5 640 384 10061394 0.000000<br />
=====info  827b3a725d0fd7173338a56fd06c8db0 384 224 2829624 0.000000<br />
=====info  3d42fcd47490a62d52ea0[48198.853183] npu[37e][37e] drv open process pid=37e, tid=37e<br />
21760ddc7d6 480 288 3639619 0.00[48198.861633] ------lq KERNEL_CMD_INIT0000<br />
mem_size: 16530637<br />
Versio---lq vpmdENABLE_MULTIPLE_TASK=1  context-&gt;initialize=0<br />
n: AWNN_LIB_1.0.4</p>
<p dir="auto">[48198.876741] npu[37e][37e] start create initialize mutex ...<br />
[48198.884839] npu[37e][37e] linux kernel version=0x409bf<br />
[48198.890644] npu[37e][37e] power on vip hardware0.<br />
[48198.895936] npu[37e][37e] vipcore, device init..<br />
[48198.901230] set_vip_power_clk ON<br />
[48198.906894] enter aw vip mem alloc size 16530637 vip_heap<br />
[48198.970477] aw_vip_mem_alloc vir 0xc50a6000, phy 0x48400000<br />
[48198.976796] npu[37e][37e] gckvip_drv_init  kernel logical phy address=0x48400000  virtual =0xc50a6000<br />
[48198.987190] npu[37e][37e] VIPLite driver software version 1.13.0.0-AW-2023-08-21<br />
[48198.995504] npu[37e][37e] vpmdENABLE_RECOVERY=0<br />
[48199.000696] npu[37e][37e] vpmdHARDWARE_TIMEOUT=20000<br />
[48199.006284] npu[37e][37e] vpmdENABLE_HANG_DUMP=2<br />
[48199.011498] npu[37e][37e] vpmdENABLE_USE_AGENT_TRIGGER=0<br />
[48199.017484] npu[37e][37e] vpmdENABLE_CAPTURE=0<br />
[48199.022479] npu[37e][37e] vpmdENABLE_CAPTURE_IN_KERNEL=0<br />
[48199.028463] npu[37e][37e] vpmdCREATE_NETWORK_FROM_FLASH=0<br />
[48199.034533] npu[37e][37e] vpmdENABLE_WAIT_LINK_LOOP=0<br />
[48199.040226] npu[37e][37e] vpmdENABLE_FLUSH_CPU_CACHE=1, LINE_SIZE=64<br />
[48199.047428] npu[37e][37e] vpmdENABLE_VIDEO_MEMORY_CACHE=0<br />
[48199.053501] npu[37e][37e] vpmdENABLE_LAYER_DUMP=0<br />
[48199.058817] npu[37e][37e] vpmdENABLE_CNN_PROFILING=0<br />
[48199.064400] npu[37e][37e] vpmdENABLE_BW_PROFILING=0<br />
[48199.069900] npu[37e][37e] vpmdENABLE_MEMORY_PROFILING=0<br />
[48199.075773] npu[37e][37e] vpmdENABLE_DEBUG_LOG=4<br />
[48199.080977] npu[37e][37e] vpmdENABLE_SUPPORT_CPU_LAYER=1<br />
[48199.086962] npu[37e][37e] vpmdENABLE_SYS_MEMORY_HEAP=1<br />
[48199.092739] npu[37e][37e] vpmdENABLE_VIDEO_MEMORY_HEAP=1<br />
[48199.098767] npu[37e][37e] vpmdENABLE_MMU=0<br />
[48199.103376] npu[37e][37e] vpmdPOWER_OFF_TIMEOUT=10000<br />
[48199.109071] npu[37e][37e] vpmdENABLE_SUSPEND_RESUME=1<br />
[48199.114751] npu[37e][37e] vpmdENABLE_USER_CONTROL_POWER=0<br />
[48199.120834] npu[37e][37e] vpmdENABLE_CANCELATION=1<br />
[48199.126222] npu[37e][37e] vpmdENABLE_DEBUGFS=1<br />
[48199.131229] npu[37e][37e] vpmdENABLE_CREATE_BUF_FD=1<br />
[48199.136822] npu[37e][37e] vpmdENABLE_GROUP_MODE=1<br />
[48199.142109] npu[37e][37e] vpmdENABLE_NODE=0<br />
[48199.146864] npu[37e][37e] vpmdENABLE_CHANGE_PPU_PARAM=1<br />
[48199.152741] npu[37e][37e] vpmdENABLE_FUNC_TRACE=0<br />
[48199.158047] npu[37e][37e] vpmdENABLE_REDUCE_MEMORY=0<br />
[48199.163629] npu[37e][37e] vpmdENABLE_RESERVE_PHYSICAL=0<br />
[48199.169516] npu[37e][37e] vpmdENABLE_POWER_MANAGEMENT=1<br />
[48199.175391] npu[37e][37e] vpmdENABLE_CLOCK_SUSPEND=1<br />
[48199.180985] npu[37e][37e] vpmdDUMP_NBG_RESOURCE=0<br />
[48199.186273] npu[37e][37e] vpmdENABLE_POLLING=0<br />
[48199.191303] npu[37e][37e] hashmap 0xc0a74e74: insert index=1, handle=0x0000037e<br />
[48199.199590] npu[37e][37e] axi sram address=0x00000000, vipsram address=0x00400000<br />
[48199.208028] npu[37e][37e] core 0 axi sram size=0x00000000, vip sram size=0x20000<br />
[48199.216347] npu[37e][37e] max_core_count=0, total core count=1, total device=1<br />
[48199.224508] npu[37e][37e] device_id=0, this device core count=1, core_fscale_percent=-1053044736<br />
[48199.234396] npu[37e][37e]   core_id=0<br />
[48199.238533] npu[37e][37e] queue create read signal=0xc13bd240<br />
[48199.244995] npu[37e][37e] queue create write signal=0xc13bd280<br />
[48199.251766] npu[37e][37e] device0, mt_hashmap=0xc3968074<br />
[48199.257790] npu[384][384] multi-thread dev0 process thread start<br />
[48199.264632] npu[37e][37e] multi-task is enabled...<br />
[48199.270255] npu[37e][37e] power management is enabled ...<br />
[48199.276350] npu[37e][37e] video memory heap base physical=0x48400000, user logical=0x  (null), kernel logical=0xc50a6000, size=0xfc3ccd bytes<br />
[48199.290755] npu[37e][37e] video memory heap total free: 0xfbee0d bytes, node used: 0x4ec0 bytes, node capacity: 1008<br />
[48199.302715] npu[37e][37e] video memory heap capability=0xe7b<br />
[48199.309110] npu[37e][37e] video memory alloc_flag=0x611, align=0x40, size=0x280<br />
[48199.317368] npu[37e][37e] video memory heap_alloc, physical=0x48400000, virtual=0x48400000, kernel logical=0xc50a6000, user logical=0x  (null), handle=0xc2646b80, size=0x280, align=0x40, allo_flag=0x611<br />
[48199.337614] npu[37e][37e] init register capture done<br />
[48199.343203] npu[37e][37e] ver1=0x9000, ver2=0x8303, cid=0x00ee, date=0x20210128<br />
[48199.352017] npu[37e][37e] start prepare init commands<br />
[48199.357722] npu[37e][37e] video memory alloc_flag=0x641, align=0x40, size=0x100<br />
[48199.365956] npu[37e][37e] video memory heap_alloc, physical=0x48401000, virtual=0x48401000, kernel logical=0xc50a7000, user logical=0x00001000, handle=0xc2646080, size=0x100, align=0x40, allo_flag=0x641<br />
[48199.386208] npu[37e][37e] database convert from first_free_pos=0x2 handle=0xc2646080 to id=0x15000001, pid=37e<br />
[48199.397518] npu[37e][37e] hardware initialize core0..<br />
[48199.403214] npu[37e][37e]    MMU is disabled<br />
[48199.408048] npu[37e][37e] submit initialize commands size=0xa0, hand=0xc2646080<br />
[48199.416286] npu[37e][37e] dev0 wait mem_handle=0xc2646080 start<br />
[48199.422963] npu[37e][37e] irq check try count=0, wait irq value=0x10<br />
[48199.430127] npu[37e][37e] HASHMAP 0xc0a77418 GET BY HANDLE: handle 0xc2646080 not exist in hashmap<br />
[48199.440216] npu[37e][37e] end profiling can't find handle=0xc2646080<br />
[48199.447428] npu[37e][37e] dev0 wait mem_handle=0xc2646080 done<br />
[48199.453991] npu[37e][37e] initialize commands done<br />
[48199.459398] npu[37e][37e] hardware initialize done core_count=1<br />
[48199.466058] npu[37e][37e] VIP Frequency:<br />
[48199.470490] npu[37e][37e] set hardware frequency fscale=64, percent=100<br />
[48199.527988] npu[37e][37e] core[0]   Core Frequency=347992554 HZ<br />
[48199.534648] npu[37e][37e] core[0]   PPU  Frequency=347996212 HZ<br />
[48199.541328] npu[37e][37e] hardware clock suspend.<br />
[48199.546686] npu[37e][37e] query hw0 idle, wait time=10ms, fast=1, reg=0x7fffffff, is_idle=Y<br />
[48199.556088] npu[37e][37e] do init done initialize num=1 pid=0x37e.<br />
[48199.563090] npu[37e][37e] --lq -&gt; drv release process pid=37e, tid=37e<br />
[48199.630482] npu[37e][37e] start to destroy resource, pid=37e, tid=37e<br />
[48199.637754] npu[37e][37e] hashmap 0xc0a74e74: remove index=1, handle=0x0000037e<br />
[48199.645978] npu[37e][37e] start to destroy vip pid=0x37e..<br />
[48199.652217] npu[384][384] multi-task thread exit<br />
[48199.657442] npu[37e][37e] free video memory handle=0xc2646080<br />
[48199.657468] npu[385][385] power management thread wake up.<br />
[48199.657474] npu[385][385] power manage thread not running, exit thread after wait signal<br />
[48199.657478] npu[385][385] power management thread exit<br />
[48199.657537] npu[37e][37e] free video memory handle=0xc2646b80<br />
[48199.657550] npu[37e][37e] video memory heap destroy....<br />
[48199.657567] npu[37e][37e] power management uninit done<br />
[48199.703541] npu[37e][37e] gckvip_drv_exit, aw_vip_mem_free<br />
[48199.709814] aw_vip_mem_free vir 0xc50a6000, phy 0x48400000<br />
[48199.719837] npu[37e][37e] power off vip hardware0.<br />
[48199.725243] npu[37e][37e] vipcore, device un-init..<br />
[48199.730847] npu[37e][37e] destroy initialize mutex<br />
[48199.736254] npu[37e][37e] end to destroy vip..<br />
[0xb6f2e560]gcvip_os_init[125], fail to mmap device vipcore, video memory size: 0xfc3ccd<br />
[0xb6f2e560]gcvip_user_init[347], fail to initialize OS, status=-2.<br />
[0xb6f2e560]gcvip_init[4216], failed to user init<br />
E viplite init failed!<br />
---------lq wait 20s memsize: 16530637<br />
[0xb6f2e560]gcvip_os_call_kernel[332], failed os is NULL, command: CMD_DESTROY<br />
[0xb6f2e560]gcvip_user_destroy[419], fail to call kernel cmd destroy<br />
[0xb6f2e560]gcvip_os_uninit[164], failed os is NULL in uninit<br />
[0xb6f2e560]gcvip_destroy[4303], failed to user destroy<br />
E viplite uninit failed!</p>
]]></description><link>https://bbs.aw-ol.com/topic/5508/npu无法awnn_det_demo-错误-能回答</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 14:15:38 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/5508.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Jun 2024 12:03:25 GMT</pubDate><ttl>60</ttl></channel></rss>