Giter Site home page Giter Site logo

Comments (2)

lewisanderson avatar lewisanderson commented on June 24, 2024

I tried running the samples provided with the ZED sdk.

ZED right image disparity works properly for me, when I use the version downloaded as part of the SDK. But when I build it myself (using CMake), it builds correctly but encounters the same runtime issue as the zed-ros-wrapper.

Therefore I have concluded that the issue is with my ZED sdk installation, or build procedure, and is probably not a bug in zed-ros-wrapper itself.

The exact error:
~/git/rightimagedisparity/build$ optirun ./ZED\ right\ image\ disparity
ZED SDK >> (Init) Best GPU Found : GeForce GTX 960M , ID : 0
ZED SDK >> (Init) Disparity mode has been set to Quality mode
ZED SDK >> (Init) Creating ZED GPU mem...
ZED SDK >> (Init) Starting Self-Calibration in background...
ZED SDK >> (Init) No compatible NVIDIA device found, disparity map unavailable.
NO_GPU_COMPATIBLE

from zed-ros-wrapper.

lewisanderson avatar lewisanderson commented on June 24, 2024

I figured it out! I have both cuda 7.0 and cuda 7.5 installed on this machine. It was finding 7.0 by default, but the latest version of the ZED sdk requires cuda 7.5. If you use the wrong one, you get the weird failure above.

My workaround is to add this line to my zed_wrapper/CMakeLists.txt:
SET(CUDA_TOOLKIT_ROOT_DIR /usr/local/cuda-7.5)
find_package(CUDA 7.5 REQUIRED)

With that workaround, zed_wrapper runs succesfully for me! I'm not sure what the proper solution is, I am open to suggestions.

I need both versions because I use another tool which relies on cuda 7.0. :(

from zed-ros-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.