1080p TV switching to 720p after loading desktop

Using the rPi 4, my tv keeps switching to 720 after the desktop loads. I have been fiddling around with the config file but haven’t had any luck.

With raspberry OS I was able to change it in a display menu, but I don’t see anything like that in dietPi.

Any ideas?


did you set hdmi_enable_4kp60=1 inside /boot/config.txt ? As well it seems you need to use the HDMI port adjacent to the USB-C power input (labelled HDMI0). https://www.raspberrypi.org/documentation/configuration/hdmi-config.md

Thanks for the response.

Seems I was just changing too many settings at once.

I had to uncomment


in /boot/config.txt

and it works!