crwdns2915892:0crwdne2915892:0
Are you experiencing a crackling sound when playing games in Ubuntu, especially during higher levels of CPU usage? Modifying your pipewire settings may fix the problem. This guide will show you how to locate and modify your pipewire settings to help resolve crackling audio issues.
Note: This guide will be using Konsole, the default terminal for Kubuntu systems. You may use another terminal if you wish.
-
-
Open your terminal and type sudo nano /usr/share/pipewire/pipewire-pulse.conf
-
Press enter. If you are prompted for your password, enter your device's password and press enter.
-
You now have access to your pipewire settings!
-
-
-
-
Press Ctrl + W to search for pulse.min.quantum and press Enter.
-
You should find a line that says #pulse.min.quantum = 128/48000 # 2.7ms
-
Remove the first '#' at the beginning of the line and change the number 128 to 256.
-
To save your new settings, press Ctrl + X, then Y, then Enter.
-
-
-
Test your new settings to see if the crackling continues.
-
If the crackling is gone, great! If not, repeat the previous step but change the number 256 to 512. Then test again.
-
If you'd like to reverse the changes made in this guide, go through the steps again but change the new number to 128 and add a '#' back on the beginning of the line.
If you'd like to reverse the changes made in this guide, go through the steps again but change the new number to 128 and add a '#' back on the beginning of the line.