Error: This program needs a CUDA Enabled GPU - alicevision/Meshroom GitHub Wiki
Meshroom 2020 requires at least compute capability 3 (built with CUDA SDK 10). Take a look at this table to find your device https://en.wikipedia.org/wiki/CUDA. Otherwise you can use Meshroom 2019 which requires compute capability 2.
This error message on a computer with NVIDIA GPU
[error] This program needs a CUDA-Enabled GPU (with at least compute capability 3.0),
but Meshroom is running on a computer with an NVIDIA GPU.
Solution: update/reinstall your drivers
-
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)
https://github.com/alicevision/meshroom/issues/793#issuecomment-587995464
Also: 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.
You can test out the first Version for Windows that, thanks to ZLUDA does not require a NVIDIA GPU: Meshroom-2023.3.0-ZLUDA-2024-03.zip
[Request] Remove CUDA dependency alicevision/#439 In addition to being able to run Meshroom using ZLUDA Meshroom-2023.3.0-ZLUDA-2024-03.zip, MeshroomResearch now allows to run COLMAP in the backend (or MicMac if you like)
Can I use Meshroom without a GPU?
Yes, but you have to use Draft Meshing to complete the reconstruction.
As of April 2024, ZLUDA supports Meshroom. This makes it possible to run Meshroom on computers with AMD GPUs https://github.com/alicevision/Meshroom/issues/595#issuecomment-2028438649 Meshroom-2023.3.0-ZLUDA-2024-03.zip
Why does Meshroom use CUDA?
Background on why CUDA is more popular than OpenCL/Vulkan
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
On Ubuntu, installing sudo ubuntu-drivers autoinstall
is know to work (tested on fresh Ubuntu 20 LTS)
Run Meshroom in the cloud
or