Skip to content

Error: This program needs a CUDA Enabled GPU

natowi edited this page Apr 21, 2020 · 25 revisions

This error message on a computer with NVIDIA GPU

[error] This program needs a CUDA-Enabled GPU (with at least compute capability 2.0), but Meshroom is running on a computer with an NVIDIA GPU.

Solution: update/reinstall your drivers Details: #182 #197 #203

Open the NVIDia Control Center and go to the left panel 3D Settings / Manage 3D Settings. In the right panel use the Program Setting Tab to Add Meshroom. In the Feature List set CUDA - GPUs to All.

For laptops: make sure the NVIDIA GPU is set as primary GPU (sometimes laptops use Intel HD graphics chip to save power)

More: https://github.com/alicevision/meshroom/wiki/DepthMap-slow-or-red-bar-or-crash

With FeatureExtraction

Force CPU extraction disabled (experimental) https://github.com/alicevision/popsift used in FeatureExtraction needs cuda compute capability 3+

Does my GPU support CUDA?

Check https://developer.nvidia.com/cuda-gpus

This Error message on a computer without NVIDIA GPU

The depth map computation is implemented with CUDA and requires an NVIDIA GPU.

#218 #260

[Request] Remove CUDA dependency alicevision/#439

Currently, we have neither the interest nor the resources to do another implementation of the CUDA code to another GPU framework. If someone is willing to make this contribution, we will support and help for integration.*

Can I use Meshroom without an NVIDIA GPU?

Yes, but you have to use Draft Meshing to complete the reconstruction.

Why CUDA?

Background on why CUDA is more popular than OpenCL/Vulkan

CUDA vs. OpenCL

CUDA on Linux

Read https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html

On Debian installing nvidia-cuda-dev is known to work: https://github.com/alicevision/meshroom/issues/624#issuecomment-549392265

Run Meshroom in the cloud

Meshroom-on-Google-Colab

or

Amazon Web Service