I've got this problem with Nvidia driver for a few months now. Here is what I am usually doing:
I stop gdm3 (sudo service gdm3 stop), install driver with sudo ./NVIDIA-Linux-x86_64-418.74.run --no-x-check, then following instructions, then blacklisting noveau using blacklist-nouveau.conf file - it contains blacklist nouveau and
options nouveau modeset=0 then I install cuda, cudnn etc... Everything works properly including nvidia-smi, I can run code on gpu (some NN models in tensorflow). After few reboots my driver breaks down. I boot into login screen set in 800x600 resolution without option to change it. nvidia-smi reports it cannot connect to driver. Then I reinstall driver and then it works for a while, but after few reboots it breaks down again.
Few times I reinstalled everything completely, including Cuda etc., no change in behavioer, however. Any idea what can be wrong?