Graphics driver issue: 'nvidia driver is not loaded' (Linux Mint 19.3 Tricia,5.4.0-40-generic)

More info:

  • prime-select is set to nvidia
  • Kernal version: 5.4.0-40-generic
  • Running nvidia-settings: ‘ERROR: NVIDIA driver is not loaded’
  • Nvidia RTX 2080 Super
  • Drivers available:
    driversAvailable|350x253

When running inxi -Fxz:
Graphics:
Device-1: NVIDIA vendor: Micro-Star MSI driver: N/A bus ID: 08:00.0
Display: x11 server: X.Org 1.20.8 driver: nouveau,vesa
unloaded: modesetting resolution: 1024x768~N/A
OpenGL: renderer: llvmpipe (LLVM 9.0 128 bits) v: 3.3 Mesa 19.2.8
direct render: Yes

Thanks for your help!

nvidia-bug-report.log (3.3 MB)

The issue was that Nvidia 440 wouldn’t compile as my gcc was mismatching. This could be found when running:
inxi -Fxi:

System: Host: leaf Kernel: 5.4.0-40-generic x86_64 bits: 64 compiler:  **gcc v: 7.5.0**

Info: Processes: 483 Uptime: 1h 49m Memory: 62.78 GiB used: 5.04 GiB (8.0%) Init: systemd
runlevel: 5 Compilers:  **gcc: 6.5.0**  Shell: bash v: 4.4.20 inxi: 3.0.32

This may be a different issue for most others when stumbling upon this thread. The linux forums have been very helpful in helping me to resolve this, as shown here: https://forums.linuxmint.com/viewtopic.php?p=1844611#p1844611