Skip to content

Support for Ubuntu 24.04

It seems there is no support for the latest Ubuntu 24.04 yet.

https://gitlab.com/nvidia/container-images/opengl.git

https://hub.docker.com/r/nvidia/opengl/tags

I encountered the following issue while attempting to build with CUDA:

root@DEB-HPZ1G9To-4CE423BT3J:~/cuda# ./build.sh -d --image-name nvidia/cudagl --cuda-version 12.4 --os ubuntu --os-version 24.04 --arch x86_64 --cudagl --cuda-gl-version 24.04

>>> build.sh#188 build.sh START

### DEBUG: build.sh#212 found command '--image-name'

### DEBUG: build.sh#214 IMAGE_NAME=nvidia/cudagl

### DEBUG: build.sh#217 found command '--cuda-version'

### DEBUG: build.sh#219 CUDA_VERSION=12.4

### DEBUG: build.sh#227 found command '--os'

### DEBUG: build.sh#229 OS=ubuntu

### DEBUG: build.sh#232 found command '--os-version'

### DEBUG: build.sh#234 OS_VERSION=24.04

### DEBUG: build.sh#237 found command '--arch'

### DEBUG: build.sh#239 ARCHES=x86_64

### DEBUG: build.sh#209 found command '--cudagl'

### DEBUG: build.sh#222 found command '--cuda-gl-version'

### DEBUG: build.sh#224 CUDA_GL_VERSION=24.04

>>> build.sh#167 Setting OS_PATH_NAME to 'ubuntu2404'

### DEBUG: build.sh#169 OS_PATH_NAME: ubuntu2404

ERROR: no builder "cuda" found
build.sh#251 Running command:

docker buildx create --use --platform linux/x86_64,linux/arm64,linux/ppc64le --driver-opt image=moby/buildkit:v0.10.3 --name cuda --node cuda

Output:

cuda

Command returned: 0

### DEBUG: build.sh#88 git_clone_pull: $1: opengl, $2: https://gitlab.com/nvidia/container-images/opengl.git

>>> build.sh#97 Cloning into /root/cuda

build.sh#98 Running command:

git clone --branch=ubuntu24.04 https://gitlab.com/nvidia/container-images/opengl.git opengl

Output:

Cloning into 'opengl'...
fatal: Remote branch ubuntu24.04 not found in upstream origin

NVIDIA Driver and CUDA Version:

root@DEB-HPZ1G9To-4CE423BT3J:~/cuda# nvidia-smi
Tue Nov 26 22:46:01 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.135                Driver Version: 550.135        CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4060        Off |   00000000:01:00.0 Off |                  N/A |
|  0%   44C    P8             N/A /  115W |      28MiB /   8188MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A       992      G   /usr/lib/xorg/Xorg                             20MiB |
|    0   N/A  N/A      1160      G   xfwm4                                           2MiB |
+-----------------------------------------------------------------------------------------+

Please provide guidance or support for enabling CUDA builds with Ubuntu 24.04.

Thank you!