lenLRX / Atlas_ACL_E2E_Demo

188 stars 38 forks source link

./run.sh config/yolox_bytetrack_demo.json 出现段错误 #69

Open jryxxx opened 6 months ago

jryxxx commented 6 months ago

您好,首先感谢您的工作!

硬件型号

-- Atlas 300加速卡

软件版本

-- CANN 版本 (e.g., CANN 3.0.x,5.x.x):Ascend-cann-nnrt_8.0.RC1.alpha003_linux-aarch64 -- Tensorflow/Pytorch/MindSpore 版本:无 -- Python 版本 (e.g., Python 3.7.5):Python 3.8.2 -- MindStudio版本 (e.g., MindStudio 2.0.0 (beta3)):无 -- 操作系统版本 (e.g., Ubuntu 18.04):Kylin-V10-SP1-arm64

日志

我的运行代码以及报错如下:

image

通过 GDB 进行 DEBUG:

image

锁定报错位置在: image 模型已经放在指定位置: image 配置文件更改了视频路径:

image
jryxxx commented 6 months ago

运行另一个案例也是相同错误。

./run.sh config/yolox_bytetrack_pedestrian_demo.json 
image
lenLRX commented 6 months ago

看起来很奇怪,没见过在这个接口报错的,设置这个环境变量然后执行一下看看有没有什么值得注意的报错? export ASCEND_SLOG_PRINT_TO_STDOUT=1

jryxxx commented 6 months ago

看起来很奇怪,没见过在这个接口报错的,设置这个环境变量然后执行一下看看有没有什么值得注意的报错? export ASCEND_SLOG_PRINT_TO_STDOUT=1

您好,感谢您的及时回复!我将输出复制到了下方

root@thtf-PC:/home/thtf/Atlas_ACL_E2E_Demo# ./run.sh config/yolox_bytetrack_pedestrian_demo.json 
[INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:28.562.595 [trace_attr.c:164](tid:2034539) attr init success, timeout=3000, driver version=467731.
[INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:28.562.650 [trace_recorder.c:114](tid:2034539) use root path: /root/ascend
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.613 [msprof_callback_impl.cpp:334] >>> (tid:2034539) Started to register profiling ctrl callback.
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.791 [msprof_callback_impl.cpp:341] >>> (tid:2034539) Started to register profiling hash id callback.
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.806 [prof_atls_plugin.cpp:83] >>> (tid:2034539) RegisterProfileCallback, callback type is 7
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.817 [msprof_callback_impl.cpp:348] >>> (tid:2034539) Started to register profiling enable host freq callback.
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.827 [prof_atls_plugin.cpp:83] >>> (tid:2034539) RegisterProfileCallback, callback type is 8
[INFO] ASCENDCL(2034539,acl_demo_app):2024-05-15-22:52:28.677.638 [acl_resource_manager.cpp:90]2034539 GetRuntimeV2Env: runtime v2 flag : model flag = 1, singleOp flag = 1
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.691.779 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[48] register callback of ctrl handle.
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.691.813 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[45] register callback of ctrl handle.
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.549 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[7] register callback of ctrl handle.
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.658 [msprof_callback_impl.cpp:89] >>> (tid:2034539) MsprofCtrlCallback called, type: 255
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.785 [ai_drv_dev_api.cpp:333] >>> (tid:2034539) Succeeded to DrvGetApiVersion version: 0x72313
total dev count: 1
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.770 [client_manager.cpp:397][GetClientRunMode][tid:2034541] runningMode:0
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.789 [client_manager.cpp:103][GetInstance][tid:2034541] curmode:1
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.860 [process_mode_manager.cpp:121][OpenProcess][tid:2034541] [ProcessModeManager] enter into open process deviceId[0] rankSize[0]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.225 [process_mode_manager.cpp:391][InitTsdClient][tid:2034541] [TsdClient] deviceId[0] begin to init hdc client
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.349 [version_verify.cpp:34][SetVersionInfo][tid:2034541] VersionVerify: send client version to server
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.375 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:35, features:{check before send aicpu package,}}
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.388 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:37, features:{check before send open qs message,}}
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.851 [version_verify.cpp:66][PeerVersionCheck][tid:2034541] VersionVerify: Check client version info, server[1230], client[1230]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.868 [version_verify.cpp:87][ParseVersionInfo][tid:2034541] VersionVerify: pass client version info success
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.878 [hdc_client.cpp:276][CheckHdcConnection][tid:2034541] Service[2] create hdc success
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.892 [version_verify.cpp:120][SpecialFeatureCheck][tid:2034541] VersionVerify: new type[35], supported
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.939 [process_mode_manager.cpp:783][GetDeviceCheckCode][tid:2034541] [TsdClient][deviceId=0] [sessionId=1] wait package info respond
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.154 [process_mode_manager.cpp:391][InitTsdClient][tid:2034541] [TsdClient] deviceId[0] begin to init hdc client
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.265 [version_verify.cpp:34][SetVersionInfo][tid:2034541] VersionVerify: send client version to server
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.279 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:35, features:{check before send aicpu package,}}
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.293 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:37, features:{check before send open qs message,}}
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.590 [version_verify.cpp:66][PeerVersionCheck][tid:2034541] VersionVerify: Check client version info, server[1230], client[1230]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.611 [version_verify.cpp:87][ParseVersionInfo][tid:2034541] VersionVerify: pass client version info success
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.622 [hdc_client.cpp:276][CheckHdcConnection][tid:2034541] Service[2] create hdc success
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.636 [process_mode_manager.cpp:438][ConstructOpenMsg][tid:2034541] [TsdClient] tsd get process sign successfully, procpid[2034539] signSize[48]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.650 [version_verify.cpp:112][SpecialFeatureCheck][tid:2034541] VersionVerify: previous type[6], supported
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.676 [process_mode_manager.cpp:138][OpenProcess][tid:2034541] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.133 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:2034541] [TsdClient] it is unnecessary of current mode[0] chiptype[0] to grant queue auth to aicpusd
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.165 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:2034541] enter into OpenInHost deviceid[0]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.178 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:2034541] host cpu not support
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.188 [process_mode_manager.cpp:168][OpenProcess][tid:2034541] [TsdClient][deviceId=0] [sessionId=1] start hccp and computer process success
[INFO] RUNTIME(2034539,acl_demo_app):2024-05-15-22:52:29.049.901 [device.cc:350] 2034541 Init: isAddrFlat:0
[INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:29.054.250 [tracer_schedule.c:57](tid:2034541) create object RUNTIME_ATRACE_DEV0_TS0 success, exitSave(false).
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.054.285 [client_manager.cpp:162][SetProfilingCallback][tid:2034541] [TsdClient] set profiling callback success
[INFO] RUNTIME(2034539,acl_demo_app):2024-05-15-22:52:29.054.281 [npu_driver.cc:5490] 2034546 GetDeviceStatus: GetDeviceStatus status=1.
[FFMPEGInput::Init] /home/thtf/Atlas_ACL_E2E_Demo/video/test.mp4 codec name:h264
avcc profile: 100
frame h: 720 frame w: 1280
ticks_per_frame: 2
framerate.num: 24000
framerate.den: 1001
ref frame num: 1
has B frame: 0
pix format: 0
codec_tag 828601953
extra_data size: 34
[DvppDecoder::Init] h: 720 w : 1280 output_size: 1382400
Error: aclvdecCreateChannel failed with error code 0
./run.sh:行 16: 2034539 段错误               ./build/acl_demo_app -c $1

这个问题好像和 #52 有一点相似,不知道那位同学如何解决的,我仔细查看了视频的格式,确定是 h264 的 mp4 视频

image
jryxxx commented 6 months ago

看起来很奇怪,没见过在这个接口报错的,设置这个环境变量然后执行一下看看有没有什么值得注意的报错? export ASCEND_SLOG_PRINT_TO_STDOUT=1

您好,感谢您的及时回复!我将输出复制到了下方

root@thtf-PC:/home/thtf/Atlas_ACL_E2E_Demo# ./run.sh config/yolox_bytetrack_pedestrian_demo.json 
[INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:28.562.595 [trace_attr.c:164](tid:2034539) attr init success, timeout=3000, driver version=467731.
[INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:28.562.650 [trace_recorder.c:114](tid:2034539) use root path: /root/ascend
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.613 [msprof_callback_impl.cpp:334] >>> (tid:2034539) Started to register profiling ctrl callback.
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.791 [msprof_callback_impl.cpp:341] >>> (tid:2034539) Started to register profiling hash id callback.
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.806 [prof_atls_plugin.cpp:83] >>> (tid:2034539) RegisterProfileCallback, callback type is 7
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.817 [msprof_callback_impl.cpp:348] >>> (tid:2034539) Started to register profiling enable host freq callback.
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.827 [prof_atls_plugin.cpp:83] >>> (tid:2034539) RegisterProfileCallback, callback type is 8
[INFO] ASCENDCL(2034539,acl_demo_app):2024-05-15-22:52:28.677.638 [acl_resource_manager.cpp:90]2034539 GetRuntimeV2Env: runtime v2 flag : model flag = 1, singleOp flag = 1
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.691.779 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[48] register callback of ctrl handle.
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.691.813 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[45] register callback of ctrl handle.
[INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.549 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[7] register callback of ctrl handle.
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.658 [msprof_callback_impl.cpp:89] >>> (tid:2034539) MsprofCtrlCallback called, type: 255
[EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.785 [ai_drv_dev_api.cpp:333] >>> (tid:2034539) Succeeded to DrvGetApiVersion version: 0x72313
total dev count: 1
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.770 [client_manager.cpp:397][GetClientRunMode][tid:2034541] runningMode:0
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.789 [client_manager.cpp:103][GetInstance][tid:2034541] curmode:1
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.860 [process_mode_manager.cpp:121][OpenProcess][tid:2034541] [ProcessModeManager] enter into open process deviceId[0] rankSize[0]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.225 [process_mode_manager.cpp:391][InitTsdClient][tid:2034541] [TsdClient] deviceId[0] begin to init hdc client
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.349 [version_verify.cpp:34][SetVersionInfo][tid:2034541] VersionVerify: send client version to server
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.375 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:35, features:{check before send aicpu package,}}
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.388 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:37, features:{check before send open qs message,}}
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.851 [version_verify.cpp:66][PeerVersionCheck][tid:2034541] VersionVerify: Check client version info, server[1230], client[1230]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.868 [version_verify.cpp:87][ParseVersionInfo][tid:2034541] VersionVerify: pass client version info success
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.878 [hdc_client.cpp:276][CheckHdcConnection][tid:2034541] Service[2] create hdc success
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.892 [version_verify.cpp:120][SpecialFeatureCheck][tid:2034541] VersionVerify: new type[35], supported
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.939 [process_mode_manager.cpp:783][GetDeviceCheckCode][tid:2034541] [TsdClient][deviceId=0] [sessionId=1] wait package info respond
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.154 [process_mode_manager.cpp:391][InitTsdClient][tid:2034541] [TsdClient] deviceId[0] begin to init hdc client
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.265 [version_verify.cpp:34][SetVersionInfo][tid:2034541] VersionVerify: send client version to server
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.279 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:35, features:{check before send aicpu package,}}
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.293 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:37, features:{check before send open qs message,}}
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.590 [version_verify.cpp:66][PeerVersionCheck][tid:2034541] VersionVerify: Check client version info, server[1230], client[1230]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.611 [version_verify.cpp:87][ParseVersionInfo][tid:2034541] VersionVerify: pass client version info success
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.622 [hdc_client.cpp:276][CheckHdcConnection][tid:2034541] Service[2] create hdc success
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.636 [process_mode_manager.cpp:438][ConstructOpenMsg][tid:2034541] [TsdClient] tsd get process sign successfully, procpid[2034539] signSize[48]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.650 [version_verify.cpp:112][SpecialFeatureCheck][tid:2034541] VersionVerify: previous type[6], supported
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.676 [process_mode_manager.cpp:138][OpenProcess][tid:2034541] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.133 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:2034541] [TsdClient] it is unnecessary of current mode[0] chiptype[0] to grant queue auth to aicpusd
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.165 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:2034541] enter into OpenInHost deviceid[0]
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.178 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:2034541] host cpu not support
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.188 [process_mode_manager.cpp:168][OpenProcess][tid:2034541] [TsdClient][deviceId=0] [sessionId=1] start hccp and computer process success
[INFO] RUNTIME(2034539,acl_demo_app):2024-05-15-22:52:29.049.901 [device.cc:350] 2034541 Init: isAddrFlat:0
[INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:29.054.250 [tracer_schedule.c:57](tid:2034541) create object RUNTIME_ATRACE_DEV0_TS0 success, exitSave(false).
[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.054.285 [client_manager.cpp:162][SetProfilingCallback][tid:2034541] [TsdClient] set profiling callback success
[INFO] RUNTIME(2034539,acl_demo_app):2024-05-15-22:52:29.054.281 [npu_driver.cc:5490] 2034546 GetDeviceStatus: GetDeviceStatus status=1.
[FFMPEGInput::Init] /home/thtf/Atlas_ACL_E2E_Demo/video/test.mp4 codec name:h264
avcc profile: 100
frame h: 720 frame w: 1280
ticks_per_frame: 2
framerate.num: 24000
framerate.den: 1001
ref frame num: 1
has B frame: 0
pix format: 0
codec_tag 828601953
extra_data size: 34
[DvppDecoder::Init] h: 720 w : 1280 output_size: 1382400
Error: aclvdecCreateChannel failed with error code 0
./run.sh:行 16: 2034539 段错误               ./build/acl_demo_app -c $1

这个问题好像和 #52 有一点相似,不知道那位同学如何解决的,我仔细查看了视频的格式,确定是 h264 的 mp4 视频 image

值得注意的位置在

[INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.178 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:2034541] host cpu not support
lenLRX commented 6 months ago

看不出问题,建议要不跑跑官方的vdec用例,看看有没有问题 要不降级到一个稳定一些的CANN版本试试

---原始邮件--- 发件人: @.> 发送时间: 2024年5月15日(周三) 晚上10:59 收件人: @.>; 抄送: @.**@.>; 主题: Re: [lenLRX/Atlas_ACL_E2E_Demo] ./run.sh config/yolox_bytetrack_demo.json 出现段错误 (Issue #69)

看起来很奇怪,没见过在这个接口报错的,设置这个环境变量然后执行一下看看有没有什么值得注意的报错? export ASCEND_SLOG_PRINT_TO_STDOUT=1

您好,感谢您的及时回复!我将输出复制到了下方 @.***:/home/thtf/Atlas_ACL_E2E_Demo# ./run.sh config/yolox_bytetrack_pedestrian_demo.json [INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:28.562.595 trace_attr.c:164 attr init success, timeout=3000, driver version=467731. [INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:28.562.650 trace_recorder.c:114 use root path: /root/ascend [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.613 [msprof_callback_impl.cpp:334] >>> (tid:2034539) Started to register profiling ctrl callback. [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.791 [msprof_callback_impl.cpp:341] >>> (tid:2034539) Started to register profiling hash id callback. [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.806 [prof_atls_plugin.cpp:83] >>> (tid:2034539) RegisterProfileCallback, callback type is 7 [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.817 [msprof_callback_impl.cpp:348] >>> (tid:2034539) Started to register profiling enable host freq callback. [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.827 [prof_atls_plugin.cpp:83] >>> (tid:2034539) RegisterProfileCallback, callback type is 8 [INFO] ASCENDCL(2034539,acl_demo_app):2024-05-15-22:52:28.677.638 [acl_resource_manager.cpp:90]2034539 GetRuntimeV2Env: runtime v2 flag : model flag = 1, singleOp flag = 1 [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.691.779 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[48] register callback of ctrl handle. [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.691.813 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[45] register callback of ctrl handle. [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.549 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[7] register callback of ctrl handle. [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.658 [msprof_callback_impl.cpp:89] >>> (tid:2034539) MsprofCtrlCallback called, type: 255 [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.785 [ai_drv_dev_api.cpp:333] >>> (tid:2034539) Succeeded to DrvGetApiVersion version: 0x72313 total dev count: 1 [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.770 [client_manager.cpp:397][GetClientRunMode][tid:2034541] runningMode:0 [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.789 [client_manager.cpp:103][GetInstance][tid:2034541] curmode:1 [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.860 [process_mode_manager.cpp:121][OpenProcess][tid:2034541] [ProcessModeManager] enter into open process deviceId[0] rankSize[0] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.225 [process_mode_manager.cpp:391][InitTsdClient][tid:2034541] [TsdClient] deviceId[0] begin to init hdc client [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.349 [version_verify.cpp:34][SetVersionInfo][tid:2034541] VersionVerify: send client version to server [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.375 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.388 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.851 [version_verify.cpp:66][PeerVersionCheck][tid:2034541] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.868 [version_verify.cpp:87][ParseVersionInfo][tid:2034541] VersionVerify: pass client version info success [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.878 [hdc_client.cpp:276][CheckHdcConnection][tid:2034541] Service[2] create hdc success [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.892 [version_verify.cpp:120][SpecialFeatureCheck][tid:2034541] VersionVerify: new type[35], supported [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.939 [process_mode_manager.cpp:783][GetDeviceCheckCode][tid:2034541] [TsdClient][deviceId=0] [sessionId=1] wait package info respond [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.154 [process_mode_manager.cpp:391][InitTsdClient][tid:2034541] [TsdClient] deviceId[0] begin to init hdc client [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.265 [version_verify.cpp:34][SetVersionInfo][tid:2034541] VersionVerify: send client version to server [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.279 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.293 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.590 [version_verify.cpp:66][PeerVersionCheck][tid:2034541] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.611 [version_verify.cpp:87][ParseVersionInfo][tid:2034541] VersionVerify: pass client version info success [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.622 [hdc_client.cpp:276][CheckHdcConnection][tid:2034541] Service[2] create hdc success [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.636 [process_mode_manager.cpp:438][ConstructOpenMsg][tid:2034541] [TsdClient] tsd get process sign successfully, procpid[2034539] signSize[48] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.650 [version_verify.cpp:112][SpecialFeatureCheck][tid:2034541] VersionVerify: previous type[6], supported [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.676 [process_mode_manager.cpp:138][OpenProcess][tid:2034541] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.133 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:2034541] [TsdClient] it is unnecessary of current mode[0] chiptype[0] to grant queue auth to aicpusd [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.165 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:2034541] enter into OpenInHost deviceid[0] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.178 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:2034541] host cpu not support [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.188 [process_mode_manager.cpp:168][OpenProcess][tid:2034541] [TsdClient][deviceId=0] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(2034539,acl_demo_app):2024-05-15-22:52:29.049.901 [device.cc:350] 2034541 Init: isAddrFlat:0 [INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:29.054.250 tracer_schedule.c:57 create object RUNTIME_ATRACE_DEV0_TS0 success, exitSave(false). [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.054.285 [client_manager.cpp:162][SetProfilingCallback][tid:2034541] [TsdClient] set profiling callback success [INFO] RUNTIME(2034539,acl_demo_app):2024-05-15-22:52:29.054.281 [npu_driver.cc:5490] 2034546 GetDeviceStatus: GetDeviceStatus status=1. [FFMPEGInput::Init] /home/thtf/Atlas_ACL_E2E_Demo/video/test.mp4 codec name:h264 avcc profile: 100 frame h: 720 frame w: 1280 ticks_per_frame: 2 framerate.num: 24000 framerate.den: 1001 ref frame num: 1 has B frame: 0 pix format: 0 codec_tag 828601953 extra_data size: 34 [DvppDecoder::Init] h: 720 w : 1280 output_size: 1382400 Error: aclvdecCreateChannel failed with error code 0 ./run.sh:行 16: 2034539 段错误 ./build/acl_demo_app -c $1

这个问题好像和 #52 有一点相似,不知道那位同学如何解决的,我仔细查看了视频的格式,确定是 h264 的 mp4视频 image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

jryxxx commented 6 months ago

好的,十分感谢!

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: 李睿昕 @.> 发送时间: 2024年5月16日 19:45 收件人: lenLRX/Atlas_ACL_E2E_Demo @.> 抄送: jryxxx @.>, Author @.> 主题: Re: [lenLRX/Atlas_ACL_E2E_Demo] ./run.sh config/yolox_bytetrack_demo.json 出现段错误 (Issue #69)

看不出问题,建议要不跑跑官方的vdec用例,看看有没有问题 要不降级到一个稳定一些的CANN版本试试

---原始邮件--- 发件人: @.> 发送时间: 2024年5月15日(周三) 晚上10:59 收件人: @.>; 抄送: @.**@.>; 主题: Re: [lenLRX/Atlas_ACL_E2E_Demo] ./run.sh config/yolox_bytetrack_demo.json 出现段错误 (Issue #69)

看起来很奇怪,没见过在这个接口报错的,设置这个环境变量然后执行一下看看有没有什么值得注意的报错? export ASCEND_SLOG_PRINT_TO_STDOUT=1

您好,感谢您的及时回复!我将输出复制到了下方 @.***:/home/thtf/Atlas_ACL_E2E_Demo# ./run.sh config/yolox_bytetrack_pedestrian_demo.json [INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:28.562.595 trace_attr.c:164 attr init success, timeout=3000, driver version=467731. [INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:28.562.650 trace_recorder.c:114 use root path: /root/ascend [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.613 [msprof_callback_impl.cpp:334] >>> (tid:2034539) Started to register profiling ctrl callback. [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.791 [msprof_callback_impl.cpp:341] >>> (tid:2034539) Started to register profiling hash id callback. [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.806 [prof_atls_plugin.cpp:83] >>> (tid:2034539) RegisterProfileCallback, callback type is 7 [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.817 [msprof_callback_impl.cpp:348] >>> (tid:2034539) Started to register profiling enable host freq callback. [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.669.827 [prof_atls_plugin.cpp:83] >>> (tid:2034539) RegisterProfileCallback, callback type is 8 [INFO] ASCENDCL(2034539,acl_demo_app):2024-05-15-22:52:28.677.638 [acl_resource_manager.cpp:90]2034539 GetRuntimeV2Env: runtime v2 flag : model flag = 1, singleOp flag = 1 [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.691.779 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[48] register callback of ctrl handle. [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.691.813 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[45] register callback of ctrl handle. [INFO] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.549 [prof_atls_plugin.cpp:160] >>> (tid:2034539) Module[7] register callback of ctrl handle. [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.658 [msprof_callback_impl.cpp:89] >>> (tid:2034539) MsprofCtrlCallback called, type: 255 [EVENT] PROFILING(2034539,acl_demo_app):2024-05-15-22:52:28.718.785 [ai_drv_dev_api.cpp:333] >>> (tid:2034539) Succeeded to DrvGetApiVersion version: 0x72313 total dev count: 1 [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.770 [client_manager.cpp:397][GetClientRunMode][tid:2034541] runningMode:0 [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.789 [client_manager.cpp:103][GetInstance][tid:2034541] curmode:1 [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.719.860 [process_mode_manager.cpp:121][OpenProcess][tid:2034541] [ProcessModeManager] enter into open process deviceId[0] rankSize[0] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.225 [process_mode_manager.cpp:391][InitTsdClient][tid:2034541] [TsdClient] deviceId[0] begin to init hdc client [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.349 [version_verify.cpp:34][SetVersionInfo][tid:2034541] VersionVerify: send client version to server [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.375 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.388 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.851 [version_verify.cpp:66][PeerVersionCheck][tid:2034541] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.868 [version_verify.cpp:87][ParseVersionInfo][tid:2034541] VersionVerify: pass client version info success [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.878 [hdc_client.cpp:276][CheckHdcConnection][tid:2034541] Service[2] create hdc success [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.892 [version_verify.cpp:120][SpecialFeatureCheck][tid:2034541] VersionVerify: new type[35], supported [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.720.939 [process_mode_manager.cpp:783][GetDeviceCheckCode][tid:2034541] [TsdClient][deviceId=0] [sessionId=1] wait package info respond [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.154 [process_mode_manager.cpp:391][InitTsdClient][tid:2034541] [TsdClient] deviceId[0] begin to init hdc client [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.265 [version_verify.cpp:34][SetVersionInfo][tid:2034541] VersionVerify: send client version to server [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.279 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.293 [version_verify.cpp:50][SetVersionInfo][tid:2034541] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.590 [version_verify.cpp:66][PeerVersionCheck][tid:2034541] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.611 [version_verify.cpp:87][ParseVersionInfo][tid:2034541] VersionVerify: pass client version info success [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.622 [hdc_client.cpp:276][CheckHdcConnection][tid:2034541] Service[2] create hdc success [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.636 [process_mode_manager.cpp:438][ConstructOpenMsg][tid:2034541] [TsdClient] tsd get process sign successfully, procpid[2034539] signSize[48] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.650 [version_verify.cpp:112][SpecialFeatureCheck][tid:2034541] VersionVerify: previous type[6], supported [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:28.721.676 [process_mode_manager.cpp:138][OpenProcess][tid:2034541] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.133 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:2034541] [TsdClient] it is unnecessary of current mode[0] chiptype[0] to grant queue auth to aicpusd [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.165 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:2034541] enter into OpenInHost deviceid[0] [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.178 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:2034541] host cpu not support [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.049.188 [process_mode_manager.cpp:168][OpenProcess][tid:2034541] [TsdClient][deviceId=0] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(2034539,acl_demo_app):2024-05-15-22:52:29.049.901 [device.cc:350] 2034541 Init: isAddrFlat:0 [INFO] ATRACE(2034539,acl_demo_app):2024-05-15-22:52:29.054.250 tracer_schedule.c:57 create object RUNTIME_ATRACE_DEV0_TS0 success, exitSave(false). [INFO] TDT(2034539,acl_demo_app):2024-05-15-22:52:29.054.285 [client_manager.cpp:162][SetProfilingCallback][tid:2034541] [TsdClient] set profiling callback success [INFO] RUNTIME(2034539,acl_demo_app):2024-05-15-22:52:29.054.281 [npu_driver.cc:5490] 2034546 GetDeviceStatus: GetDeviceStatus status=1. [FFMPEGInput::Init] /home/thtf/Atlas_ACL_E2E_Demo/video/test.mp4 codec name:h264 avcc profile: 100 frame h: 720 frame w: 1280 ticks_per_frame: 2 framerate.num: 24000 framerate.den: 1001 ref frame num: 1 has B frame: 0 pix format: 0 codec_tag 828601953 extra_data size: 34 [DvppDecoder::Init] h: 720 w : 1280 output_size: 1382400 Error: aclvdecCreateChannel failed with error code 0 ./run.sh:行 16: 2034539 段错误 ./build/acl_demo_app -c $1

这个问题好像和 #52 有一点相似,不知道那位同学如何解决的,我仔细查看了视频的格式,确定是 h264 的 mp4视频 image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>