一、问题现象(附报错日志上下文):
Atlas200i soc A1运行程序,使用媒体处理V1
系统驱动:24.1.RC2
系统固件:7.3.0.1.231
系统MCU:24.2.1
系统CANN:8.0.RC2
操作系统:OpenEuler22.03 LTS-SP3

aclvdecCreateChannel失败(507018),导致acllite中报错如下:
[ERROR] fail to create vdec channel
[ERROR] Create vdec channel failed
[ERROR] Dvpp vdec init failed
[ERROR] Open 1-208.mp4 failed for init vdec error: 610
[ERROR] Read failed for decode 1-208.mp4 failed

二、软件版本:
-- CANN 版本 (e.g., CANN 3.0.x,5.x.x): 8.0.RC2
--Tensorflow/Pytorch/MindSpore 版本: 无
--Python 版本 (e.g., Python 3.7.5): 3.9.9
-- MindStudio版本 (e.g., MindStudio 2.0.0 (beta3)): 无
--操作系统版本 (e.g., Ubuntu 18.04): OpenEuler22.03 LTS-SP3
三、测试步骤:
程序使用了Acllite进行视频解码,之前在Atlas300i Duo\Atlas200i DK A2等设备上测试均无问题;
此次在Atlas200i soc A1设备上部署相同的软件环境,编译相同的程序,编译可以通过,但是运行时报错:
[ERROR] fail to create vdec channel
[ERROR] Create vdec channel failed
[ERROR] Dvpp vdec init failed
[ERROR] Open 1-208.mp4 failed for init vdec error: 610
[ERROR] Read failed for decode 1-208.mp4 failed
增加打印似乎是aclvdecCreateChannel导致的,返回值507018
进一步尝试使用docker的ubuntu18.04镜像(根据官方文档兼容性要求)
在ubuntu18.04镜像下配置环境
系统驱动:24.1.RC2
系统固件:7.3.0.1.231
系统MCU:24.2.1
系统CANN:8.0.RC2
操作系统:18.04.6 LTS in Docker
编译程序,调用acllite VdecHelper::CreateVdecChannelDesc运行依然报
[ERROR] fail to create vdec channel
[ERROR] Create vdec channel failed
[ERROR] Dvpp vdec init failed
[ERROR] Open 1-208.mp4 failed for init vdec error: 610
[ERROR] Read failed for decode 1-208.mp4 failed
使用dmesg | grep HiDvpp,无论在OpenEuler还是Ubuntu下都报

四、日志信息:
Debug日志:
[ERROR] DVPP(150130,det_demo):2025-07-08-14:51:08.237.410 [mpi_vdec_adapt.c:332][HiDvpp][A631] VDEC Create Channel Fail! ret = a005800c
[ERROR] DVPP(150130,det_demo):2025-07-08-14:51:08.237.762 [mpi_vdec_adapt.c:465][HiDvpp][A631] pid 150130, device id 0, vdec create chn ex fail, ret = e7ffa005800c
[ERROR] AICPU(150130,det_demo):2025-07-08-14:51:08.237.776 [vdec_channel_kernels.cc:143][CreateVdecChannel][tid:150142][DVPP_KERNELS] Create vdec channel failed, dvppRet=a005800c
[ERROR] AICPU(150130,det_demo):2025-07-08-14:51:08.237.785 [vdec_channel_kernels.cc:267][DoCompute][tid:150142][DVPP_KERNELS] Create vdec channel id failed, status = 5.
[ERROR] CCECPU(150130,det_demo):2025-07-08-14:51:08.237.797 [ae_kernel_lib_aicpu.cc:287][TransformKernelErrorCode][tid:150142][AICPU_PROCESSER] call aicpu api DvppCreateVdecChannel in libdvpp_kernels.so failed, ret:4.
[ERROR] CCECPU(150130,det_demo):2025-07-08-14:51:08.237.810 [aicpusd_event_process.cpp:1676][ExecuteTsKernelTask][tid:150142] Aicpu engine process failed, result[4], opName[DvppCreateVdecChannel].
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.239.087 [engine.cc:1518]150130 ReportExceptProc:[CREATE][DEFAULT]Task exception! device_id=0, stream_id=12, task_id=1, type=1(KERNEL_AICPU), failuremode =0, retCode=0x2a, [aicpu exception]
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.446 [davinic_kernel_task.cc:1220]150130 PreCheckTaskErr:[CREATE][DEFAULT]report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.471 [davinic_kernel_task.cc:1220]150130 PreCheckTaskErr:[CREATE][DEFAULT]Kernel task happen error, retCode=0x2a, [aicpu exception].
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.592 [davinic_kernel_task.cc:1023]150130 PrintAicpuErrorInfo:[CREATE][DEFAULT]report error module_type=0, module_name=E39999
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.606 [davinic_kernel_task.cc:1023]150130 PrintAicpuErrorInfo:[CREATE][DEFAULT]Aicpu kernel execute failed, device_id=0, stream_id=12, task_id=1, errorCode=2a.
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.642 [davinic_kernel_task.cc:1033]150130 PrintAicpuErrorInfo:[CREATE][DEFAULT]Aicpu kernel execute failed, device_id=0, stream_id=12, task_id=1, fault op_name=
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.684 [stream.cc:1079]150130 GetError:[CREATE][DEFAULT]Stream Synchronize failed, stream_id=12, retCode=0x2a, [aicpu exception].
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.695 [stream.cc:1082]150130 GetError:[CREATE][DEFAULT]report error module_type=0, module_name=E39999
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.705 [stream.cc:1082]150130 GetError:[CREATE][DEFAULT]Aicpu kernel execute failed, device_id=0, stream_id=12, task_id=1, fault op_name=
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.733 [logger.cc:460]150130 StreamSynchronize:[CREATE][DEFAULT]Stream synchronize failed, stream_id=12, timeout=-1
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.760 [api_c_stream.cc:131]150130 rtStreamSynchronize:[CREATE][DEFAULT]ErrCode=507018, desc=[aicpu exception], InnerCode=0x715002a
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.770 [error_message_manage.cc:53]150130 FuncErrorReason:[CREATE][DEFAULT]report error module_type=3, module_name=EE8888
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.783 [error_message_manage.cc:53]150130 FuncErrorReason:[CREATE][DEFAULT]rtStreamSynchronize execute failed, reason=[aicpu exception]
[ERROR] ASCENDCL(150130,det_demo):2025-07-08-14:51:08.263.812 [video_processor.cpp:165]150130 VdecCreateChannel: [CREATE][DEFAULT][Sync][Stream]fail to synchronize sendFrameStream, runtime errorCode = 507018
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.291 [log_inner.cpp:76]150130 CreateVdecChannelDesc:src/VdecHelper.cpp:221: "fail to create vdec channel"
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.311 [log_inner.cpp:76]150130 Init:src/VdecHelper.cpp:165: "Create vdec channel failed"
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.323 [log_inner.cpp:76]150130 InitVdecDecoder:src/VideoCapture.cpp:602: "Dvpp vdec init failed"
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.335 [log_inner.cpp:76]150130 Open:src/VideoCapture.cpp:663: "Open 1-208.mp4 failed for init vdec error: 610"
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.359 [log_inner.cpp:76]150130 Read:src/VideoCapture.cpp:913: "Read failed for decode 1-208.mp4 failed"
Run日志:
[INFO] PROFILING(150130,det_demo):2025-07-08-14:51:07.879.868 [platform.cpp:48] >>> (tid:150130) Profiling platform version: 1.0.
[INFO] PROFILING(150130,det_demo):2025-07-08-14:51:07.879.947 [platform.cpp:260] >>> (tid:150130) Succeeded to DrvGetApiVersion version: 0x72317
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.237 [client_manager.cpp:426][GetClientRunMode][tid:150130] runningMode:0
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.251 [client_manager.cpp:104][GetInstance][tid:150130] curmode:2
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.263 [thread_mode_manager.cpp:69][Open][tid:150130] [ThreadModeManager] enter into open process deviceId[0] rankSize[0]
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.290 [thread_mode_manager.cpp:224][LoadSysOpKernel][tid:150130] [TsdClient][deviceId_=0] can not find aicpu packages
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.313 [thread_mode_manager.cpp:55][OpenTfSo][tid:150130] access tf path /root/aicpu_kernels/0/aicpu_kernels_device/sand_box/ abnormal:No such file or directory.
[WARNING] TDT(150130,det_demo):2025-07-08-14:51:07.880.394 [thread_mode_manager.cpp:114][StartCallAICPU][tid:150130] [ThreadModeManager] Can not open libaicpu_scheduler.so, deviceId[0], reason[/usr/lib64/libaicpu_scheduler.so: cannot open shared object file: No such file or directory]
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.885.477 [thread_mode_manager.cpp:158][SetAICPUProfilingCallback][tid:150130] [ThreadModeManager] profiling callback is nullptr, skip set aicpu profiling callback
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.711 [aicpusd_interface_process.cpp:578][GetCurrentRunMode][tid:150130] Current aicpu mode is offline (call by api).
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.733 [aicpusd_drv_manager.cpp:333][MarkMdc][tid:150130] Get hardware version[4] success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.750 [aicpusd_drv_manager.cpp:196][GetNormalAicpuInfo][tid:150130] aicpuBitMap[65024], aicpuNum[7].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.765 [aicpusd_drv_manager.cpp:230][GetCcpuInfo][tid:150130] ccpuBitMap[511].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.789 [aicpusd_drv_manager.cpp:116][GetNormalAicpuDCpuInfo][tid:150130] GetNormalAicpuDCpuInfo, deviceId[0], aicpu_num[7], aicpu_os_sched[1], ccpu_num[9], ccpu_os_sched[1], dcpu_num[0], dcpu_os_sched[1], tscpu_num[0], tscpu_os_sched[0].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.799 [aicpusd_drv_manager.cpp:312][InitDrvMgrCaluniqueVfId][tid:150130] InitDrvMgr uniqueVfId=0, deviceId=0
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.807 [aicpusd_drv_manager.cpp:383][InitDrvMgr][tid:150130] host pid[150130], host proc name[], vf id[0], first aicpu index[0], aicpu num[7], dcpu base index[9], dcpu num[0].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.853 [aicpusd_drv_manager.cpp:572][BindHostPid][tid:150130] Bind host pid success, hostPid=150130, vfId=0, mode=1
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.885 [aicpusd_drv_manager.cpp:572][BindHostPid][tid:150130] Bind host pid success, hostPid=150130, vfId=0, mode=1
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.919 [aicpusd_resource_manager.cpp:264][InitBufManager][tid:150130] Aicpu schedule SetBuffCfg successed!
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.886.255 [aicpusd_drv_manager.cpp:451][InitDrvSchedModule][tid:150130] Enable process drv queue msg on ccpu, ret is 0.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.252 [aicpusd_worker.cpp:74][ThreadPool][tid:150130] ThreadPool
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.447 [aicpusd_worker.cpp:274][AddPidToTask][tid:150141] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.492 [aicpusd_worker.cpp:274][AddPidToTask][tid:150142] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.543 [aicpusd_worker.cpp:274][AddPidToTask][tid:150143] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.594 [aicpusd_worker.cpp:274][AddPidToTask][tid:150144] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.633 [aicpusd_worker.cpp:274][AddPidToTask][tid:150145] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.723 [aicpusd_worker.cpp:274][AddPidToTask][tid:150146] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.732 [aicpusd_worker.cpp:274][AddPidToTask][tid:150147] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.552 [aicpusd_threads_process.cpp:81][LoadExtendKernelSo][tid:150130] Start to preload extend kernel so.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.614 [ae_so_manager.cc:657][CreateSingleSoMgr][tid:150130][AICPU_PROCESSER] So not exist, try to load at another path. currentSoFile=/root/inuse/aicpu_kernels/0/aicpu_kernels_device/libaicpu_extend_kernels.so.
[WARNING] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.638 [ae_so_manager.cc:669][CreateSingleSoMgr][tid:150130][AICPU_PROCESSER] Single so manager init failed, soFile is /usr/lib64/aicpu_kernels/libaicpu_extend_kernels.so.
[WARNING] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.647 [ae_kernel_lib_aicpu.cc:246][BatchLoadKernelSo][tid:150130][AICPU_PROCESSER] Load so libaicpu_extend_kernels.so failed.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.654 [aicpusd_threads_process.cpp:85][LoadExtendKernelSo][tid:150130] End to preload extend kernel so.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.826 [aicpusd_cust_so_manager.cpp:78][InitAicpuCustSoManager][tid:150130] Cust so manager init success, dir=/root/cust_aicpu_0_0_150130/, runMode=2, schedMode=0
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.894 [aicpusd_period_statistic.cpp:132][SetThreadAffinity][tid:150150] aicpu bind by self success
[INFO] RUNTIME(150130,det_demo):2025-07-08-14:51:07.893.860 [device.cc:343] 150130 Init: isAddrFlat:0
[INFO] RUNTIME(150130,det_demo):2025-07-08-14:51:07.895.641 [npu_driver.cc:5589] 150151 GetDeviceStatus: GetDeviceStatus status=1.
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.896.495 [client_manager.cpp:164][SetProfilingCallback][tid:150130] [TsdClient] set profiling callback success
[INFO] GE(150130,det_demo):2025-07-08-14:51:07.997.490 [davinci_model.cc:879][EVENT]150130 InitModelProf:Init davinci_model profiler flag:0.
[INFO] GE(150130,det_demo):2025-07-08-14:51:08.105.752 [davinci_model.cc:509][EVENT]150130 InitFeatureMapAndP2PMem:[IMAS]InitFeatureMapAndP2PMem graph_0 MallocMemory type[F] memaddr[0xe80002a00000] mem_size[35820032]
[INFO] GE(150130,det_demo):2025-07-08-14:51:08.113.462 [davinci_model.cc:1292][EVENT]150130 InitNodes:[GEPERFTRACE] The time cost of GraphLoader::InitTbeHandle. is [2193] micro second, call num is 282
[INFO] GE(150130,det_demo):2025-07-08-14:51:08.113.492 [davinci_model.cc:1293][EVENT]150130 InitNodes:[GEPERFTRACE] The time cost of DavinciModel::InitNodes is [4983] micro second.
[INFO] RUNTIME(150130,det_demo):2025-07-08-14:51:08.114.546 [logger.cc:1042] 150130 ModelBindStream: model_id=0, stream_id=2, flag=0.
[INFO] RUNTIME(150130,det_demo):2025-07-08-14:51:08.114.598 [logger.cc:1042] 150130 ModelBindStream: model_id=0, stream_id=3, flag=0.
[INFO] GE(150130,det_demo):2025-07-08-14:51:08.139.776 [davinci_model.cc:922][EVENT]150130 PrintfModelProfOfModelLoad:[GEPERFTRACE] The time cost of GraphLoader::DavinciModel::Init is [142288] micro second, name[motor-v8s-obb-aipp-bs1]model_id[1]graph_id[0].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.145.892 [ae_so_manager.cc:657][CreateSingleSoMgr][tid:150142][AICPU_PROCESSER] So not exist, try to load at another path. currentSoFile=/root/inuse/aicpu_kernels/0/aicpu_kernels_device/libdvpp_kernels.so.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.147.124 [ae_so_manager.cc:228][GetApi][tid:150142][AICPU_PROCESSER] Get api DvppGetVersion from so libdvpp_kernels.so success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.150.886 [ae_so_manager.cc:228][GetApi][tid:150143][AICPU_PROCESSER] Get api DvppCreateChannel from so libdvpp_kernels.so success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.154.079 [ae_so_manager.cc:228][GetApi][tid:150144][AICPU_PROCESSER] Get api DvppDecodeJpeg from so libdvpp_kernels.so success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.156.267 [ae_so_manager.cc:228][GetApi][tid:150145][AICPU_PROCESSER] Get api DvppHandleEvent from so libdvpp_kernels.so success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.229.656 [ae_so_manager.cc:228][GetApi][tid:150142][AICPU_PROCESSER] Get api DvppCreateVdecChannel from so libdvpp_kernels.so success.
一、问题现象(附报错日志上下文):
Atlas200i soc A1运行程序,使用媒体处理V1
系统驱动:24.1.RC2
系统固件:7.3.0.1.231
系统MCU:24.2.1
系统CANN:8.0.RC2
操作系统:OpenEuler22.03 LTS-SP3
aclvdecCreateChannel失败(507018),导致acllite中报错如下:
[ERROR] fail to create vdec channel
[ERROR] Create vdec channel failed
[ERROR] Dvpp vdec init failed
[ERROR] Open 1-208.mp4 failed for init vdec error: 610
[ERROR] Read failed for decode 1-208.mp4 failed
二、软件版本:
-- CANN 版本 (e.g., CANN 3.0.x,5.x.x): 8.0.RC2
--Tensorflow/Pytorch/MindSpore 版本: 无
--Python 版本 (e.g., Python 3.7.5): 3.9.9
-- MindStudio版本 (e.g., MindStudio 2.0.0 (beta3)): 无
--操作系统版本 (e.g., Ubuntu 18.04): OpenEuler22.03 LTS-SP3
三、测试步骤:
程序使用了Acllite进行视频解码,之前在Atlas300i Duo\Atlas200i DK A2等设备上测试均无问题;
此次在Atlas200i soc A1设备上部署相同的软件环境,编译相同的程序,编译可以通过,但是运行时报错:
[ERROR] fail to create vdec channel
[ERROR] Create vdec channel failed
[ERROR] Dvpp vdec init failed
[ERROR] Open 1-208.mp4 failed for init vdec error: 610
[ERROR] Read failed for decode 1-208.mp4 failed
增加打印似乎是aclvdecCreateChannel导致的,返回值507018
进一步尝试使用docker的ubuntu18.04镜像(根据官方文档兼容性要求)
在ubuntu18.04镜像下配置环境
系统驱动:24.1.RC2
系统固件:7.3.0.1.231
系统MCU:24.2.1
系统CANN:8.0.RC2
操作系统:18.04.6 LTS in Docker
编译程序,调用acllite VdecHelper::CreateVdecChannelDesc运行依然报
[ERROR] fail to create vdec channel
[ERROR] Create vdec channel failed
[ERROR] Dvpp vdec init failed
[ERROR] Open 1-208.mp4 failed for init vdec error: 610
[ERROR] Read failed for decode 1-208.mp4 failed
使用dmesg | grep HiDvpp,无论在OpenEuler还是Ubuntu下都报
四、日志信息:
Debug日志:
[ERROR] DVPP(150130,det_demo):2025-07-08-14:51:08.237.410 [mpi_vdec_adapt.c:332][HiDvpp][A631] VDEC Create Channel Fail! ret = a005800c
[ERROR] DVPP(150130,det_demo):2025-07-08-14:51:08.237.762 [mpi_vdec_adapt.c:465][HiDvpp][A631] pid 150130, device id 0, vdec create chn ex fail, ret = e7ffa005800c
[ERROR] AICPU(150130,det_demo):2025-07-08-14:51:08.237.776 [vdec_channel_kernels.cc:143][CreateVdecChannel][tid:150142][DVPP_KERNELS] Create vdec channel failed, dvppRet=a005800c
[ERROR] AICPU(150130,det_demo):2025-07-08-14:51:08.237.785 [vdec_channel_kernels.cc:267][DoCompute][tid:150142][DVPP_KERNELS] Create vdec channel id failed, status = 5.
[ERROR] CCECPU(150130,det_demo):2025-07-08-14:51:08.237.797 [ae_kernel_lib_aicpu.cc:287][TransformKernelErrorCode][tid:150142][AICPU_PROCESSER] call aicpu api DvppCreateVdecChannel in libdvpp_kernels.so failed, ret:4.
[ERROR] CCECPU(150130,det_demo):2025-07-08-14:51:08.237.810 [aicpusd_event_process.cpp:1676][ExecuteTsKernelTask][tid:150142] Aicpu engine process failed, result[4], opName[DvppCreateVdecChannel].
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.239.087 [engine.cc:1518]150130 ReportExceptProc:[CREATE][DEFAULT]Task exception! device_id=0, stream_id=12, task_id=1, type=1(KERNEL_AICPU), failuremode =0, retCode=0x2a, [aicpu exception]
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.446 [davinic_kernel_task.cc:1220]150130 PreCheckTaskErr:[CREATE][DEFAULT]report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.471 [davinic_kernel_task.cc:1220]150130 PreCheckTaskErr:[CREATE][DEFAULT]Kernel task happen error, retCode=0x2a, [aicpu exception].
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.592 [davinic_kernel_task.cc:1023]150130 PrintAicpuErrorInfo:[CREATE][DEFAULT]report error module_type=0, module_name=E39999
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.606 [davinic_kernel_task.cc:1023]150130 PrintAicpuErrorInfo:[CREATE][DEFAULT]Aicpu kernel execute failed, device_id=0, stream_id=12, task_id=1, errorCode=2a.
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.642 [davinic_kernel_task.cc:1033]150130 PrintAicpuErrorInfo:[CREATE][DEFAULT]Aicpu kernel execute failed, device_id=0, stream_id=12, task_id=1, fault op_name=
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.684 [stream.cc:1079]150130 GetError:[CREATE][DEFAULT]Stream Synchronize failed, stream_id=12, retCode=0x2a, [aicpu exception].
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.695 [stream.cc:1082]150130 GetError:[CREATE][DEFAULT]report error module_type=0, module_name=E39999
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.705 [stream.cc:1082]150130 GetError:[CREATE][DEFAULT]Aicpu kernel execute failed, device_id=0, stream_id=12, task_id=1, fault op_name=
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.733 [logger.cc:460]150130 StreamSynchronize:[CREATE][DEFAULT]Stream synchronize failed, stream_id=12, timeout=-1
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.760 [api_c_stream.cc:131]150130 rtStreamSynchronize:[CREATE][DEFAULT]ErrCode=507018, desc=[aicpu exception], InnerCode=0x715002a
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.770 [error_message_manage.cc:53]150130 FuncErrorReason:[CREATE][DEFAULT]report error module_type=3, module_name=EE8888
[ERROR] RUNTIME(150130,det_demo):2025-07-08-14:51:08.263.783 [error_message_manage.cc:53]150130 FuncErrorReason:[CREATE][DEFAULT]rtStreamSynchronize execute failed, reason=[aicpu exception]
[ERROR] ASCENDCL(150130,det_demo):2025-07-08-14:51:08.263.812 [video_processor.cpp:165]150130 VdecCreateChannel: [CREATE][DEFAULT][Sync][Stream]fail to synchronize sendFrameStream, runtime errorCode = 507018
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.291 [log_inner.cpp:76]150130 CreateVdecChannelDesc:src/VdecHelper.cpp:221: "fail to create vdec channel"
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.311 [log_inner.cpp:76]150130 Init:src/VdecHelper.cpp:165: "Create vdec channel failed"
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.323 [log_inner.cpp:76]150130 InitVdecDecoder:src/VideoCapture.cpp:602: "Dvpp vdec init failed"
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.335 [log_inner.cpp:76]150130 Open:src/VideoCapture.cpp:663: "Open 1-208.mp4 failed for init vdec error: 610"
[ERROR] APP(150130,det_demo):2025-07-08-14:51:08.264.359 [log_inner.cpp:76]150130 Read:src/VideoCapture.cpp:913: "Read failed for decode 1-208.mp4 failed"
Run日志:
[INFO] PROFILING(150130,det_demo):2025-07-08-14:51:07.879.868 [platform.cpp:48] >>> (tid:150130) Profiling platform version: 1.0.
[INFO] PROFILING(150130,det_demo):2025-07-08-14:51:07.879.947 [platform.cpp:260] >>> (tid:150130) Succeeded to DrvGetApiVersion version: 0x72317
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.237 [client_manager.cpp:426][GetClientRunMode][tid:150130] runningMode:0
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.251 [client_manager.cpp:104][GetInstance][tid:150130] curmode:2
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.263 [thread_mode_manager.cpp:69][Open][tid:150130] [ThreadModeManager] enter into open process deviceId[0] rankSize[0]
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.290 [thread_mode_manager.cpp:224][LoadSysOpKernel][tid:150130] [TsdClient][deviceId_=0] can not find aicpu packages
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.880.313 [thread_mode_manager.cpp:55][OpenTfSo][tid:150130] access tf path /root/aicpu_kernels/0/aicpu_kernels_device/sand_box/ abnormal:No such file or directory.
[WARNING] TDT(150130,det_demo):2025-07-08-14:51:07.880.394 [thread_mode_manager.cpp:114][StartCallAICPU][tid:150130] [ThreadModeManager] Can not open libaicpu_scheduler.so, deviceId[0], reason[/usr/lib64/libaicpu_scheduler.so: cannot open shared object file: No such file or directory]
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.885.477 [thread_mode_manager.cpp:158][SetAICPUProfilingCallback][tid:150130] [ThreadModeManager] profiling callback is nullptr, skip set aicpu profiling callback
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.711 [aicpusd_interface_process.cpp:578][GetCurrentRunMode][tid:150130] Current aicpu mode is offline (call by api).
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.733 [aicpusd_drv_manager.cpp:333][MarkMdc][tid:150130] Get hardware version[4] success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.750 [aicpusd_drv_manager.cpp:196][GetNormalAicpuInfo][tid:150130] aicpuBitMap[65024], aicpuNum[7].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.765 [aicpusd_drv_manager.cpp:230][GetCcpuInfo][tid:150130] ccpuBitMap[511].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.789 [aicpusd_drv_manager.cpp:116][GetNormalAicpuDCpuInfo][tid:150130] GetNormalAicpuDCpuInfo, deviceId[0], aicpu_num[7], aicpu_os_sched[1], ccpu_num[9], ccpu_os_sched[1], dcpu_num[0], dcpu_os_sched[1], tscpu_num[0], tscpu_os_sched[0].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.799 [aicpusd_drv_manager.cpp:312][InitDrvMgrCaluniqueVfId][tid:150130] InitDrvMgr uniqueVfId=0, deviceId=0
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.807 [aicpusd_drv_manager.cpp:383][InitDrvMgr][tid:150130] host pid[150130], host proc name[], vf id[0], first aicpu index[0], aicpu num[7], dcpu base index[9], dcpu num[0].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.853 [aicpusd_drv_manager.cpp:572][BindHostPid][tid:150130] Bind host pid success, hostPid=150130, vfId=0, mode=1
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.885 [aicpusd_drv_manager.cpp:572][BindHostPid][tid:150130] Bind host pid success, hostPid=150130, vfId=0, mode=1
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.885.919 [aicpusd_resource_manager.cpp:264][InitBufManager][tid:150130] Aicpu schedule SetBuffCfg successed!
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.886.255 [aicpusd_drv_manager.cpp:451][InitDrvSchedModule][tid:150130] Enable process drv queue msg on ccpu, ret is 0.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.252 [aicpusd_worker.cpp:74][ThreadPool][tid:150130] ThreadPool
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.447 [aicpusd_worker.cpp:274][AddPidToTask][tid:150141] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.492 [aicpusd_worker.cpp:274][AddPidToTask][tid:150142] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.543 [aicpusd_worker.cpp:274][AddPidToTask][tid:150143] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.594 [aicpusd_worker.cpp:274][AddPidToTask][tid:150144] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.633 [aicpusd_worker.cpp:274][AddPidToTask][tid:150145] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.723 [aicpusd_worker.cpp:274][AddPidToTask][tid:150146] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.889.732 [aicpusd_worker.cpp:274][AddPidToTask][tid:150147] Bind pid by hal.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.552 [aicpusd_threads_process.cpp:81][LoadExtendKernelSo][tid:150130] Start to preload extend kernel so.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.614 [ae_so_manager.cc:657][CreateSingleSoMgr][tid:150130][AICPU_PROCESSER] So not exist, try to load at another path. currentSoFile=/root/inuse/aicpu_kernels/0/aicpu_kernels_device/libaicpu_extend_kernels.so.
[WARNING] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.638 [ae_so_manager.cc:669][CreateSingleSoMgr][tid:150130][AICPU_PROCESSER] Single so manager init failed, soFile is /usr/lib64/aicpu_kernels/libaicpu_extend_kernels.so.
[WARNING] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.647 [ae_kernel_lib_aicpu.cc:246][BatchLoadKernelSo][tid:150130][AICPU_PROCESSER] Load so libaicpu_extend_kernels.so failed.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.654 [aicpusd_threads_process.cpp:85][LoadExtendKernelSo][tid:150130] End to preload extend kernel so.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.826 [aicpusd_cust_so_manager.cpp:78][InitAicpuCustSoManager][tid:150130] Cust so manager init success, dir=/root/cust_aicpu_0_0_150130/, runMode=2, schedMode=0
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:07.890.894 [aicpusd_period_statistic.cpp:132][SetThreadAffinity][tid:150150] aicpu bind by self success
[INFO] RUNTIME(150130,det_demo):2025-07-08-14:51:07.893.860 [device.cc:343] 150130 Init: isAddrFlat:0
[INFO] RUNTIME(150130,det_demo):2025-07-08-14:51:07.895.641 [npu_driver.cc:5589] 150151 GetDeviceStatus: GetDeviceStatus status=1.
[INFO] TDT(150130,det_demo):2025-07-08-14:51:07.896.495 [client_manager.cpp:164][SetProfilingCallback][tid:150130] [TsdClient] set profiling callback success
[INFO] GE(150130,det_demo):2025-07-08-14:51:07.997.490 [davinci_model.cc:879][EVENT]150130 InitModelProf:Init davinci_model profiler flag:0.
[INFO] GE(150130,det_demo):2025-07-08-14:51:08.105.752 [davinci_model.cc:509][EVENT]150130 InitFeatureMapAndP2PMem:[IMAS]InitFeatureMapAndP2PMem graph_0 MallocMemory type[F] memaddr[0xe80002a00000] mem_size[35820032]
[INFO] GE(150130,det_demo):2025-07-08-14:51:08.113.462 [davinci_model.cc:1292][EVENT]150130 InitNodes:[GEPERFTRACE] The time cost of GraphLoader::InitTbeHandle. is [2193] micro second, call num is 282
[INFO] GE(150130,det_demo):2025-07-08-14:51:08.113.492 [davinci_model.cc:1293][EVENT]150130 InitNodes:[GEPERFTRACE] The time cost of DavinciModel::InitNodes is [4983] micro second.
[INFO] RUNTIME(150130,det_demo):2025-07-08-14:51:08.114.546 [logger.cc:1042] 150130 ModelBindStream: model_id=0, stream_id=2, flag=0.
[INFO] RUNTIME(150130,det_demo):2025-07-08-14:51:08.114.598 [logger.cc:1042] 150130 ModelBindStream: model_id=0, stream_id=3, flag=0.
[INFO] GE(150130,det_demo):2025-07-08-14:51:08.139.776 [davinci_model.cc:922][EVENT]150130 PrintfModelProfOfModelLoad:[GEPERFTRACE] The time cost of GraphLoader::DavinciModel::Init is [142288] micro second, name[motor-v8s-obb-aipp-bs1]model_id[1]graph_id[0].
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.145.892 [ae_so_manager.cc:657][CreateSingleSoMgr][tid:150142][AICPU_PROCESSER] So not exist, try to load at another path. currentSoFile=/root/inuse/aicpu_kernels/0/aicpu_kernels_device/libdvpp_kernels.so.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.147.124 [ae_so_manager.cc:228][GetApi][tid:150142][AICPU_PROCESSER] Get api DvppGetVersion from so libdvpp_kernels.so success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.150.886 [ae_so_manager.cc:228][GetApi][tid:150143][AICPU_PROCESSER] Get api DvppCreateChannel from so libdvpp_kernels.so success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.154.079 [ae_so_manager.cc:228][GetApi][tid:150144][AICPU_PROCESSER] Get api DvppDecodeJpeg from so libdvpp_kernels.so success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.156.267 [ae_so_manager.cc:228][GetApi][tid:150145][AICPU_PROCESSER] Get api DvppHandleEvent from so libdvpp_kernels.so success.
[INFO] CCECPU(150130,det_demo):2025-07-08-14:51:08.229.656 [ae_so_manager.cc:228][GetApi][tid:150142][AICPU_PROCESSER] Get api DvppCreateVdecChannel from so libdvpp_kernels.so success.