If the problem was a kernel update, try switching to the LTS kernel.
If the problem was mesa, you could try mesa-git aur package.
If still neither of those 2 options solve your problem; your memory could be fcked, so time to try running memtest (this is time consuming, but if it confirms your memory is screwed, you can try replacing ur ram).
This happened to me three or four times, once I opened GIMP, and the other times while watching a video on YouTube, the device freezes and the sound remains for a few seconds and then cuts off and nothing responds until I turn off the device.
Update: I tried Fedora with kernel 6.12.4, and after hours it happened again. I think it has something to do with this version of the kernel, so I installed the LTS version on Arch, waiting for version 6.12.5 to be released in the official repositories.
BTW, I tried all the parameters suggested here for the kernel to no avail, and my BIOS version is up to the latest version.