Skip to content
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

Unity Plugin Running Error OP_Error: Cuda check failed (35 vs. 0): CUDA driver version is insufficient for CUDA runtime version (Windows 10) #27

Closed
ErikaDan91 opened this issue May 3, 2019 · 6 comments
Labels
help wanted/question Extra attention is needed

Comments

@ErikaDan91
Copy link

Issue Summary

I'm trying to use OpenPose Unity Plugin (Unity version 2018.3.6f1), but when I run the game mode I have this error:

OP_error:
Error:
Cuda check failed (35 vs. 0): CUDA driver version is insufficient for CUDA runtime version

Coming from:

  • c:\users\tz1\documents\openpose\src\openpose\gpu\cuda.cpp:op::getCudaGpuNumber():48
  • c:\users\tz1\documents\openpose\src\openpose\gpu\cuda.cpp:op::cudaCheck():37
  • c:\users\tz1\documents\openpose\src\openpose\gpu\cuda.cpp:op::getCudaGpuNumber():58
  • c:\users\tz1\documents\openpose\src\openpose\gpu\gpu.cpp:op::getGpuNumber():27
  • c:\users\tz1\documents\openpose\include\openpose\wrapper\wrapperauxiliary.hpp:op::configureThreadManager():1118
  • c:\users\tz1\documents\openpose\include\openpose\wrapper\wrapper.hpp:op::WrapperT<struct op::Datum,class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > >,class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::shared_ptr<class op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > > >::exec():424
  • c:\users\tz1\documents\openpose\src\openpose\unity\unitybinding.cpp:op::openpose_main():453
  • [Error occurred in a destructor or in the OpenPose Unity Plugin, so no std::exception has been thrown. Returning with exit status 0]

UnityEngine.Debug:LogError(Object)
OpenPose.OPWrapper:m__0(String, Int32) (at Assets/OpenPose/Modules/Scripts/OPWrapper.cs:231)
OpenPose.OPBind:_OPRun()
OpenPose.OPWrapper:OPExecuteThread() (at Assets/OpenPose/Modules/Scripts/OPWrapper.cs:268)

I installed the latest OpenPose portable demo available (v. 1.4), but I read that the software version required is the 1.5.0.

OpenPose v. 1.4 (openpose-1.4.0-win64-gpu-binaries_recommended.zip) works properly.

Can you help me?

Thx

Executed Command (if any)

Play mode Unity 2018.3.6

Errors (if any)

OP_error:
Error:
Cuda check failed (35 vs. 0): CUDA driver version is insufficient for CUDA runtime version

Coming from:

  • c:\users\tz1\documents\openpose\src\openpose\gpu\cuda.cpp:op::getCudaGpuNumber():48
  • c:\users\tz1\documents\openpose\src\openpose\gpu\cuda.cpp:op::cudaCheck():37
  • c:\users\tz1\documents\openpose\src\openpose\gpu\cuda.cpp:op::getCudaGpuNumber():58
  • c:\users\tz1\documents\openpose\src\openpose\gpu\gpu.cpp:op::getGpuNumber():27
  • c:\users\tz1\documents\openpose\include\openpose\wrapper\wrapperauxiliary.hpp:op::configureThreadManager():1118
  • c:\users\tz1\documents\openpose\include\openpose\wrapper\wrapper.hpp:op::WrapperT<struct op::Datum,class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > >,class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > >,class std::shared_ptr<class op::Worker<class std::shared_ptr<class std::vector<class std::shared_ptr,class std::allocator<class std::shared_ptr > > > > > >::exec():424
  • c:\users\tz1\documents\openpose\src\openpose\unity\unitybinding.cpp:op::openpose_main():453
  • [Error occurred in a destructor or in the OpenPose Unity Plugin, so no std::exception has been thrown. Returning with exit status 0]

UnityEngine.Debug:LogError(Object)
OpenPose.OPWrapper:m__0(String, Int32) (at Assets/OpenPose/Modules/Scripts/OPWrapper.cs:231)
OpenPose.OPBind:_OPRun()
OpenPose.OPWrapper:OPExecuteThread() (at Assets/OpenPose/Modules/Scripts/OPWrapper.cs:268)

Type of Issue

You might select multiple topics, delete the rest:

  • Execution error
  • Help wanted
  • Question

Your System Configuration

  1. OpenPose version: v. 1.4.0
    OpenPose Unity Plugin default

  2. General configuration:

    • Operating system : Windows 10
    • Compiler: VS2017 community
  3. Non-default settings:

    • Any custom OpenPose configuration with respect to the default version? (by default: no):
  4. 3rd-party software:

    • Caffe version: Default from OpenPose
    • OpenCV version: OpenPose default (only Windows);
  5. If GPU mode issue:

    • CUDA version (cat /usr/local/cuda/version.txt in most cases): 10.0
    • cuDNN version: 7.5.0
    • GPU model (nvidia-smi in Ubuntu): Nvidia GeForce GTX 1070
  6. If Windows system:

    • Default OpenPose DLL
@gineshidalgo99
Copy link
Member

gineshidalgo99 commented May 3, 2019

What are your Nvidia drivers version? This usually happens when those are too old.

@ErikaDan91
Copy link
Author

Thx!! I have upgraded Nvidia drivers to version 430.39. I had the previous version. Now it works.
Bye

@gineshidalgo99 gineshidalgo99 added the help wanted/question Extra attention is needed label May 6, 2019
@anthnyprschka
Copy link

@ErikaDan91 How did you upgrade your Nvidia drivers to version 430.39? For me it only shows 430.26 (ubuntu 16.04)

@ErikaDan91
Copy link
Author

Hi, I upgraded my Nvidia drivers for Windows 10, and for GPU Nvidia GeForce GTX 1070 from https://www.geforce.com/drivers.

@yoonji-nam
Copy link

Same error occurred. Even if I have already upgraded driver.. Is this the only issue related with the driver? My environment is like: Windows 10, GeForce GTX1080.

@thunderknight176
Copy link

I have the same error, but I don't have GPU and when i try to turn it to CPU only it doesn't work. What do I do to remove the error if I don't have GPU?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted/question Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants