View Issue Details

IDProjectCategoryView StatusLast Update
0000673Cinelerra-GGFeaturepublic2026-03-06 15:52
ReporterPhyllisSmith Assigned ToPhyllisSmith  
PrioritylowSeverityminorReproducibilityhave not tried
Status acknowledgedResolutionopen 
Summary0000673: Cinelerra-GG Build Issues on Ubuntu 24 with CUDA 13.1
DescriptionInukshuk with his team noted problems building CinGG on Ubuntu 24 with CUDA 13.1. The last time it is known that anyone built with Cuda it was version 10 in 2019 as briefly documented in the manual at:
   https://download.cinelerra-gg.org/files/CinelerraGG_Manual/Effects_OpenCL_Cuda.html
The team provided these details on the problems.


-I-
Cinelerra-GG Build Issues on Ubuntu 24 with CUDA 13.1
Environment

    OS: Ubuntu (Studio) 24
    GPU: NVIDIA GeForce RTX 2070 (compute capability 7.5)
    CUDA Version: 13.1
    Driver Version: 590.48.01

Issue 1: Unsupported CUDA Architectures

Error:

nvcc fatal : Unsupported gpu architecture 'compute_35'

Cause: The file plugin_cuda specifies GPU architectures that are no longer supported by modern CUDA toolkits:

SMS ?= 35 37 50 52 60 61 70 75

CUDA 13.1 has dropped support for compute capabilities below 7.0 (or possibly 7.5). The build failed even after removing 35/37, then again on compute_50.

Fix: Changed SMS line in plugin_cuda to only include 75 (or other modern architectures).

Recommendation: The build system should detect the installed CUDA version and automatically select only supported architectures, or at minimum document which CUDA versions are compatible.
Issue 2: Missing CUDA Samples Headers

Error:

helper_cuda.h: No such file or directory

Cause: The build expects CUDA samples to be installed at /usr/local/cuda/samples/common/inc/, but CUDA samples are not included with the CUDA toolkit by default and must be cloned separately from GitHub.

Fix: Cloned https://github.com/NVIDIA/cuda-samples.git to /usr/local/cuda/samples/
Issue 3: CUDA Samples Directory Structure Changed

Error (after cloning samples):

helper_cuda.h: No such file or directory

Cause: The newer cuda-samples repository uses Common/ (capital C) instead of common/inc/.

Fix: Created symlink:
bash

sudo mkdir -p /usr/local/cuda/samples/common/inc
sudo ln -s /usr/local/cuda/samples/Common/*.h /usr/local/cuda/samples/common/inc/
```

---

### Issue 4: nbodycuda Plugin - Changed Sample Paths

**Error:**
```
5_Simulations/nbody/bodysystemcuda.h: No such file or directory

Cause: The nbodycuda plugin expects N-body simulation files at 5_Simulations/nbody/, but the current cuda-samples repository places them at Samples/5_Domain_Specific/nbody/.

Fix: Created symlink:
bash

sudo mkdir -p /usr/local/cuda/samples/5_Simulations
sudo ln -s /usr/local/cuda/samples/Samples/5_Domain_Specific/nbody /usr/local/cuda/samples/5_Simulations/nbody

Steps To ReproduceTry to follow the generic, although very brief, instructions in the manual.
Additional InformationAs kindly provided by the Inukshuk team:
Summary of Recommendations

    Update plugin_cuda to use only modern CUDA architectures (sm_70+), or implement auto-detection of supported architectures based on the installed CUDA version.
    Document CUDA samples dependency clearly, including the need to manually clone them and the expected repository version/structure.
    Update include paths for cuda-samples to reflect the current repository structure (Common/ instead of common/inc/, Samples/5_Domain_Specific/ instead of 5_Simulations/).
    Consider making CUDA plugins optional or providing a configure flag to disable them for users who don't need GPU acceleration.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-01-08 19:18 PhyllisSmith New Issue
2026-03-06 15:52 PhyllisSmith Assigned To => PhyllisSmith
2026-03-06 15:52 PhyllisSmith Status new => acknowledged