Trying to install the Nvidia driver (NVIDIA-Linux-x86_64-450.236.01-grid.run) on Ubuntu 20.04 VMware virtual machine.
Have cleared out the obvious reasons like wrong gcc and disabling nouveau driver.
Message in install log:
→ Kernel module compilation complete.
→ Unable to determine if Secure Boot is enabled: No such file or directory
ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA GPU(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.
Please see the log entries ‘Kernel module load error’ and ‘Kernel messages’ at the end of the file ‘/var/log/nvidia-installer.log’ for more information.
→ Kernel module load error: No such device
and
[111314.896196] nvidia: loading out-of-tree module taints kernel.
[111314.896239] nvidia: module license ‘NVIDIA’ taints kernel.
[111314.896240] Disabling lock debugging due to kernel taint
[111314.906420] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[111314.910291] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
[111314.911125] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:02:00.0)
[111314.911126] NVRM: The system BIOS may have misconfigured your GPU.
[111314.911129] nvidia: probe of 0000:02:00.0 failed with error -1
[111314.911143] NVRM: The NVIDIA probe routine failed for 1 device(s).
[111314.911143] NVRM: None of the NVIDIA devices were initialized.
[111314.911285] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
All tips will be appreciated.