My System76 Oryx Pro4, now several years old, started powering itself off today. Seems the CPU is getting really hot. I could reproduce the issue by running a cpu stress test.
Replacing the thermal paste fixed it!
CPU on the right, GPU in the back.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko