Installing DPDK Framework for Holoscan Platform

From RidgeRun Developer Wiki



Previous: Holoscan SDK/Introduction Index Next: Contact_Us






Introduction

This subsection shows the steps to install the Holoscan SDK on a Jetson Orin board using a .deb package. It also shows how to perform some basic testing to confirm that the installation is correct by executing some of the examples included in the SDK package.

Installing Dependencies

CUDA is required to use the Holoscan SDK in Jetson platforms. Usually CUDA is installed by default when a board is flashed using SDKManager, but if CUDA is not installed use the following command to install it:

sudo apt update && sudo apt install -y cuda-toolkit-12-6

Keep in mind that previous command will install version 12.6 of CUDA, which is the official version supported in JetPack 6. It is recommend to use the CUDA version officially supported by the corresponding JetPack release.

Installing Holoscan SDK

For this guide, the Debian package installation method will be used. With this method, simply execute the following commands in the Jetson board:

sudo apt update

# Install Holoscan SDK
sudo apt install holoscan

It is important to know that this method will only install the C++ API as Python support is removed from the Holoscan SDK Debian package as of version 3.0.0.

Testing the SDK

After the installation process is completed the Holoscan SDK will be located in the path /opt/nvidia/holoscan, this path has the following contents:

nvidia@nvidia:/opt/nvidia/holoscan$ ls

bin  examples  include  lib  NOTICE  README

One easy way to verify that the Holoscan SDK installation was successful is to execute the included examples. You can execute the Hello World example by executing the following commands:

cd /opt/nvidia/holoscan/

./examples/hello_world/cpp/hello_world

If the installation was completed successfully the following output will be displayed:

[info] [fragment.cpp:705] Loading extensions from configs...
[info] [gxf_executor.cpp:265] Creating context
[info] [gxf_executor.cpp:2395] Activating Graph...
[info] [gxf_executor.cpp:2425] Running Graph...
[info] [gxf_executor.cpp:2427] Waiting for completion...
[info] [greedy_scheduler.cpp:191] Scheduling 1 entities

Hello World!

[info] [greedy_scheduler.cpp:338] Scheduler stopped: no more entities to schedule
[info] [greedy_scheduler.cpp:401] Scheduler finished.
[info] [gxf_executor.cpp:2430] Deactivating Graph...
[info] [gxf_executor.cpp:2438] Graph execution finished.
[info] [gxf_executor.cpp:295] Destroying context


RidgeRun Services

RidgeRun has expertise in offloading processing algorithms using FPGAs, from Image Signal Processing to AI offloading. Our services include:

  • Algorithm Acceleration using FPGAs.
  • Image Signal Processing IP Cores.
  • Linux Device Drivers.
  • Low Power AI Acceleration using FPGAs.
  • Accelerated C++ Applications.

And it includes much more. Contact us at https://www.ridgerun.com/contact.



Previous: Holoscan SDK/Introduction Index Next: Contact_Us