am trying to install 3D driver(390.115.) on VM on RedHat 7.9 but am unable to complete the installation process due to drm issue
PCI device had added to the vm
02:01.0 VGA compatible controller: NVIDIA Corporation GP104GL [Tesla P6]
Here am attaching the logs information
tmp/selfgz6915/NVIDIA-Linux-x86_64-390.115-grid/kernel/nvidia-drm/nvidia-drm-helper.c:152:17: error: implicit declaration of function ‘drm_framebuffer_reference’ [-Werror=implicit-function-declaration]
/tmp/selfgz6915/NVIDIA-Linux-x86_64-390.115-grid/kernel/nvidia-drm/nvidia-drm-helper.c:157:17: error: implicit declaration of function ‘drm_framebuffer_unreference’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/tmp/selfgz6915/NVIDIA-Linux-x86_64-390.115-grid/kernel/nvidia-drm/nvidia-drm-helper.o] Error 1
/tmp/selfgz6915/NVIDIA-Linux-x86_64-390.115-grid/kernel/nvidia-drm/nvidia-drm-gem.h:82:5: error: implicit declaration of function ‘drm_gem_object_unreference_unlocked’ [-Werror=implicit-function-declaration]
/tmp/selfgz6915/NVIDIA-Linux-x86_64-390.115-grid/kernel/nvidia-drm/nvidia-drm-gem.h:82:5: error: implicit declaration of function ‘drm_gem_object_unreference_unlocked’ [-Werror=implicit-function-declaration]
/tmp/selfgz6915/NVIDIA-Linux-x86_64-390.115-grid/kernel/nvidia-drm/nvidia-drm-gem.h:162:5: error: implicit declaration of function ‘drm_gem_object_unreference’ [-Werror=implicit-function-declaration]
/tmp/selfgz6915/NVIDIA-Linux-x86_64-390.115-grid/kernel/nvidia-drm/nvidia-drm-gem.h:162:5: error: implicit declaration of function ‘drm_gem_object_unreference’ [-Werror=implicit-function-declaration]
Thanks for the replay even I tried with NVIDIA-Linux-x86_64-410.104.run am getting the same error.
CONFTEST: pci_dma_mapping_error
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.
The driver is properly installed. If it doesn’t load, there’s already another driver loaded or secure boot enabled, did you blacklist nouveau? Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
There’s also an incompatible 418 kernel driver installed which is blocking the newer drivers from loading. Please check if it has been installed using rpm packages and remove it.
NVRM: installed in this system is not supported by the
NVRM: NVIDIA 470.74 driver release.
NVRM: Please see ‘Appendix A - Supported NVIDIA GPU Products’
NVRM: in this release’s README, available on the operating system
NVRM: specific graphics driver download page at www.nvidia.com.
This doesn’t mean that your gpu is unsupported but you’re running an unsupported VM config. (unsupported hypervisor, consumer card, vm boot) Since VMWare + Tesla is supported, your VM and/or host bios is incorrectly set up, I suspect. Looking at the boot messages, you’re running a bios boot with 32bit resources, please see this on how to correctly set up a VM for passthrough: https://blogs.vmware.com/apps/2018/09/using-gpus-with-virtual-machines-on-vsphere-part-2-vmdirectpath-i-o.html
±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+
[root@awv344802 nxf43580]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)