CUDA & TensorRT issue, I'd appreciate the help

Hi there
On Ubuntu 22.04, I followed all the directions to install CUDA, CUDNN, Tensorflow, and TensorRT. CUDA and CUDNN tests run successfully. However, Tensorflow test step fails post installation. When I enter the following in Python 3, “import tensorflow as tf” it says “TF-TRT Warning: Could not find TensorRT” (see exhibit 1 below for the detailed error message.
When I type “hello = tf.constant(‘Hello, TensorFlow!’)” in Python3, it says “failed call to cuInit: CUDA_ERROR_SYSTEM_DRIVER_MISMATCH: system has unsupported display driver / cuda driver combination”. See exhibit 2 below for detailed error message.

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0


import tensorflow as tf
2023-03-25 23:46:25.078082: I tensorflow/core/util/] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2023-03-25 23:46:25.101349: I tensorflow/core/platform/] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-25 23:46:25.470624: W tensorflow/compiler/tf2tensorrt/utils/] TF-TRT Warning: Could not find TensorRT


hello = tf.constant(‘Hello, TensorFlow!’)
2023-03-25 23:46:34.600824: E tensorflow/compiler/xla/stream_executor/cuda/] failed call to cuInit: CUDA_ERROR_SYSTEM_DRIVER_MISMATCH: system has unsupported display driver / cuda driver combination
2023-03-25 23:46:34.600845: I tensorflow/compiler/xla/stream_executor/cuda/] retrieving CUDA diagnostic information for host: aham-US-Desktop-Codex-R
2023-03-25 23:46:34.600848: I tensorflow/compiler/xla/stream_executor/cuda/] hostname: aham-US-Desktop-Codex-R
2023-03-25 23:46:34.600902: I tensorflow/compiler/xla/stream_executor/cuda/] libcuda reported version is: 510.108.3
2023-03-25 23:46:34.600912: I tensorflow/compiler/xla/stream_executor/cuda/] kernel reported version is: 530.30.2
2023-03-25 23:46:34.600915: E tensorflow/compiler/xla/stream_executor/cuda/] kernel version 530.30.2 does not match DSO version 510.108.3 – cannot find working devices in this configuration

1 Like