The fix “sudo nvidia-smi -lgc 1000,2145” worked completely for me, thank you so much @OldToby , but I see a lot of frustration still so I’m going to contribute what I can.
My workflow seemed particularly susceptible to this problem! I often have two browsers with videos playing and was crashing several times per day. I tried numerous Linux distributions (Manjaro, Ubuntu, etc.) without any change in the issue.
Only after I disabled hardware acceleration for my browsers (Chromium and Firefox), did the crashes slow to once or twice per day. But I was still experiencing some crashes just watching videos, even after turning off all desktop effects in the OS.
AMD Ryzen 5 3600X 3.8 GHz 6-Core Processor
Asus TUF GAMING X570-PLUS
EVGA GeForce RTX 2060 6 GB SC ULTRA
So if you are trying to recreate the bug, maybe playing multiple videos over an extended period of time could do it. Crashes seemed to occur on YouTube and Twitch. Hope this helps!