Benq Xl2420z Refresh rate 144hz not getting

Solution
It looks like both your motherboard and display have a DisplayPort, and the display should have come with the cable.

Can you try using that? Sometimes they don't have the EDID set on the other ports.