apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Perception crashes without nvidia driver

Open davidadley opened this issue 7 years ago • 1 comments

Latest master branch.

Describe the bug If perception is run from dreamview without the nvidia drivers installed it will crash after searching for libcuda.

To Reproduce

  1. Compile on a computer without nvidia drivers.
  2. Try to run perception module in dreamview

Workaround If you replace

--cxxopt=-DCPU_ONLY

with

--define USE_GPU=false --cxxopt=-DCPU_ONLY --cxxopt=-DPERCEPTION_CPU_ONLY

everywhere in apollo.sh, it works as perception module doesn't appear to compile properly without the PERCEPTION_CPU_ONLY compiler option.

davidadley avatar Oct 30 '19 15:10 davidadley

Yes, perception will need GPU, and don't support cpu only mode.

daohu527 avatar Aug 21 '22 03:08 daohu527