# Ubuntu20 nvidia rtx 4090 cuda not supported

**URL:** <https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335>\
**Category:** Software\
**Tags:** linux, sdk\
**Created:** [October 29, 2024, 10:56pm UTC](https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335 "2024-10-29T22:56:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![weizhu](https://community.stereolabs.com/user_avatar/community.stereolabs.com/weizhu/32/3561_2.png) [@weizhu](https://community.stereolabs.com/u/weizhu)\
**Post date:** [October 29, 2024, 10:56pm UTC](https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335/1 "2024-10-29T22:56:42Z")

</div>

Hello,

When I was installing zed sdk, cuda 12.1 was required. But I am using ubuntu 20.04 and NVIDIA RTX 4090, and the lowest cuda version seems to be cuda 12.2.  
I tried to remove default cuda and let the zed sdk automatically install cuda. However, when I did this, I could not log in ubuntu gui. So I have to remove cuda and reinstalled default cuda and nvidia driver so that I could use my PC again.  
So the question here is how to install zed sdk on ubuntu 20 with NVIDIA rtx 4090.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [October 30, 2024, 10:53am UTC](https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335/2 "2024-10-30T10:53:26Z")

</div>

The ZED SDK supports CUDA 12.2.

---

<div class="post-metadata">

**Author:** ![weizhu](https://community.stereolabs.com/user_avatar/community.stereolabs.com/weizhu/32/3561_2.png) [@weizhu](https://community.stereolabs.com/u/weizhu)\
**Post date:** [October 30, 2024, 1:26pm UTC](https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335/3 "2024-10-30T13:26:12Z")

</div>

Yeah, I successfully installed sdk with cuda12.2. But I have another issue same as this [Object Detection sample code Error Message](https://community.stereolabs.com/t/object-detection-sample-code-error-message/6594)  
I followed the solution, doing ‘sudo prime-select nvidia’, but I could no longer login to my PC. I am concerned that ZED and its apis can’t well support RTX4090.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [October 30, 2024, 6:33pm UTC](https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335/4 "2024-10-30T18:33:11Z")

</div>

We use RTX4090 with no issues.  
Can you check in the BIOS settings if you have Secure Boot enabled?

---

<div class="post-metadata">

**Author:** ![weizhu](https://community.stereolabs.com/user_avatar/community.stereolabs.com/weizhu/32/3561_2.png) [@weizhu](https://community.stereolabs.com/u/weizhu)\
**Post date:** [October 30, 2024, 6:46pm UTC](https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335/5 "2024-10-30T18:46:20Z")

</div>

We students don’t have permission to revise BIOS because all lab PCs are managed by IT office. I will ask them,

---

<div class="post-metadata">

**Author:** ![weizhu](https://community.stereolabs.com/user_avatar/community.stereolabs.com/weizhu/32/3561_2.png) [@weizhu](https://community.stereolabs.com/u/weizhu)\
**Post date:** [November 1, 2024, 8:14pm UTC](https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335/6 "2024-11-01T20:14:27Z")

</div>

We solved the problem.When doing ‘sudo prime-select nvidia’, the monitor should be connected to the NVIDIA HDMI ports instead of other HDMI ports.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [November 6, 2024, 8:42am UTC](https://community.stereolabs.com/t/ubuntu20-nvidia-rtx-4090-cuda-not-supported/7335/7 "2024-11-06T08:42:39Z")

</div>

[quote=“weizhu, post:6, topic:7335”]  
the monitor should be connected to the NVIDIA HDMI ports instead of other HDMI ports.[/quote]  
I apologize to not have asked to check this. I thought it was obvious.
