Cuda with bumblebee


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


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/] failed call to cuInit: CUDA_ERROR_UNKNOWN
2018-01-27 15:34:49.308894: I tensorflow/stream_executor/cuda/] 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

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: