I have an Optimus controlled Laptop with a discrete graphics card, a Nvidia Geforce GTX 670MX, and an Intel processor i7-3630QM with integrated graphics card using the i915 module.
This hardware constellation worked well with OpenSUSE 13.1 and bumblebee, allowing to use flight simulator X-Plane 10 under Linux with HD-resolution and good response characteristic.
The smithfarm site http://smithfarm-thebrain.blogspot.cz/2013/10/opensuse-131-nvidia-optimus-bumblebee.html helped me to correctly install bumblebee on OpenSUSE 13.1
A fresh installation of OpenSUSE 13.2 brought up the system with a decent graphics constellation using i915 and nouveau kernel modules.
Low power consumption in idle state hinted at a working offloading of the nouveau module yet without bbswitch installed.
The OpenSUSE 13.1 ‘smithfarm’ way of getting bumblebee and the proprietary Nvidia driver/module working **didn’t succeed **with OpenSUSE 13.2 though.
I reinstalled OpenSUSE 13.2 from scratch to start with a defined state.
I installed kernel headers kernel-devel and dependencies and joined the repository
Bumblebee_project_(openSUSE_13.2)|
http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.2/
Next I installed bumblebee and dependencies from the repository above.
I prefer to use ‘zypper install package’ in such a case, because result reporting/reading is better than with yast.
message from package bumblebee:
INFO: Please ensure that users using bublebee/video card are in following group(s):
INFO: gpasswd -a <USER> bumblebee
INFO: If going to use nvidia binary driver:
INFO: gpasswd -a <USER> video
INFO: Also ensure the nouveau module is blacklisted (even if you plan to use it):
INFO: echo “blacklist nouveau” >> /etc/modprobe.d/50-blacklist.conf
INFO: mkinitrd
I did as told by package bumblebee, but the blacklist nouveau part had no effect, so I reverted this blacklisting and allowed nouveau again. I didn’t run mkinitrd.
I enabled bumblebeed:
systemctl enable bumblebeed
systemctl restart bumblebeed
and rebooted.
Next I installed nvidia-bumblebee and nvidia-bumblebee-32bit from bumblebee-repository with dependencies - (NVIDIA-Linux-x86_64-343.22).
Using
zypper install nvidia-bumblebee nvidia-bumblebee-32bit
which reported a successful build of the nvidia module.
After rebooting nothing had changed,
optirun glxspheres
didn’t find the gpu and the nvidia could not be loaded by modprobe.
I found this helpful site then:
and tried to adapt the proceeding there to my situation by checking the BusId of my discrete graphics card with
lspci | egrep 'VGA|3D'
which brought the information about the BusId:
**01:00.0** VGA compatible controller: NVIDIA Corporation GK104M [GeForce GTX 670MX] (rev ff)
This BusId is necessary for inserting it to:
nano /etc/bumblebee/xorg.conf.nvidia
which looks like this now:
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
** BusID "PCI:01:00:0"**
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
Whereby the change happend within the line
BusID “PCI:01:00:0”
Next it is necessary to edit
nano /etc/bumblebee/bumblebee.conf
and change the line
Driver=
to
Driver=nvidia
Rebooting the system didn’t bring up the nvidia driver yet, I had to reinstall the nvidia driver - as described at the kali.org site - by:
zypper in -f nvidia-bumblebee nvidia-bumblebee-32bit
which finally did the trick after restarting bumblebeed with:
systemctl restart bumblebeed
optirun glxspheres
worked well and the system switched back to Intel graphics with low power consumption after stopping glxspheres.
X-Plane 10 is very usable with this configuration.
The nouveau module is not blacklisted.
Good Luck!
BrunoLab