What GPU and driver are you using? Looks gpu driver related to me.
for context, i have been using debian 12 for last 6 months perfectly fine. Its just from last week my laptop is randomly freezing and then I have to hard reset it everytime this happens, (pressing power off button for few seconds to force shutdown).
This fear keeps me back to flash custom ROM on my phone! Plus, I can not afford to have those banking apps not working!