SelamunAleykum
Installing Bumblebee on Slackware-Current without any problem(black screen etc.).
You can follow these steps.
1- Install Slackware.
2- Install Bumblebee from
http://docs.slackware.com/howtos:har...nvidia_optimus
3- Edit "/etc/bumblebee/xorg.conf.nvidia" and add nvidia PCI number into this file. Nvidia PCI value of my system is "02:00.0". You can see my "xorg.conf.nvidia" below.
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
BusID "PCI:02:00:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
change PCI value to your own PCı value of Nvidia. Ex: BusID "PCI:xx:xx:x".
4- Add "tee /proc/acpi/bbswitch <<< ON" command to top the "/usr/bin/X" file. My file seen like this;
#!/bin/sh
#
# Execute Xorg.wrap if it exists otherwise execute Xorg directly.
# This allows distros to put the suid wrapper in a separate package.
tee /proc/acpi/bbswitch <<< ON
basedir=/usr/libexec
if [ -x "$basedir"/Xorg.wrap ]; then
exec "$basedir"/Xorg.wrap "$@"
else
exec "$basedir"/Xorg "$@"
fi
5- Finally reboot system and test bumblebee. "optirun glxgears".
Suggestions:
1- I dont know reason but Firefox hardly freezing. Use chromium from
http://www.slackware.com/~alien/slac...pkg64/current/
2- Install pepper-flash.
Enjoy