Bumblebee: No /proc/acpi/bbswitch

Howdy folks, I finally got optirun working. i7 with 940MX, fresh install of Tumbleweed (with KDE) + zyyper dup + remove nouveau driver and tlp, then followed instructions on the wiki: https://en.opensuse.org/SDB:NVIDIA_Bumblebee

optirun glxgears works fine.

optrun --status reports: Bumblebee status: Error (3.2.1): [XORG] (EE)

cat /proc/acpi/bbswitch reports: No such file or directory

modprobe bbswitch reports: FATAL: Module bbswitch not found in directory /lib/modules/5.2.8-1-default

There’s a file named bbswitch.ko in /lib/modules/5.2.1-1-default/updates, but symlinking it to /lib/modules/5.2.8-1-default (or the updates subdirectory thereof) makes no difference.

Thanks for reading this far. I have 2 questions for the optimus gurus:

First, how big a deal is this - does it actually need fixing?

If so, what should I try - and what info should I collect - in order to fix it?

GEF

Hi
You shouldn’t create any symlinks, the system is clever enough to pop kernel modules in the weak-updates directory if they will run…

Sounds like you need to wait for the updated bbswitch kmp (which is built for the 5.2.8 kernel https://build.opensuse.org/package/binaries/X11:Bumblebee/bbswitch/openSUSE_Tumbleweed)

Boot from the previous kernel until the update appears in the Tumbleweed repository.

Hello,

Just trying to follow up on the issue related to this thread. Isn’t bbswitch for kernel 5.2.8 already ready for download? I can see that from the download page you posted and also here: https://download.opensuse.org/repositories/Kernel:/stable:/KMP/standard/x86_64/. However, I was not able to update my bbswitch from my zypper. It still shows bbswitch for kernel 5.2.1 is the highest version.

I’m pretty sure my current kernel is indeed 5.2.8 and I forced to update all repos but still could not get the right bbswitch version. Please help. Thank you so much.

Hi
That repository is used if you were also running the Kernel Stable set of kernels etc, not Tumbleweed kernel.

It’s still not made it into the release, I’m assuming you need to add the https://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Tumbleweed/ repository to get it…

Thank you for the explanation. It indeed helped.