Screen flashes then freezes, possible gpu failure?

Hello, for the past few weeks or so I've been having this problem where my screen would flash(turn on an off once) and then everything would freeze this would usually be followed by either the whole screen just freezing and I have to restart for it to work(it continues to flash for a few times till the screen becomes completely dark and nothing responds) or the computer restarts by itself instantly,this occured before booting into windows too and in safe mode so it's not a driver problem. I have so far reinstalled windows numerous times to no avail, but sometimes the pc would've worked just fine for days on end until I turned it off and then it would start again on next boot.

The gpu is not ancient but it is 2 years old while all the other components are less than 1 year old, I'm not sure if it's the cpu or could possibly be the cable or something (I use a dvi-d to vga converter) but I don't think a cable would cause the pc to restart, I'm a student so I don't have a ton of money and I just want to make sure that if I'm buying something It's going to be fixing it.

Specs:
Core i3 9100F
GT 1030
8GB crucial 2666mhz
512 gb ssd,350gb hdd(hdd isn't faulty)
Thanks for the help
 

Kshipper

Posts: 623   +140
TechSpot Elite
It sounds like the monitor itself or the video card. Borrow a monitor from a friend just to try it out or get one at a store that has a generous return policy.