Given: MSI notebook with NVIDIA 30xx series video card and great desire to use some Linux system on them. With switchable graphics
But when we try to load nvidia
kernel module (from official proprietary driver) we
got a message that we don't have supported device:
$ sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': No such device
Also nvidia-xconfig
tell us that we don't have any GPU's. Also in dmesg and non-GUI
we got these errors:
NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
NVRM: The system BIOS may have misconfigured your GPU.
Solution
Go to your device BIOS configuration and disable CSM-mode (somewhere called Legacy boot mode).