You are not logged in.

#1 2017-01-20 14:20:39

Aeronaelius
Member
Registered: 2017-01-06
Posts: 13

Could not insert 'nvidia': Operation not permitted

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

#2 2017-01-20 15:19:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: Could not insert 'nvidia': Operation not permitted

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

#3 2017-01-20 15:52:48

Aeronaelius
Member
Registered: 2017-01-06
Posts: 13

Re: Could not insert 'nvidia': Operation not permitted

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

#4 2017-01-22 13:55:03

seth
Member
Registered: 2012-09-03
Posts: 50,012

Offline

#5 2017-01-23 10:39:55

Aeronaelius
Member
Registered: 2017-01-06
Posts: 13

Re: Could not insert 'nvidia': Operation not permitted

Thank seth! Unfortunately, I cannot try this anymore. I decided to fix the issue by reinstalling my system. Everything works fine now.

Offline

Board footer

Powered by FluxBB