1660 super no hdmi ubuntu 22.04

I have installed 22.04 ubuntu on my server, I’m new to linux so I don’t really understand what I’m doing. All I want is hdmi to work. I’ve installed the drivers, nvidia-smi shows my GPU, the nvidia server settings shows the hdmi monitor, but I can’t set the monitor in settings. xrandr doesn’t show it. There is no optio for the nvidia resolution or monitor in settings anywhere and I’m forced to use ipmi to see my screen. No, this is not a hardware problem, everything works fine on windows.

Any help would be greatly appreciated! Again I don’t understand linux well, I just want hdmi.