-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DepthMap fails - Cannot get available memory information for CUDA gpu device 0 #594
Comments
The problem comes from here: "Cannot get available memory information for CUDA gpu device 0." Do you have another software using the GPU at the same time? |
Well, I tried again just after restarting OpenSUSE, to avoid any game or graphical program use CUDA. In fact, CUDA doesn't seem to be installed. Latest version of Nvidia drivers doesn't show any CUDA related package. However, I can use the GPU in Blender without problems. I did the test again, and same result. |
If it help to solve this problem, I tested same version on another PC with OpenSUSE but Intel GPU. This time, clearly Meshroom detect that is not a CUDA capabled GPU: `Program called with the following parameters:
[11:50:18.603172][warning] Could not determine number of CUDA cards in this system |
You have to make sure the NVIDIA driver with CUDA is correctly installed on OpenSUSE. |
As I wrote, there is not (un)official CUDA packages for OpenSUSE 15.1 from Nvidia, don't know the reasons, but they are not available yet. |
You could try installing the nVidia CUDA Toolkit |
I didn't know that way. I'll try tonight. |
No way. After installing the OpenSUSE version of Nvidia CUDA toolkit and reboot the system, nothing changed. Same result. Process stop in same point with same error. :( |
Did you test your cuda installation? https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#verify-installation |
Got the same Error in Meshroom 2019.2.0. but Meshroom 2018.1.0 work's fine on the same system |
Well, the test proposed in that page are fucosed to a user compilation of CUDA. In the case of a installed CUDA toolkit, executables are not located in the path related in Nvidia page. Anyway, I got to locate where the executables are located in my system, and the result are passed:
Even bandwidthTest is ok:
|
Same here. ` Meshroom-2018.1.0 works ok. |
I have updated the release binaires. This fixes the problem on the 2 computers on which I managed to reproduce the problem. Let me know if it works better for you now. |
Thanks for me it works now. |
The update solves the bug. Now I can at least try it, but I hope in the future Meshroom doesn't require CUDA ;) Thank you |
@fabiencastan Did you also change anything in AliceVision to resolve the bug? Hence if I would compile it with a version later than 7.0, would the error still be present? |
Confirming new binaries work fine, but it would be nice to fix compiling with a never cuda version. |
I have CUDA 8.0 installed (didn't compile myself)... does this mean I need to downgrade to 7.0 ?? I was following another issue on this topic where suggestions said to UPGRADE drivers |
Uh? A new set of binaries have been released with the same version number as the old binaries? This is bound to be hell for someone in the future. (I have been bitten by this type of problem quite a few times in the past. It's not fun to troubleshoot.) Here's the sha256 checksum for future reference (I know I'll need it).
|
I solved this problem by updating Nvidia driver from 418 to 450 and CUDA from 10.1 to 11.0. |
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:
[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
`
The text was updated successfully, but these errors were encountered: