nvidia-smi error NVIDIA-SMI has failed because it could not communicate with driver

when we give nvidia-smi it give error NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running,while the nvidia driver is still installed in the sysmtem. we have generated nvidia bug report for the same
nvidia-bug-report.log.gz (6.39 MB)

hi Still waiting for your reply on this

reinstall a driver

Your attached log shows that you did a driver install:

*** /var/log/nvidia-installer.log
*** ls: -rw-r–r-- 1 root root 29138 2019-06-28 02:17:10.979749566 +0530 /var/log/nvidia-installer.log
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Fri Jun 28 02:16:11 2019
installer version: 410.48

Followed a few seconds later by a driver uninstall:

*** /var/log/nvidia-uninstall.log
*** ls: -rw-r–r-- 1 root root 25665 2019-06-28 02:17:05.044052806 +0530 /var/log/nvidia-uninstall.log
nvidia-installer log file ‘/var/log/nvidia-uninstall.log’
creation time: Fri Jun 28 02:16:31 2019
installer version: 410.48

Follow the instructions in the CUDA linux install guide to handle conflicting install types (runfile vs. package manager)