Skip to content

DepthMap fails - Cannot get available memory information for CUDA gpu device 0 #594

@RafaelLinux

Description

@RafaelLinux

I just download and execute Meshroom in OpenSUSE 15.1 with the propietary Nvidia drivers. However, process always fails in "DepthMap" module. Please, could you help me?

This is the log:

`Program called with the following parameters:

  • downscale = 2
  • exportIntermediateResults = 0
  • imagesFolder = "/tmp/MeshroomCache/PrepareDenseScene/b7f2988d7aeb01eaef9ba71381ea55dbcd34d57d"
  • input = "/tmp/MeshroomCache/StructureFromMotion/b37bea3c5876c5aec6ddb824486ecb76c7ca9ad9/sfm.abc"
  • maxViewAngle = 70
  • minViewAngle = 2
  • nbGPUs = 0
  • output = "/tmp/MeshroomCache/DepthMap/dff0c8d68b092f5650ef612ce38629be6708b520"
  • rangeSize = 3
  • rangeStart = 0
  • refineGammaC = 15.5
  • refineGammaP = 8
  • refineMaxTCams = 6
  • refineNDepthsToRefine = 31
  • refineNSamplesHalf = 150
  • refineNiters = 100
  • refineSigma = 15
  • refineUseTcOrRcPixSize = 0
  • refineWSH = 3
  • sgmGammaC = 5.5
  • sgmGammaP = 8
  • sgmMaxTCams = 10
  • sgmWSH = 4
  • verboseLevel = "info"

[22:31:22.795596][warning] Cannot get available memory information for CUDA gpu device 0.
[22:31:22.708762][warning] CUDA-Enabled GPU.
Device information:
- id: 0
- name: GeForce GTX 1050 Ti
- compute capability: 6.1
- total device memory: 4038 MB
- device memory available: 0 MB
- per-block shared memory: 49152
- warp size: 32
- max threads per block: 1024
- max threads per SM(X): 2048
- max block sizes: {1024,1024,64}
- max grid sizes: {2147483647,65535,65535}
- max 2D array texture: {131072,65536}
- max 3D array texture: {16384,16384,16384}
- max 2D linear texture: {131072,65000,2097120}
- max 2D layered texture: {32768,32768,2048}
- number of SM(x)s: 6
- registers per SM(x): 65536
- registers per block: 65536
- concurrent kernels: yes
- mapping host memory: yes
- unified addressing: yes
- texture alignment: 512 byte
- pitch alignment: 32 byte

[22:31:22.796074][info] Supported CUDA-Enabled GPU detected.
[22:31:22.813640][info] Found 1 image dimension(s):
[22:31:22.813684][info] - [1024x1536]
[22:31:22.936193][info] Overall maximum dimension: [1024x1536]
[22:31:22.936298][info] Create depth maps.

CUDAError: unknown error
file: /opt/AliceVision_git/src/aliceVision/depthMap/cuda/planeSweeping/plane_sweeping_cuda.cu
function: ps_listCUDADevices
line: 205

[22:31:22.936615][info] # GPU devices: 1, # CPU threads: 4
[22:31:22.936649][info] Plane sweeping parameters:
- scale: 2
- step: 2
[22:31:22.936690][info] PlaneSweepingCuda:
- _nImgsInGPUAtTime: 13
- scales: 2
- subPixel: Yes
- varianceWSH: 4
terminate called after throwing an instance of 'std::runtime_error'
what(): Device alloc 2D array failed: unknown error
`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions