UPDATE
I purchased an HDMI-VGA adapter (I don’t know if I can write the link) and it now works using the monitor’s original VGA cable!
I’m in a wayland session and with the intel gpu
I thought that the non-working of these days could be due to the damaged HDMI cable which was unable to transmit the image, given that both TVs I tested on were correctly detected by the PC