Hi, I'm having the same issues with a new MSI build:
MSI X670E TOMAHAWK
AMD 7800 X3D
G.SKILL Trident NEO Z5 32G CL30
SAMSUNG 980pro 2T
Gigabyte Gaming 4080OC
I checked memory thinking it might be an issue with latest BIOS but is ok (0 errors).
I realized it only freezes when leaving the pc idle for maybe 15 or 20 minutes. Already modified energy settings to leave everything enabled but made no change.
The only thing out of order is "The description for Event ID 1 from source amd3dvcacheSvc cannot be found" error in the EventViewer. I'm trying to figure out what is causing this.