The screen turned black. When I restarted the nvidia gpu stopped working

Connecting with drivers failed. I have uploaded the bug
file as attachment. I couldn’t understand what the problem was.
nvidia-bug-report.log.gz (180.0 KB)

Looks like you installed the driver using the runfile installer without dkms, now you got a kernel update and the driver was lost. Please use the runfile installer with option --uninstall to uninstall it, then install the driver using Ubuntu’s “Software&Updates” application.

I am getting this error when updating from “Software&Updates” .

Looks like you have a broken cuda repo added. Please disable it in Software&Updates (different pane).