Hdmi not working

How can I get help on the following. nvidia seems loaded

~$ lspci -s 01:00.0 -k
01:00.0 VGA compatible controller: NVIDIA Corporation Device 24b6 (rev a1)
	Subsystem: Dell Device 0a69
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

but hdmi is not working. I am currently using an external monitor via usb.

~$ nvidia-smi
Unable to determine the device handle for GPU 0000:01:00.0: Not Found

ubuntu 20.04 nvidia 520 kernel 5.14
nvidia-bug-report.log.gz (239.4 KB)

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

I have tried now using nouveau but the hdmi is still not working. This would imply not an nvidia bug, but any tips are welcome. Running a live 22.04 kubuntu usb works well. Issue with hdmi arrived after an kernel/nvidia sudo apt upgrade. nvidia-bug-report.log.gz uploaded above. Tried so far both open and proprietary 520 and nouveau.

https://forums.developer.nvidia.com/t/nvidia-gtx-1650-ti-driver-cannot-be-installed-on-ubuntu-studio/233636/7

I solved this by editing /lib/modprobe.d/nvidia-kms.conf as in this link.

If relevant, in the interim I updated (ubuntu 22.04, kernel 5.15 nvidia 520) but the fix only happened after the config file was edited.