I am trying to make bumblebee to work in slackware 13.37.
In order to do this I followed the instructions found here
with a minor adjust because to be able to install VirtualGL I had to install first libjpeg-turbo. I get the libjpeg-turbo from slackbuilds but had to make an alteration in libjpeg-turbo.Slackbuild to version 1.2.0 to install this version because libjpeg-turbo 1.0.0 also returned errors while compiling VirtualGL.
After that I followed the instructions, compiled and installed all and when I tried to check if it was working it returned the error:
[ERROR] Cannot access secondary GPU - error: [XORG] (EE) No devices detected
[ERROR] Aborting because fallback start is disable.
Then I tried the adjusts listed below.
During the install of nvidia-bumblebee I made an alteration in Slackbuild file in order to install nvidia 295.49 version.
With or without the use of the option KERNEL=188.8.131.52 it stated some error in the begging of the compiling but manage to create the package (The error occurred in both 295.40 and 295.49 version)
The error start with:
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo " ERROR: Kernel configuration is invalid.";
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
And it has a lot of messages like:
In file included from include/linux/kernel.h:17:0,
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:49:41: warning: signed and unsigned type in conditional expression
It also give errors messages with nvidia 295.49.