After my PC rebooted, it happened again 2 or 3 times at intervals of roughly a minute. I went into BIOS, changed the RAM speed to a lower speed (My RAM is 3200, and i changed it to 2800), and it booted and worked for an hour and a half. I thought that fixed the problem, but then the same error came up. After this, I followed this guide:
The guide made me delete the drivers, boot into safe mode, use DDU then reboot. Then I reinstalled the latest drivers from the AMD website, but instead of installing Adrenalin, I extracted the drivers and manually installed them. (I just followed the video linked above).
The PC then worked perfectly for almost 24 hours, and the error came up again.
My windows is up to date, I have all the latest versions of drivers.
The blue screen appears randomly. While gaming, browsing, or desktop, could be any task
If someone knows what I could try, it would be very helpful. Thank you.