Check your cable ends carefully, you said they were HDMI, previously.
Your PC has 2 DisplayPort outputs, those take the connector on the left of this pic. HDMI cables like the connector on the right will need an adapter for this PC.
https://www.jakartanotebook.com/imag...09-black-1.jpg