Has anyone had any success getting gpu switching to work correctly in Ubuntu or any other similar Linux environment?
I have installed 'bumblebee' and seem to have Ubuntu running fine on the Intel gpu, but attempting to switch to the Nvidia gpu never seems to work right - it always fails to initialise. I don't have the machine in front of me right now, but when I get home I will edit in the error message that is given.
Has anyone else encountered anything like this?
The machine is a Gigabyte P27k with a GTX 765m and i7-4700mq.
did you follow one of the guides or just install the package?
bumblebee requires a service to be enabled
Other than that your driver might be installed wrong, or old. A safe assumption is to install newest drivers from a repository instead of the ones that come with ubuntu as they are usually outdated
Just use Manjaro, Sabayon or Mageia, all of those come with preconfigured proprietary graphics drivers and preconfigured nVidia Optimus. Don't waste your time trying to get Ubuntu to run, it's just not worth it.