Yes, I solved the problema editting config.txt and changing hdmi mode to 16, but I don’t understand why before I didn’t need to change it, it seemed like on first boot the correct resolution was detected and now it doesn’t…
Anyway many thanks for the help!