NOTE: The following instructions assume you are using a default download of Porteus-v2.1-MATE-x86_64.iso
This module contains /etc/group and /etc/gshadow because a new group had to be added for bumblebee.
Please download the module from here:
download
Place the module in your modules folder (/mnt/sdxY/porteus/modules) but do not activate it.
By default your system will be using the default GPU module (probably i915 in your case). You can check with:
lsmod|grep drm
Open a console and issue the following commands.
glxgears
Check the FPS to compare to the second run
Now reboot porteus with the downloaded nvidia module in the 'modules' folder.
Open a console again and issue the following:
/etc/rc.d/rc.bumblebeed restart
echo ON > /proc/acpi/bbswitch
modprobe nvidia
optirun --no-failsafe --debug glxgears
Check the FPS again and you should a significant improvement.
There should also be an nVidia settings under the System/Preferences menu where you can look at things. You can launch applications using the nvidia GPU like so:
optirun application
If you always launch certain applications using the nvidia by editing the /usr/share/applications/myApplication.desktop and editing the Exec= line to include the optirun prefix.
Let me know if you have any problems.