So I just had quite often random freezing screens with nvidia-driver-440 with ubuntu desktop environment and dkm3 or sddm manager. How should I solve this? It's very disturbing as I can't even get log for this because of the freezing screen.
output of lspci -k | grep -EA3 'VGA|3D|Display'
:
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1e81 (rev a1)
Subsystem: eVga.com. Corp. Device 3183
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
I use CUDA 10.2 so only nvidia 440+ can be used... not that I don't want the long-term driver.
You can try reading this answer: How do I install the Nvidia drivers?
I had the same problem for weeks. Unfortunately, the only way to use Ubuntu for me was to change from the Nvidia driver to Intel. You can do it with:
sudo prime-select intel