FWIW, I've found that optirun doesn't work in Ubuntu 18.10 - the nvidia module loads but as soon as the application tries to create a 3D window, the appliction exits - but primusrun does work, so long as you ensure the path to its libGL is correct, as per https://github.com/Bumblebee-Project/Bumblebee/issues/951#issuecomment-379512353:
FWIW, I've found that optirun doesn't work in Ubuntu 18.10 - the nvidia module loads but as soon as the application tries to create a 3D window, the appliction exits - but primusrun does work, so long as you ensure the path to its libGL is correct, as per https:/ /github. com/Bumblebee- Project/ Bumblebee/ issues/ 951#issuecommen t-379512353:
eg PRIMUS_ libGL=/ usr/lib/ x86_64- linux-gnu/ libGL.so. 1 primusrun 0ad
or I think you can also modify your primusrun file directly, as per https:/ /github. com/Bumblebee- Project/ Bumblebee/ issues/ 951#issuecommen t-412314114.