NVidia driver on RHEL 8 and vSphere not working


We managed to install the NVIDIA-Linux-x86_64-450.51.05-grid.run driver on a RHEL8 machine on a VM running under vSphere. I had to download the kernel source and headers, but it finally installs the driver.

I have get the following “hardware”:

# lspci -v | grep VGA
00:0f.0 VGA compatible controller: VMware SVGA II Adapter (prog-if 00 [VGA controller])
    Subsystem: VMware SVGA II Adapter
02:01.0 VGA compatible controller: NVIDIA Corporation TU102GL [Quadro RTX 6000/8000] (rev a1) (prog-if 00 [VGA controller])

However, after installing the driver, I still get this:

# nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

It works fine on Ubuntu 18.04, but not on our RHEL 8 VM’s. Can you help?