nvidia-holoscan / holoscan-sdk

The AI sensor processing SDK for low latency streaming workflows
Apache License 2.0
108 stars 31 forks source link

Failed to map buffer for DMA from using AJA to run sample app #2

Closed irisliuchuiyi closed 1 year ago

irisliuchuiyi commented 2 years ago

Ran sample applications on docker container using AJA as input and got the error below:

`root@e040d73400d2:/workspace# cd /opt/holoscan_sdk/segmentation_aja/ root@e040d73400d2:/opt/holoscan_sdk/segmentation_aja# ./apps/ultrasound_segmentation/run_segmentation_aja Script executed from: /opt/holoscan_sdk/segmentation_aja App yaml file is: /ultrasound_segmentation/segmentation_aja.yaml App manifest file is: /ultrasound_segmentation/segmentation_aja_manifest.yaml 2022-07-06 04:05:40.143 INFO gxf/gxe/gxe.cpp@230: Creating context 2022-07-06 04:05:40.578 INFO gxf/gxe/gxe.cpp@107: Loading app: 'apps/ultrasound_segmentation/segmentation_aja.yaml' 2022-07-06 04:05:40.578 INFO gxf/std/yaml_file_loader.cpp@117: Loading GXF entities from YAML file 'apps/ultrasound_segmentation/segmentation_aja.yaml'... 2022-07-06 04:05:40.593 INFO gxf/gxe/gxe.cpp@291: Initializing... 2022-07-06 04:05:40.896 INFO gxf/gxe/gxe.cpp@298: Running... 2022-07-06 04:05:40.897 INFO gxf/std/greedy_scheduler.cpp@170: Scheduling 8 entities 2022-07-06 04:05:40.897 INFO gxf_extensions/aja/aja_source.cpp@240: AJA Source: Using NTV2_CHANNEL1 2022-07-06 04:05:40.897 INFO gxf_extensions/aja/aja_source.cpp@241: AJA Source: RDMA is enabled 2022-07-06 04:05:41.048 ERROR gxf_extensions/aja/aja_source.cpp@231: Failed to map buffer for DMA 2022-07-06 04:05:41.048 ERROR gxf_extensions/aja/aja_source.cpp@263: Failed to setup AJA buffers. 2022-07-06 04:05:41.048 WARN gxf/std/greedy_scheduler.cpp@221: Error while executing entity 1 named 'source': GXF_FAILURE 2022-07-06 04:05:41.048 INFO gxf/std/greedy_scheduler.cpp@353: Scheduler finished. 2022-07-06 04:05:41.048 ERROR gxf/std/program.cpp@373: wait failed. Deactivating... ================================================================================================================================================================== Job Statistics Report (regular) ================================================================================================================================================================== Name Count Time (Median - 90% - Max) [ms] Load (%) Exec(ms) Variation (Median - 90% - Max) [ns]
==================================================================================================================================================================

2022-07-06 04:05:41.053 ERROR gxf/core/runtime.cpp@1173: Graph wait failed with error: GXF_FAILURE 2022-07-06 04:05:41.053 ERROR gxf/gxe/gxe.cpp@316: GxfGraphWait Error: GXF_FAILURE`

jjomier commented 2 years ago

Thanks for the report! Could you tell us which version of the Jetpack build you are currently using?