SDK Manager 1.7.2 for jetson devices do not offer JetPack 4.4.1

I want to install nsight systems for profiling on my Jetson AGX Xavier. I had installed sdkmanager previously on my host system (Ubuntu 18.04). However it updated to the latest version, and now it does not have Jetpack 4.4.1 in its product version options, only 4.5 and up. I do not want to flash the Xavier again, but just install additional components.
Should I install a previous sdkmanager version to get the 4.4.1 compatibility?

Hi,
Please try this:
How to install the latest Multimedia-API module? - #4 by DaneLLL

1 Like

Thanks, that worked!
But I ran into an error : Installation failed. The error was in multimedia API. Relevant part of the logs:
08:40:18.733 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: Note, selecting ‘nvidia-l4t-jetson-multimedia-api’ instead of ‘/opt/nvidia/deb_repos/nvidia-l4t-jetson-multimedia-api_32.4.4-20201016123640_arm64.deb’
08:40:18.910 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: Some packages could not be installed. This may mean that you have
08:40:18.911 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: requested an impossible situation or if you are using the unstable
08:40:18.911 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: distribution that some required packages have not yet been created
08:40:18.912 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: or been moved out of Incoming.
08:40:18.912 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: The following information may help to resolve the situation:
08:40:18.912 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER:
08:40:18.913 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: The following packages have unmet dependencies:
08:40:18.993 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: nvidia-l4t-jetson-multimedia-api : Depends: nvidia-l4t-camera (= 32.4.4-20201016123640) but 32.4.4-20201027211332 is to be installed
08:40:18.994 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: Depends: nvidia-l4t-multimedia (= 32.4.4-20201016123640) but 32.4.4-20201027211332 is to be installed
08:40:18.995 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: Depends: nvidia-l4t-multimedia-utils (= 32.4.4-20201016123640) but 32.4.4-20201027211332 is to be installed
08:40:19.083 - error: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: E: Unable to correct problems, you have held broken packages.
08:40:19.083 - info: Event: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER - error is: E: Unable to correct problems, you have held broken packages.
08:40:19.090 - error: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: Unhandled error when running sudo apt-get -y --allow-downgrades install /opt/nvidia/deb_repos/nvidia-l4t-jetson-multimedia-api_32.4.4-20201016123640_arm64.deb: E: Unable to correct problems, you have held broken packages.;
08:40:19.090 - info: Event: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER - error is: Unhandled error when running sudo apt-get -y --allow-downgrades install /opt/nvidia/deb_repos/nvidia-l4t-jetson-multimedia-api_32.4.4-20201016123640_arm64.deb: E: Unable to correct problems, you have held broken packages.;
08:40:19.090 - info: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP@JETSON_AGX_XAVIER: [ Package Install Finished with Error ]

Attached also are the complete log files.
SDKM_logs_JetPack_4.4.1_Linux_for_Jetson_AGX_Xavier_2022-02-03_08-37-41.zip (136.4 KB)

I did try updating nvidia-l4t-multimedia on the target, and also tried downgrading it. But then it got into a dependency mess. How can I complete the installation through sdkmanager?

Hi csaparna,

Please try below command to install MMAPI by manually:

sudo apt update
sudo apt list -a nvidia-l4t-jetson-multimedia-api
sudo apt install nvidia-l4t-jetson-multimedia-api=32.4.4-20201016123640

Thanks for the response. This command gives error. Below is the output:

$ sudo apt install nvidia-l4t-jetson-multimedia-api=32.4.4-20201016123640
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-l4t-jetson-multimedia-api : Depends: nvidia-l4t-camera (= 32.4.4-20201016123640) but 32.4.4-20201027211332 is to be installed
                                    Depends: nvidia-l4t-multimedia (= 32.4.4-20201016123640) but 32.4.4-20201027211332 is to be installed
                                    Depends: nvidia-l4t-multimedia-utils (= 32.4.4-20201016123640) but 32.4.4-20201027211332 is to be installed
E: Unable to correct problems, you have held broken packages.

The currently installed version is 32.4.4-20201027211332 arm64

Also, in the sdkmanager, the host side installation is shown as complete. However the folder location it refers to only has documentation files. The tree created is as below:

aparna@CyberMed-R6-1:~$ cd nvidia/
aparna@CyberMed-R6-1:~/nvidia$ ls
nvidia_sdk
aparna@CyberMed-R6-1:~/nvidia$ cd nvidia_sdk/
aparna@CyberMed-R6-1:~/nvidia/nvidia_sdk$ ls
JetPack_4.4.1_Linux  JetPack_4.4.1_Linux_JETSON_AGX_XAVIER
aparna@CyberMed-R6-1:~/nvidia/nvidia_sdk$ cd JetPack_4.4.1_Linux
aparna@CyberMed-R6-1:~/nvidia/nvidia_sdk/JetPack_4.4.1_Linux$ ls
documentations
aparna@CyberMed-R6-1:~/nvidia/nvidia_sdk/JetPack_4.4.1_Linux$

Then where would be the applications such as NSight?

Hi csaparna,

Please replaced below version to install MMAPI:
sudo apt install nvidia-l4t-jetson-multimedia-api=32.4.4-20201027211332

The Nsight path on your host machine: /usr/local/cuda-10.2/bin/

1 Like

Thanks! I can see that all the host components are installed. This version of MMAPI is already installed on target. So can I ignore the error that I get on sdkmanager and just consider it finished?

1 Like

Hi csaparna,

Yes, thanks for your update.

Hi carolyuu,

The Nsight path is as you have mentioned above. However when I tried to launch nsight on this host device, I got error messages:

/usr/local/cuda-10.2/bin$ ./nsight-sys 
Error: Nsight Systems 2019.5.2 hasn't been installed with CUDA Toolkit 10.2

Also,

/usr/local/cuda-10.2/bin$ ./nsight
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
CompileCommand: exclude java/lang/reflect/Array.newInstance
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.osgi.storage.FrameworkExtensionInstaller (file:/usr/local/cuda-10.2/libnsight/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.storage.FrameworkExtensionInstaller
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

This opened the Workspace Launcher . However, then it gave an error message:
An error has occurred. See the log file
/home/aparna/cuda-workspace/.metadata/.log.

I have attached this log file.
.log (324.4 KB)

Then, how should I go about profiling a script in my target Tegra device from this Ubuntu host?

Hi csaparna,

From logs, your host machine doesn’t install CUDA toolkit 10.2.
Please use SDK Manager to install again on your host machine.

This is what the SDK manager shows:

It says that CUDA Toolkit is installed. But it is also weird that the path shown as where it is installed does not have any of those files.

How do I correct the installation?

Hi csaparna,

Please back to step 1 and click “Repair/Uninstall” to try again.
Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.