Audio becomes super stuttery when resuming from suspend on my laptop

Fedora 43, gnome on a laptop with Intel audio (Realtek ALC245 ). Kernel ver 6.19.11-200.fc43.x86_64.
Laptop model is HP omibook ultra flip 14.

After suspend/resume (S2idle only, no deep sleep available), audio gets incredibly stuttery, but its odd:

  • Either constant stuttering (multiple times per second)
  • Or crackling / static distortion
  • Often both
  • First boot is always fine
  • It does NOT always happen after resume, but when it does, it persists until reboot

Stuff ive tried and noticed:

  • PipeWire / WirePlumber restart does not fix it, restarting the entire stack also doesnt fix it
  • ALSA reset (alsactl init ) does not fix it
  • Kernel logs show CS35L41 “Asserting Reset” around the time i wake it up from sleep

Temporary odd fix i found:

  • increasing pipewire’s clock.force-quantum improves the stutter. at 4096 the stutter is completely gone but this static and cracking remains.

Again, this happens only after a resume from sleep but its important to note that not every resume this happens.

Another thing that might be important context:

  • going to suspend by closing the lid and then resuming, causes touchscreen to completely break. event bus still shows touch events but whatever layer comes behind that refuses to translate it into mouse events or however it works. If i lock first (meta + L) then close the lid and resume again, touchscreen remains working. Also this is not super consistent

Did you ever find a fix? I’ve had this issue since I installed Fedora in March and have never found a solution.

I’ve had this same issue on a Thinkpad P14s Gen 5 running Fedora 44 KDE. It doesn’t happen every time, but now it has happened two times in a row. The symptom is that after suspend, the audio crackles regularly, about once every second. I can hear some crackle in my speakers even if I have no audio playing.

There are some posts here with the “typical” solutions of adding a suspension config for pipewire and disabling the real time canary, like here: Persistent Crackle Issue with Pipewire on Fedora 42 - #4 by yootfrog. These have not worked for me.

I noted that whenever this happens, my system clock is wrong. The past two times it had moved ahead by about 3 hours. And surprisingly, going into the time & date settings and setting the time manually (remember to press apply) and then back to automatic suddenly also fixes the audio! No other config files or tricks necessary for me.

Not sure which logs I could provide to help debug this but hope this works for someone else.