No device found after driver installation Nvidia GeForce GTX 1650 CentOS 7

I am facing a problem.

I have installed cuda 9.0
I have NVIDIA GeForce GTX 1650
the OS is Centos Minimal.

nvidia-smi
Mon Jul 27 06:16:26 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.57       Driver Version: 450.57       CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 1650    Off  | 00000000:40:00.0 Off |                  N/A |
|ERR!   35C    P0   ERR! /  75W |      0MiB /  3911MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Each time, I install driver, after restart, the situation is like below.

./clock 
CUDA Clock sample
CUDA error at ../../common/inc/helper_cuda.h:1162 code=38(cudaErrorNoDevice) "cudaGetDeviceCount(&device_count)" 

Machine is HP X8400.

lshw -c display
  *-display                 
       description: VGA compatible controller
       product: TU117 [GeForce GTX 1650]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:40:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:d3000000-d3ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:1000(size=128) memory:d4000000-d407ffff


nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 6
#define CUDNN_PATCHLEVEL 5
--
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

#include "driver_types.h"

Can you guide if there is incorrect nvidia installed, what is the correct procedure?

after driver installation, only for one time nvidia-smi command shows device info. with second time, error is device not found.

Hi @Tortoise420

You can follow these steps to install nvidia driver.

With this link, you can install CUDA 10

thank you so much @TunaHanUlusoy I have already resolved this issue long ago. Anyways thank you.

Glad to hear that @Tortoise420