I've given up on bumblebee.
I have upgraded an Ubuntu laptop over a few years and every upgrade it broke, requiring some new incantation to fix it the next time. I don't think it's considered the future?
I believe the future is called "Prime Synchronisation", announced a few years ago. Good luck getting it to work though: https://devtalk.nvidia.com/default/topic/957814/prime-and-pr... I gave up after a while.
We're probably nearing the time when I'll give all the methods another go, but currently I'm back into the "change setting and log out + in" camp.
As an aside, bumblebee also seems to break my i3 environment... I get hangs & magic sysreq won't recover. I've had to go back to the default DE.