andyzeng / tsdf-fusion

Fuse multiple depth frames into a TSDF voxel volume.
http://andyzeng.github.io/
BSD 2-Clause "Simplified" License
713 stars 133 forks source link

what cuda version #14

Closed lz2411 closed 6 years ago

lz2411 commented 6 years ago

Hi,thank you for publishing your code.

Can i ask what version of CUDA are you using? I used 9.1 and it is encounter an fatal error with cudaMalloc when running demo. My nvidia driver version is 384.111 and graphic processor is Quadro M2200.

andyzeng commented 6 years ago

I am using CUDA 8.0. Could you paste the fatal error message? (in particular, the specific fatal error code)

lz2411 commented 6 years ago

checkCUDA(LINE, cudaGetLastError())

The first checkCUDA in demo.cu. It says fatal error with Cuda, no detailed error. Maybe it's because I used cuda9. 1? Any idea? Thank you.

andyzeng commented 6 years ago

Could you copy paste the printout from your console? (or take a screenshot) Printing "FatalError" comes from a helper function in utils.hpp

lz2411 commented 6 years ago

error_cuda

Thank you for the help.

andyzeng commented 6 years ago

Your console prints CUDA failure code: 35. From cudaError_t (found in the driver_types.h file), this means:

     /**
     * This indicates that the installed NVIDIA CUDA driver is older than the
     * CUDA runtime library. This is not a supported configuration. Users should
     * install an updated NVIDIA display driver to allow the application to run.
     */
     cudaErrorInsufficientDriver           =     35,

It looks like you're having this error because your NVIDIA display driver 384.111 is not compatible with CUDA 9.1. Try downgrading to CUDA 9, or upgrading your display driver to 390.12. Some instructions here.

lz2411 commented 6 years ago

Thank you for the notes. It was resolved. I put in CUDA 8.0 but couldn't directly install the default NVIDA 375. This kernel i am using 4.3.0-37 doesn't run 390 or 375 driver. Eventually, it was fixed by installing a 375 transnational package for 384 (can be found in Synaptic).