Ubuntu 22.04 black screen showing input not supported after installing the nvidia driver

@jeremylyz Same monitor:

Please try using a DisplayPort cable or try downgrading the driver.