Freezing when working in Audacity (Fedora 42)

When working on a track in audacity my computer keeps freezing.

The freeze happened on the 6.18.x kernel, so I updated. Now on the 6.19.x kernels and still freezing.

This could potentially be related to AMD GPU MES Timeouts Causing System Hangs on Framework Laptop 13 (AMD AI 300 Series) ?

The crash follows an identical pattern each time:

  1. Suppressed callbacks, then a gfxhub page fault at NULL address:
gmc_v11_0_process_interrupt: 60 callbacks suppressed
amdgpu 0000:c1:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:153 vmid:0 pasid:0)
amdgpu 0000:c1:00.0: amdgpu:   in page starting at address 0x0000000000000000 from client 10
amdgpu 0000:c1:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000B32
amdgpu 0000:c1:00.0: amdgpu:          Faulty UTCL2 client ID: CPC (0x5)
amdgpu 0000:c1:00.0: amdgpu:          MORE_FAULTS: 0x0
amdgpu 0000:c1:00.0: amdgpu:          WALKER_ERROR: 0x1
amdgpu 0000:c1:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
amdgpu 0000:c1:00.0: amdgpu:          MAPPING_ERROR: 0x1
amdgpu 0000:c1:00.0: amdgpu:          RW: 0x0
  1. MES becomes completely unresponsive (repeats every ~3s until system is power-cycled):
amdgpu 0000:c1:00.0: amdgpu: MES failed to respond to msg=MISC (WAIT_REG_MEM)
amdgpu 0000:c1:00.0: amdgpu: failed to reg_write_reg_wait

For now I’m going to set noretry=0 and uni_mes=0, hopefully that helps. This is the 2nd time I’ve disabled AMD features on my laptop due to instability. I’ve been impressed with the responsiveness of the Fedora community, and it seems like AMD is improving reliability, but this chip set isn’t new anymore I would have hoped reliability would be better…

Anyways I filed a bug with AMD Making sure you're not a bot! so hopefully there’s an easy fix.

Just posting here in case anyone else runs into this problem.

drm/amdgpu: rework how we handle TLB fences · torvalds/linux@e9f58ff · GitHub should fix it