Bumblebee on openSUSE

ref: Bumblebee

zypper ar -f http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_42.1/X11:Bumblebee.repo  
zypper in bumblebee  
usermod -G video,bumblebee tom  
systemctl enable bumblebee  

Check /etc/modprobe.d/50-blacklist.conf for line blacklist nouveau. If not add it.

mkinitrd  

Install nvidia driver if want to use its graphic card for games etc.

zypper in linux-glibc-devel  
zypper in -t pattern devel_kernel  

Follow this Install link

zypper in nvidia-bumblebee  
zypper in nvidia-bumblebee-32bit  
systemctl enable dkms  
mkinitrd  
reboot  

Test function

optirun --status  
optirun glxspheres  
primusrun glxspheres  
glxspheres  

Steam Games

add advanced launch command: primusrun %command%