Ubuntu 22.04 + nvidia 1050 + 510 (Black Screen)

My HP Pavilion Notebook stopped showing video on the 2nd screen.
nvidia-smi says:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

nvidia-bug-report.log.gz (112.5 KB)

Please disable secure boot in bios.

Thank you.
How simple was the solution.