I had just installed Linux Mint 20.1 Cinnamon 2 days ago , it was working fine until it suddenly crashed (freezes) and when I hard rebooted the machine and tried to open the nvidia settings it shows driver not loaded.nvidia-bug-report.log.gz (119.4 KB)
Can you manually load the driver?
sudo modprobe nvidia
modprobe: ERROR: ../libkmod/libkmod-module.c:838 kmod_module_insert_module() could not find module by name='off' modprobe: ERROR: could not insert 'off': Unknown symbol in module, or unknown parameter (see dmesg)
Means the nvidia module is blacklisted and aliased to ‘off’. Please run
sudo prime-select nvidia
and check for blacklist/alias files, post the output of
grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*
/lib/modprobe.d/nvidia-kms.conf:# This file was generated by nvidia-prime
/lib/modprobe.d/nvidia-kms.conf:options nvidia-drm modeset=1
Does the file /etc/modprobe.conf exist and contain anything?
It says no file:
cat: /etc/modprobe.conf: No such file or directory
Please recreate the initrd
sudo update-initramfs -u
and reboot. Afterwards, please check if the nvidia driver is loaded or if you’re getting the same error while modprobing.
Its working now, Thanks alot @generix , I guess this issue happened when I switch to Intel mode (worked for a day and suddenly crashed) but now I’m on nvidia On demand mode.