Ever since I've upgraded my GPU to the amd 7800 xt I have been experiencing this issue. Randomly and sporadically, my pc would crash and the screen would turn grey. It stays frozen with me being unable to do anything else, then i have to power it off and on manually and its fine again. it doesnt ever happen back to back but its annoying when im in the middle of a game or watching something and this happens but its usually during a game. i have the amd drivers installed properly and up to date as well as my bios.
intel i5k cpu
750 w psu
msi tomahawk z690 ddr4 motherboard
2 sticks of 16gb 3200hz ram
240l coolermaster cpu liquid cooler