Please Help: Nvidia Drivers on Optimus Laptop Ubuntu 15.10

Hey guys, so I tried to install the vulkan driver a couple of days ago, but it did not work so I tried restoring my system by first uninstalling the vulkan driver, then purging everything nvidia, then installing nvidia-352 and nvidia-prime. But now GL doesn't work so I can only use xfce (which I am writing this on). In my Xorg.0.log (http://paste.ubuntu.com/15101909/) I have this line: (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found). So now all GL programs won't run. Currently I am using the 355 driver because some guy on the forum said it might work but it didn't fix the problem. Any help would be GREATLY appreciated. Notes: To be clear, I am no longer intending to install the beta vulkan driver. I have a muxless laptop so no, I can not disable the intel graphx card. And finally my graphics card is a GTX 960M

What Distro are you using

Its in the title lol, Ubuntu 15.10 (:

You can try setting the system to use the nvidia libgl manually:

update-alternatives --list libglx.so (check the available libgl providers?)

update-alternatives --set libglx.so /path/to/nvidia/libgl? (set the libgl provider to the desired one)

I assume the commands are correct, i do not have an ubuntu machine or any distro tha uses update-alteratives.

But i think the problem may very well be another... since gpumanager wich nvidia-prime uses should already take care of that.

OK, I will try that but right now some guy is helping me on askubuntu (http://askubuntu.com/questions/735969/please-help-nvidia-drivers-on-optimus-laptop-ubuntu-15-10). So I will wait to see if he has any ideas and if they don't work, I will come back to this thread.

gives me:
update-alternatives: error: no alternatives for libglx.so