Open iirekm opened 4 years ago
I have a similar problem. What does your sudo service bulblebeed status
show?
Mine:
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-05-30 08:07:32 CEST; 1h 7min ago
Main PID: 602 (bumblebeed)
Tasks: 1 (limit: 47682)
Memory: 2.3M
CGroup: /system.slice/bumblebeed.service
└─602 /usr/sbin/bumblebeed
May 30 08:07:32 hromstation systemd[1]: Started Bumblebee C Daemon.
May 30 08:07:32 hromstation bumblebeed[602]: [ 4.328218] [WARN]No switching method available. The dedicated card will always be on.
May 30 08:07:32 hromstation bumblebeed[602]: [ 4.328570] [INFO]/usr/sbin/bumblebeed 3.2.1 started
May 30 08:26:07 hromstation bumblebeed[3691]: modprobe: ERROR: could not insert 'nvidia_current': Operation not permitted
May 30 08:26:07 hromstation bumblebeed[602]: libkmod: ERROR ../libkmod/libkmod-module.c:990 command_do: Error running install command>
May 30 08:26:07 hromstation bumblebeed[602]: [ 1119.555479] [ERROR]Could not load GPU driver
I fixed my issue. I noticed that after trying to sudo modprobe nvidia
, sudo dmesg
informs you about some lock (i don't remember exactly). I complained.
I disabled secure boot and now it seems to work.
I don't have secure boot enabled and have the problem 😑
sob., 30 maj 2020, 10:02 użytkownik hr0m m3m0ry notifications@github.com napisał:
I fixed my issue. I noticed that after trying to sudo modprobe nvidia, sudo dmesg informs you about some lock (i don't remember exactly). I complained. I disabled secure boot and now it seems to work.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Bumblebee-Project/Bumblebee/issues/1054#issuecomment-636295825, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGAYE655JVAVZ5TKQ32Y2DRUC4R7ANCNFSM4NGHBBJA .
you need to install the latest linux kernel and nvidia driver from official website, which is newest version 440.82 with dkms module installed, and uninstall all packages related to nvidia, then install bumblebee, and it would work like a charm!
sudo apt install linux-headers-5.6.10-oem linux-image-5.6.0-1010-oem linux-modules-5.6.0-1010-oem sudo reboot sudo init 3 cd Downloads/ sudo sh $(ls | grep NVIDIA) sudo reboot sudo apt install bumblebee primus sudo reboot optirun glxgears
It looks you didn't test it on the official (K)Ubuntu 20.04 LTS, but probably something newer/different. Un Ubuntu 20 LTS it doesn't work:
pt., 12 cze 2020 o 16:58 Cangyu Lin notifications@github.com napisał(a):
you need to install the latest linux kernel and nvidia driver from official website, which is newest version 440.82 with dkms module installed, and uninstall all packages related to nvidia, then install bumblebee, and it would work like a charm!
sudo apt install linux-headers-5.6.10-oem linux-image-5.6.0-1010-oem linux-modules-5.6.0-1010-oem sudo reboot sudo init 3 cd Downloads/ sudo sh $(ls | grep NVIDIA) sudo reboot sudo apt install bumblebee primus sudo reboot optirun glxgears
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Bumblebee-Project/Bumblebee/issues/1054#issuecomment-643318043, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGAYE6YYUDLLFIPWMJ5T53RWI7AXANCNFSM4NGHBBJA .
[ 1099.865] (EE) Failed to load module "nvidia" (module does not exist, 0)
The fix is simple: Check the XorgModulePath
in /etc/bumblebee/bumblebee.conf
.
Newer nvidia drivers (tested with 455 my system, maybe 440+?) use a different path for nvidia_drm.so
.
So the setting should be this:
XorgModulePath=/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules
Then the driver should successfully load.
sudo apt install linux-headers-5.6.10-oem linux-image-5.6.0-1010-oem linux-modules-5.6.0-1010-oem
Don’t do this! Do not install specific kernels, always install the meta-package to still receive kernel updates. And why use the OEM flavour? Just use linux-generic
to not run into issues later, unless you really need this specific kernel.
It worked great on Ubuntu 18, stopped on 20.