>>106622671
>>106624667
You're running an LTS version of Ubuntu on a laptop which has very recent hardware. Ubuntu LTS is for servers, not desktops.
Framework is correct; if you want to use a desktop distro then use Fedora or at least the latest point release of Ubuntu instead of it's LTS release where the driver stack is consistently a year or two out of date.
You'll have to manually troubleshoot, so here's a few things you can do. Check existing logs:
journalctl -k -b | grep -i amdgpu
sudo dmesg | grep -iE 'amdgpu|gpu|error|fault'
See if anything pops up when your system shits itself.
You can also monitor your GPU:
radeontop
(you will have to "sudo apt install radeontop" first)
You can also just manually install the latest kernel and the latest mesa (which contains AMD drivers).
If this fixes your issue, then it was caused by Ubuntu LTS being outdated. If this is the case, then update to Ubuntu 25. Check their official documentation on how to do this (before you upgrade, you'll have to remove the PPA you've added to install the latest mesa and downgrade mesa itself).
On the off chance it's somehow related to your internal drive failing or it's firmware being bugged, check the logs and set up monitoring while this is happening:
journalctl -k | grep -iE 'ext4|nvme|ata|i/o|error|fail'
sudo apt install iotop
sudo iotop -o
There's also a very, very small chance that there's a bug in the xfce compositor on how it handles your GPU/driver. You can try disabling the compositor for a day and see if it fixes the issue. If it does, then it's just a matter of either replacing the compositor or the DE entirely. There's no reason to use Xfce on a device as powerful as yours (unless it's your preference). It's primarily a DE for budget systems made before 2015.
You could also just boot a Fedora USB and use the live USB as your OS for a day. If the issue still persists then it's a hardware problem.