Cuda with bumblebee

Hello,

After 24 hours of searching and reading I have successfully installed bumblebee+cuda+tensorflow.

Normally everything is working fine. But I have a little problem:

When opening

'python'

directly and start tensorflow session it tells me that it couldn’t find a GPU device.

2018-01-27 15:34:49.308825: E tensorflow/stream_executor/cuda/cuda_driver.cc:406] failed call to cuInit: CUDA_ERROR_UNKNOWN
2018-01-27 15:34:49.308894: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:145] kernel driver does not appear to be running on this host (linux-2186): /proc/driver/nvidia/version does not exist

when I use

'optirun python'

it can detect my GPU. After searching the net some people said that optirun is used especially for GUI and that framework that uses cuda can work without bumblebee and optirun command

So how can I do that, is there a solution to run the driver of GPU for cuda usage without optirun.

It’s not a big problem. but I really want to know if there is a solution.

In this link of Archlinux: it said that we can run cuda without bumblebee but this doesn’t work for opensuse leap42.3
https://wiki.archlinux.org/index.php/bumblebee#CUDA_without_Bumblebee

Thank you.

I have the same problem.
Were you able to solve this error? If Yes then how?

Yes every thing seems to work as it should
take a look at this: https://github.com/Bumblebee-Project/Bumblebee/issues/944