Nvidia Riva error

Please provide the following information when requesting support.

Hardware - GPU - RTX 4060
Hardware - CPU - Ryzen 5 5600
Ubuntu 22.04

=== Riva Speech Skills ===

NVIDIA Release 24.02 (build 86328927)

Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:

ERROR: The NVIDIA Driver is present, but CUDA failed to initialize. GPU functionality will not be available.
[[ Unable to initialize CUDA driver (error ???) ]]

Failed to detect NVIDIA driver version.

I also get this error. I think I tried everything. Using a 3090. worked in ubuntu 20.04 but not 22.04