Game sound stutter when using HDMI as output device
I have this issue when playing some games on system, AMD Ryzen 5 7600X and AMD RX 7900 XTX running bazzite.
I have used the this comment as a solution.
Potential way on fixing it.
First create a pipewire user directory and config file.
mkdir -p ~/.config/pipewire/pipewire.conf.d
touch ~/.config/pipewire/pipewire.conf.d/stutter-fix.conf
Then write the following configuration in to the ~/.config/pipewire/pipewire.conf.d/stutter-fix.conf
file.
# This was copied from here:
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1769#note_1356642
#
context.properties = {
default.clock.allowed-rates = [ 192000 48000 384000 768000 44100 32000 16000 8000 ]
default.clock.quantum-limit = 32768
default.clock.rate = 48000
default.clock.quantum = 1152
default.clock.min-quantum = 768
default.clock.max-quantum = 9216
}
pulse.properties = {
pulse.min.req = 768/48000
pulse.default.req = 1152/48000
pulse.min.frag = 768/48000
pulse.default.frag = 1152/48000
pulse.default.tlength = 1152/48000
pulse.default.maxlength = 2304/48000
pulse.min.quantum = 1152/48000
}
After that we have to restart pipewire.
sytemctl --user restart pipewire.service
Your sound stutter should now be resolved. You can also try rebooting your computer just in case.
---
This site is not using any commenting system, but you can share your thoughts with the author by sending an email to me@mnts.dev.
---