When i turn on my PC the monitor shows Black screen, but the monitor keeps blinking with the green color. and i have to keep pressing the space bar so it doesnt sleep. that means it works, the monitor works for about 20 to 30 mins, and i have to wake it up from sleep mode, and i have an old monitor that i am using right now and it works fine, and it doesnt show black screen. the monitor might be on sleep mode or its broken, How do i fix this. Thanks
if you need this
specs:
CPU: i5-4950
GPU: 1050 ti
RAM: 8GB
PSU: 290W