Random freezes with Arch Linux (requires hard reboot)

The Port80 writes are useless in diagnosing problems on all AMD laptop mainboards, because AMD refuse to publish what any of them mean.
For example, i have seen the laptop freeze, then force reboot 30 seconds later, with a sync-flood. It was still outputting port80 codes during the freeze, so something was still alive during the freeze.

So… not so great news: the pauses happen again when working with the laptop’s display (165FPS). They did not happen when using HDMI only (60FPS).

Fix for Framework 13 AMD Random Freezing (Cursor Movable, System Unresponsive)

After extensive troubleshooting across multiple distributions, BIOS updates, and firmware upgrades, I finally found a reliable fix for the random freezing issue on the Framework 13 AMD.

The Solution

Add the following kernel parameter to disable Panel Self-Refresh (PSR), which appears to cause instability with the amdgpu driver:

amdgpu.dcdebugmask=0x10

How to Apply

For GRUB-based systems (Ubuntu, Fedora, Debian, etc.):

  1. Edit /etc/default/grub
  2. Find the line GRUB_CMDLINE_LINUX_DEFAULT and add the parameter inside the quotes
  3. Update the boot configuration:
    • For most distros: sudo grub-mkconfig -o /boot/grub/grub.cfg
    • For Fedora/RHEL-based: sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  4. Reboot

For systemd-boot systems (Arch, EndeavourOS, etc.):

  1. Edit /etc/kernel/cmdline
  2. Add the parameter to the existing options
  3. Regenerate boot entries: sudo reinstall-kernels (or whatever your distro’s equivalent is)
  4. Reboot

Alternative kernel parameters that have helped others:

  • amdgpu.mes=0 – Disables the Micro Engine Scheduler
  • pcie_aspm=off – Disables ASPM power management (helpful for SSD-related issues)

Other potential fixes if this doesn’t work:

  • Update SSD firmware (especially for WD SN770/SN770M drives)
  • Try the LTS kernel

Since applying amdgpu.dcdebugmask=0x10, I haven’t experienced a single freeze. Hope this saves someone else the hours of frustration I went through!

Well you are not in luck… seems like you were wrong. my ssd is fine. See my previous post

There are multiple possible causes for random freezes. What works for one person might not work for another.
Possible causes:

  1. gpu hang - often due to panel self refresh PSR. Often no logs to explain it
  2. cpu halt - often no logs to explain it.
  3. excessive AER - enabling aer in kernel command line can mitigate the hang/reboot or S5 RESET STATUS sync flood
    Updating problem device firmware helps (in case the problem device is the SSD). If the problem device us a thunderbolt device, a better usb cable can help.
  4. faulty ram - difficult to prove as memtest still passes.
  5. something else.

Very rude way of responding to people who are trying to help you. Not sure why you thought you had some huge gatcha here, but my statement was not wrong: Framework still does not limit the distros you can run on the laptop.

But I’m glad AI gave you a solution that works for you.

Also, it seems you are posting about a fw13 issue incorrectly in this fw16 thread.