I have been having this problem for a while now, although it doesn't happen that often. What happens is that, sometimes, even while idle my PC just freezes. If sound is playing, it continues for a little and then this horrendous sound start playing. I have reinstalled windows.
I don't think it's the graphics card, since it happens even while doing light tasks. I updated my drivers recently, but it didn't fix it. There isn't a specific moment that it started happening.
Hardware:
AMD Ryzen 2200G
Gigabyte RX 570 4GB
Samsung EVO 860 250GB
HyperX 2666 MHz 8GB memory
ASRock ab350m motherboard
Corsair 450 watt psu
I have tried reinstalling windows, no results. Driver updates didn't do anything either. PSU did work correctly for half a year now, maybe it's starting to fail? Haven't done any hardware upgrades recently. I am planning to get a new graphics card.
Any ideas? Any help will be greatly appreciated!