Black screen problems via HDMI on Ubuntu 22.04.01

I’ve been having problems getting my GeForce GTX 1050 Ti up and running under Ubuntu 22.04.1. I was just getting a black screen at boot. After going back to driver vs 470, I’ve got 1 screen up and running through DisplayPort, however I’m having problems with a 2nd screen using the HDMI port.

I can get the 2nd screen working by changing the refresh rate for that screen, but after a reboot or after the screens sleep, I lose that screen again. I can sometimes get it back by changing the refresh rate again. It doesn’t seem to matter what refresh rate I go for. I can sometimes get it back by switching back and forth between 2 rates.

Any thoughts? Bug report attached.

nvidia-bug-report.log (2.8 MB)

There seems to be something wrong with the connection, the monitor on hdmi is permanentyl redetected. Already tried a new cable?