apt install nvidia-kernel-dkms
My gpu, 940MX, is on the supported list for nvidia driver version 418.152.00-1. So I assume that I shouldn't worry about other versions.
- Code: Select all
lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
- Code: Select all
uname -a
Linux debian-laptop 5.9.0-0.bpo.2-amd64 #1 SMP Debian 5.9.6-1~bpo10+1 (2020-11-19) x86_64 GNU/Linux
- Code: Select all
modprobe nvidia
modprobe: FATAL: Module nvidia-current not found in directory /lib/modules/5.9.0-0.bpo.2-amd64
modprobe: ERROR: ../libkmod/libkmod-module.c:979 command_do() Error running install command for nvidia
modprobe: ERROR: could not insert 'nvidia': Operation not permitted
- Code: Select all
primusrun glxgears
/usr/bin/primusrun: line 41: warning: command substitution: ignored null byte in input
primus: fatal: Bumblebee daemon reported: error: Could not load GPU driver
- Code: Select all
optirun glxgears
[ 2070.534747] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver