meshroom not detecting GPU - please help

2,470 views
Skip to first unread message

shorty j

unread,
Jan 20, 2021, 8:56:14 PM1/20/21
to AliceVision
I get this error on depthmap every time no matter what I try.  I've tried reinstalling/updating drivers, setting meshroom.exe to use all GPUs in NVIDIA control.  I'm sure i've tried several other things I've seen on forums too but no luck.

[14:08:48.496508][warning] Could not determine number of CUDA cards in this system
[14:08:48.480079][warning] No CUDA-Enabled GPU.
[14:08:48.496508][error] cudaGetDeviceCount failed: CUDA driver version is insufficient for CUDA runtime version
[14:08:48.496508][info] Can't find CUDA-Enabled GPU.
[14:08:48.496508][error] This program needs a CUDA-Enabled GPU (with at least compute capability 2.0).

Cuda device query yields the following.  Please help?  

 CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "Quadro 4000"
  CUDA Driver Version / Runtime Version          8.0 / 8.0
  CUDA Capability Major/Minor version number:    2.0
  Total amount of global memory:                 2048 MBytes (2147483648 bytes)
  ( 8) Multiprocessors, ( 32) CUDA Cores/MP:     256 CUDA Cores
  GPU Max Clock rate:                            950 MHz (0.95 GHz)
  Memory Clock rate:                             1404 Mhz
  Memory Bus Width:                              256-bit
  L2 Cache Size:                                 524288 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(65536), 2D=(65536, 65535), 3D=(2048, 2048, 2048)
  Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 32768
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  1536
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (65535, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 1 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  CUDA Device Driver Mode (TCC or WDDM):         WDDM (Windows Display Driver Model)
  Device supports Unified Addressing (UVA):      Yes
  Device PCI Domain ID / Bus ID / location ID:   0 / 1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 8.0, CUDA Runtime Version = 8.0, NumDevs = 1, Device0 = Quadro 4000
Result = PASS

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\extras\demo_suite>

Steven Lancaster

unread,
Jan 21, 2021, 3:52:25 AM1/21/21
to AliceVision
I had the same problem so contacted NVIDIA. They were very helpful, told me the correct driver and CUDA version combo I needed for my setup. I can no run Meshroom no problem.

shorty j

unread,
Jan 25, 2021, 9:34:01 AM1/25/21
to AliceVision
I was given the latest on both versions for my card by NVIDIA support - but it hasn't seemed to help...  It's very frustrating.   Any suggestions?

Steven Lancaster

unread,
Jan 25, 2021, 12:02:09 PM1/25/21
to AliceVision
Sorry to hear that. All I can do is let you know the steps I went through on Windows 10, which were :

1. Install Microsoft Visual Studio
2. On advice from NVIDIA, installed latest driver for my GPU, and best version of CUDA that my GPU can support (in my case not the latest version of CUDA)
3. In Windows Graphics options, set the processor to High Performance for Meshroom, i.e. my GPU not the CPU
4. As my laptop only has 16Gb RAM, I needed to reduce the DepthMap resolution, by increasing the Downscale parameter to 4 in the DepthMap node.

Good luck

shorty j

unread,
Jan 25, 2021, 12:08:34 PM1/25/21
to AliceVision
I'll try those steps tonight along with fresh installs of all drivers.  Thank you!   Was there a minimal installation of Visual Studio that was required?  I think I did most basic setup when I ran that.
Reply all
Reply to author
Forward
0 new messages