You are not logged in.
I have a Dell XPS 15 9550 laptop with KDE as DE. I am trying to make Bumblebee work again (it worked before). I have tried reinstalling nvidia, bumblebee, bbswitch etc. but no joy.
If I try running optirun I get this error
$ optirun glxspheres64
[ 1105.483519] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 1105.483591] [ERROR]Aborting because fallback start is disabled.
If I modprobe the nvidia module I get
$ modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': Operation not permitted
This error is not present if I remove the bumblebee and the bbswitch packages. In both cases (with and without the packages) the NVIDIA card is listed by lspci:
$ lspci | grep -E "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev ff)
How to make bumblebee work?
Offline
You are trying to modprobe as a normal user, this is never going to work, ever. That said, optirun has somewhat started to fail, do you get the same error with primusrun? Is your general setup (necessary user groups etc.) correct?
You might also want to post
dmesg | grep bbswitch
after an attempt at using optirun/primusrun has been made.
Last edited by V1del (2017-01-20 15:20:51)
Online
I tried primusrun immediately after reboot and this is what I get:
$ primusrun glxspheres64
primus: fatal: Bumblebee daemon reported: error: Could not enable discrete graphics card
$ dmesg | grep bbswitch
[ 2.309683] bbswitch: version 0.8
[ 2.309686] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 2.309690] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 2.309750] bbswitch: detected an Optimus _DSM function
[ 2.309840] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 2.310894] bbswitch: disabling discrete graphics
[ 35.942431] bbswitch: enabling discrete graphics
modprobe is still giving the same error:
$ sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': No such device
It appears that the driver for nvidia is not in use:
$ lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
Subsystem: Dell Device 06e4
Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev ff)
Kernel modules: nouveau, nvidia_drm, nvidia
ps: Yes my user is in the group 'bumblebee':
$ cat /etc/group | grep aeronaelius
wheel:x:10:root,aeronaelius
video:x:91:sddm,aeronaelius
audio:x:92:aeronaelius
users:x:100:aeronaelius
aeronaelius:x:1000:
docker:x:994:aeronaelius
bumblebee:x:56:aeronaelius
Last edited by Aeronaelius (2017-01-20 16:08:49)
Offline
Offline
Thank seth! Unfortunately, I cannot try this anymore. I decided to fix the issue by reinstalling my system. Everything works fine now.
Offline