Please use a certified and high-bandwidth HDMI or DisplayPort cables to be used with your high refresh rate and high resolution displays. Do not use the cables that come with the monitor or cheap uncertified cables, otherwise you will experience black screens, graphical artifacting, screen corruption, or the display not working at native resolution.
For HDMI, please ensure that your cables have the "Ultra High Speed HDMI" sticker and certification on the retail box as shown here: Ultra High Speed HDMI Cable - Bandwidth Up To 48Gbps
These cables are certified by the HDMI Consortium to support for all HDMI 2.1b features including uncompressed 8K@60 and 4K@120.
For DisplayPort, please ensure that your cables are listed in the database here: Cables & Adaptors Archives - DisplayPort
A certified DisplayPort cable shall have a DP40 or DP80 label for support for high resolution and high refresh rate displays.