NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.

I attempted cuda installation using both the run file and using package manager.

Based on the recommendation returned from ‘ubuntu-drivers devices’, I installed ‘nvidia-driver-440’.

‘nvcc --version’ would return correctly.

In both cases, I made sure to install ‘nvidia-cuda-toolkit’, ‘prime-select nvidia’ -which works fine - before checking ‘nvidia-settings’ and ‘nvidia-smi’. Neither of which returned what it should.

The following post seemed to have gathered the right person to advice on a specific issue that the writer had.
https://devtalk.nvidia.com/default/topic/1047416/linux/nvidia-driver-is-not-loaded-ubuntu-18-10-/

I have no blacklist file ending in .conf as I checked this to be another common issues amateur developers were experiencing.

I had installed cudnn without this much issue before, but that was a year ago. Ubuntu 18.04, MSI GS63 7RD is what I am using.

I could really use some advise here.
nvidia-bug-report.log.gz (136 KB)