Install CUDA and opencv manually in TX2

I am TX2 user I have Downloaded the Jetpack 3.2 and able to flash the the components of the Jetpack. Now i want to downgrade because I am facing some issues.
I want to downgrade cuda 9 to Cuda 8.
Please help us in downgrading.


Hi Harish_Biruduganti, to downgrade back to CUDA 8, it is recommended to re-flash with JetPack 3.1 which formally supports CUDA 8. Although you can obtain the CUDA and OpenCV binary deb packages by running JetPack on the host and looking under the jetpack_downloads/ folder, where the debs are stored, it is not officially recommended to mix-and-match CUDA versions against L4T.

I have flashed jetpack3.2 because I need opencv3.2. In Jetpack3.1 it supports opencv2.4.13, which I dont want to use.With opencv 3.2 I need CUDA 8. That why I need to downgrade from cuda 9 to cuda 8. Please help us solving this issue.


You don’t need to downgrade. The simplest solution would be to build your own opencv library from source, so that it can use cuda9.
You may check

is there any tutorial how to install opencv for cuda 9.0 from source on jetson tx2? I need install CAP Gstreamer and so on my jetson.

You may check

It seems that OpenCV4Tegra doesn’t support GPU.
I ran the same code with (




I get the same frame per second about 3 to 4.12

what is wrong?

my system:

L4T 28.2.1 [ 3.2.1 ]
Board: t186ref
Ubuntu 16.04.6 LTS
Kernel Version: 4.4.38-tegra
CUDA 9.0.252