display from GPU not working

Hi I am running into an issue where my display can't detect a signal from my gpu when booting. it works occasionally but is completely random as to when it stops working.

I have tried both HDMI and DP connectors but with no luck.

I can connect HDMI straight to motherboard and it works fine but would prefer to use gpu.

I am using

GPU - AMD radeon rx 570 4gb
Display - dell u2419h
MB - Asrock b460 phantom gaming 4
CPU - Intel i5 10500

submitted by /u/Marcabi321
[link] [comments]