DEV Community

PtchNote
PtchNote

Posted on • Originally published at ptchnote.substack.com

Finally fixed Linux Bluetooth audio stutter - Realtek Chip

After 2 days of digging through forums, testing kernel parameters, and trying multiple distros, I finally eliminated the infuriating audio stutter on my setup. Posting this here so others don't have to suffer through the same trial and error.

Hardware:

HP Pavilion 14‑dv1xxx

Realtek RTL8822CE Wi‑Fi/Bluetooth combo card

Sonos Roam (Bluetooth speaker)
Enter fullscreen mode Exit fullscreen mode

The problem: Bluetooth audio (especially during video playback) stuttered constantly. Music was sometimes okay, but YouTube, VLC, and any video content was a mess. The stutter was caused by Wi‑Fi power management interfering with Bluetooth — a known issue with this Realtek chipset.

The fix (tested on Debian 13 and Kubuntu 26.04):

Disable Wi‑Fi power management at the driver level:
bash

echo "options rtw88_core disable_lps_deep=Y" | sudo tee /etc/modprobe.d/rtw88_core.conf
sudo update-initramfs -u
sudo reboot

Optional but helpful tweaks (applied at the same time):
bash

Prevent Bluetooth USB resets

echo "options btusb reset=0" | sudo tee /etc/modprobe.d/btusb.conf

Increase PipeWire buffer for video playback

mkdir -p ~/.config/pipewire/pipewire.conf.d/
cat << EOF > ~/.config/pipewire/pipewire.conf.d/99-bluetouch.conf
context.properties = {
default.clock.rate = 48000
default.clock.allowed-rates = [ 48000 ]
default.clock.quantum = 2048
default.clock.min-quantum = 1024
}
pipewire.tx = {
link.max-buffers = 256
}
EOF

Apply all changes

sudo update-initramfs -u
systemctl --user restart pipewire pipewire-pulse
sudo reboot

Why this works:
The Realtek RTL8822CE aggressively manages Wi‑Fi power states (lps_deep = Low Power State Deep). Every time Wi‑Fi wakes or sleeps, it creates interference with Bluetooth. Disabling this keeps the Wi‑Fi radio in a more consistent state, eliminating the bursty interference that causes audio stutters — especially during video playback (which is bursty by nature).

Verification:
To confirm the fix is active after reboot:
bash

cat /sys/module/rtw88_core/parameters/disable_lps_deep

If it returns Y, the fix is applied. If it returns N, something went wrong — double-check the config file and that you ran sudo update-initramfs -u.

Tested with The Matrix lobby scene in VLC and YouTube. Zero stutters after the fix. Music (Spotify) also improved.

One more tip:
If you have access to 5 GHz Wi‑Fi, use it. Bluetooth operates on 2.4 GHz, so 5 GHz eliminates interference entirely. But the driver fix above makes 2.4 GHz usable too.

Hope this saves someone else the two days I lost. 🎧🐧

Top comments (0)