Difference between revisions of "CUDA ISP for NVIDIA Jetson/Getting Started/Building CUDA ISP for NVIDIA Jetson"
(→x86 platforms) |
(→Jetson platforms) |
||
Line 46: | Line 46: | ||
==== Jetson platforms ==== | ==== Jetson platforms ==== | ||
− | * Depending on what Jetpack release you have installed on your Jetson, you might want to download the corresponding CUDA Toolkit version, which includes NPPI library. In the following table you can see which one you need. Click on the link and follow the | + | * Depending on what Jetpack release you have installed on your Jetson, you might want to download the corresponding CUDA Toolkit version, which includes NPPI library. In the following table you can see which one you need. Click on the link and follow the selection menu. |
{| class="wikitable" | {| class="wikitable" |
Revision as of 10:05, 10 March 2023
CUDA ISP for NVIDIA Jetson | |
---|---|
CUDA ISP for NVIDIA Jetson Basics | |
|
|
Getting Started | |
|
|
User Manual | |
|
|
GStreamer | |
|
|
Examples | |
|
|
Performance | |
|
|
Contact Us | |
|
Contents
Dependencies
lleon: I think we should provide more hints. Ok. Here is a list but, where can we find them? (please remove this box when addressed) |
CUDA ISP has the following dependencies for building from source:
- CUDA
- NPPI
- libspdlog
- GstCUDA
Core
Please, install them using (in Debian-based systems):
sudo apt install -y \
libspdlog-dev \
python3-dev
CUDA L4T pacakge (NPPI library)
lleon: Be careful. Jetson is not compatible with CUDA 11.6. Most of X86 provides support but Jetson is a bit delicate. I would create a subsection dedicated to each platform (please remove this box when addressed) |
The Jetpack default installation will flash and install all the necessary CUDA packages, including NPPI library. This section describes how to perform a manual installation, which is typically __NOT__ needed
Installation guide for CUDA:
1. You will need to know which distribution version you are using:
lsb_release -a
2. Depending on your platform follow the next instructions:
Jetson platforms
- Depending on what Jetpack release you have installed on your Jetson, you might want to download the corresponding CUDA Toolkit version, which includes NPPI library. In the following table you can see which one you need. Click on the link and follow the selection menu.
Jetpack Release | CUDA Toolkit version |
---|---|
JetPack 4.x | Get CUDA 10.2 Toolkit |
JetPack 5.x | Get CUDA 11.4 Toolkit |
x86 platforms
- For x86 platforms, go to this link: CUDA 11.6.1 download archive and follow the selection menu.
- For Ubuntu x86 platforms you can follow this link: CUDA 11.6.1 Ubuntu x86 Configuration
3. Select the version depending on the lsb_release command executed above. We recommend using the deb (local) option for the installation.
4. Once you have selected your system setup, NVIDIA will show you the installation instructions for those requirements.
GstCUDA
lleon: Please, highlight that it is required for CUDA ISP in case they want to use it on GStreamer (please remove this box when addressed) |
GstCUDA is another RigdeRun product. This product is require for CUDA ISP if you want to use it with GStreamer applications. You can see more about this product in this link: Get GstCUDA
Documentation (optional)
For the documentation, consider the following dependency:
- doxygen
Please, install it using (in Debian-based systems):
sudo apt install -y \
doxygen \
Meson building system
At the building system level:
- ninja-build
- python3-pip
- pkg-config
- meson
Please, install them using (in Debian-based systems):
sudo apt install -y \
python3 \
python3-pip \
ninja-build \
pkg-config
The process should be similar in other systems, not based on Debian.
lleon: We do not need numpy nor pre-commit (it is only in developer mode) (please remove this box when addressed) |
Building the project
Once fulfilled the dependencies, you can run a default compilation with:
meson build
ninja -C build
sudo ninja -C build install
For additional customization, you may refer to the following table of options:
lleon: Fix this table accordingly. You can find the options by using meson config (please remove this box when addressed) |
Configure Option | Description |
---|---|
-Denable-python=disabled | Skip the Python API compilation. Enabled by default. |
-Dwith-python-version=3.8 | Sets the Python version. It takes '3' by default. |
-Denable-docs=disabled | Skip documentation generation. Enabled by default. |
--prefix /usr | Set the installation path of the library |
Table 1. CUDA ISP configuration options (Meson)