Nvidia driver not working Ubuntu 24.04 AWS EC2 L4 GPU

I have AWS EC2 new machine g6f with L4 GPU
I install nvidia-drvier-595-server but still have kernel error
May 05 20:13:21 ip-172-31-36-182 kernel: nvidia: loading out-of-tree module taints kernel.
May 05 20:13:21 ip-172-31-36-182 kernel:
May 05 20:13:21 ip-172-31-36-182 kernel: NVRM: The NVIDIA vGPU 0000:35:00.0 (PCI ID: 10de:27b8)
NVRM: installed in this system is not supported by open
NVRM: nvidia.ko.
NVRM: Please see the ‘Open Linux Kernel Modules’ and ‘GSP
NVRM: Firmware’ sections in the NVIDIA Virtual GPU (vGPU)
NVRM: Software documentation, available at ``docs.nvidia.com``.
May 05 20:13:21 ip-172-31-36-182 kernel: nvidia 0000:35:00.0: probe with driver nvidia failed with error -1
May 05 20:13:21 ip-172-31-36-182 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
May 05 20:13:21 ip-172-31-36-182 kernel: NVRM: None of the NVIDIA devices were initialized.
May 05 20:13:21 ip-172-31-36-182 (udev-worker)[32319]: nvidia: Process ‘/sbin/modprobe nvidia-modeset’ failed with exit code 1.

nvidia-bug-report attached

nvidia-bug-report.log.gz (623.6 KB)

This is very strange as the open flavor should support Ada…
Try adding NVreg_OpenRmEnableUnsupportedGpus=1 and see if it helps, if not then try switching to the proprietary flavor.

I think it is a misleading error because I remove the open driver and installed nvidia-drvier-595-server not open and still have the same error

Are you sure this one is “proprietary”? To be sure, I’d try cuda-drivers from the NV DC repo.

Also, how about NVreg_OpenRmEnableUnsupportedGpus=1?