Use DP cables.
I recently bought a dell d2719hgf monitor which can go to 144hz but when I try to game it keeps turning on and off but when I exit it returns to normal. My question is is it because I’m using the included hdmi cable or do I have to use a DisplayPort cable?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic