<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: PtchNote</title>
    <description>The latest articles on DEV Community by PtchNote (@ptchnote).</description>
    <link>https://dev.to/ptchnote</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3965307%2Fc2fb923c-77cc-4d58-9f3c-aaeb4d2c09ae.jpg</url>
      <title>DEV Community: PtchNote</title>
      <link>https://dev.to/ptchnote</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ptchnote"/>
    <language>en</language>
    <item>
      <title>Finally fixed Linux Bluetooth audio stutter - Realtek Chip</title>
      <dc:creator>PtchNote</dc:creator>
      <pubDate>Tue, 02 Jun 2026 20:15:25 +0000</pubDate>
      <link>https://dev.to/ptchnote/finally-fixed-linux-bluetooth-audio-stutter-realtek-chip-4fmp</link>
      <guid>https://dev.to/ptchnote/finally-fixed-linux-bluetooth-audio-stutter-realtek-chip-4fmp</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Hardware:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HP Pavilion 14‑dv1xxx

Realtek RTL8822CE Wi‑Fi/Bluetooth combo card

Sonos Roam (Bluetooth speaker)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;The fix (tested on Debian 13 and Kubuntu 26.04):&lt;/p&gt;

&lt;p&gt;Disable Wi‑Fi power management at the driver level:&lt;br&gt;
bash&lt;/p&gt;

&lt;p&gt;echo "options rtw88_core disable_lps_deep=Y" | sudo tee /etc/modprobe.d/rtw88_core.conf&lt;br&gt;
sudo update-initramfs -u&lt;br&gt;
sudo reboot&lt;/p&gt;

&lt;p&gt;Optional but helpful tweaks (applied at the same time):&lt;br&gt;
bash&lt;/p&gt;

&lt;h1&gt;
  
  
  Prevent Bluetooth USB resets
&lt;/h1&gt;

&lt;p&gt;echo "options btusb reset=0" | sudo tee /etc/modprobe.d/btusb.conf&lt;/p&gt;

&lt;h1&gt;
  
  
  Increase PipeWire buffer for video playback
&lt;/h1&gt;

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

&lt;h1&gt;
  
  
  Apply all changes
&lt;/h1&gt;

&lt;p&gt;sudo update-initramfs -u&lt;br&gt;
systemctl --user restart pipewire pipewire-pulse&lt;br&gt;
sudo reboot&lt;/p&gt;

&lt;p&gt;Why this works:&lt;br&gt;
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).&lt;/p&gt;

&lt;p&gt;Verification:&lt;br&gt;
To confirm the fix is active after reboot:&lt;br&gt;
bash&lt;/p&gt;

&lt;p&gt;cat /sys/module/rtw88_core/parameters/disable_lps_deep&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Tested with The Matrix lobby scene in VLC and YouTube. Zero stutters after the fix. Music (Spotify) also improved.&lt;/p&gt;

&lt;p&gt;One more tip:&lt;br&gt;
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.&lt;/p&gt;

&lt;p&gt;Hope this saves someone else the two days I lost. 🎧🐧&lt;/p&gt;

</description>
      <category>linux</category>
      <category>performance</category>
      <category>systems</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
