Comment 29 for bug 1758243

Rocko (rockorequin) wrote :

@zubozrout: I got the same error (Module 'nvidia' is not found) when I tried it just now. I had to alter the /etc/bumblebee/bumblebee.conf XorgModulePath in 18.10 to get optirun to work with the nvidia 415 driver:


and restart bumblebee (sudo systemctrl restart bumblebeed).

Note that the path used to start with /usr/lib/x86_64-linux-gnu/nvidia/xorg, but it looks like the module now goes just in /usr/lib/x86_64-linux-gnu/xorg:

$ ls /usr/lib/x86_64-linux-gnu/xorg

Not finding bbswitch shouldn't be such a big issue with newer kernals, because the kernel should be able to suspend the card automatically. You could try the latest bumblebee testing PPA ( and put this line into the [driver-nvidia] section of bumblebee.conf before restarting it:


For more details, see and specifically

There's no cosmic driver in that PPA, but the bionic one works just fine on my cosmic.