Skip to content

Audio stuttering in many games in Gamescope w/ 6700XT #851

Description

@rayrayrayraydog

Describe the bug

I have been using bazzite since before Fedora 39 with this system, and I'm not sure when, but in the last few months the system has developed frequent audio stutters when running games. A number of users with 6700XT's have described similar issues -- in my case the audio just cuts out without any static for just a moment and does so very frequently in many games. Some games are impacted more than others. The stuttering is much more frequent when running games via Gamescope vs. launching them from the desktop. I also run the Kodi Flatpak through Steam in Gamescope and it doesn't ever have any audio stutter.

A few badly impacted games:

  • What the Golf
  • Crazy Taxi
  • PowerWash Simulator

What did you expect to happen?

Audio stuttering should not be an issue with this hardware in these lightweight games. I am using the HDMI audio output of the GPU.
I have tried some fixes from some threads in Discord with no noticeable change:

  • Ensure I'm using a proper 4K 2.1 capable HDMI cable. I'm using this but I've tried a few: https://www.amazon.com/gp/product/B09MQLP33J
  • Rule out amplifier as the cause -- stutter occurs via directly connected TV speakers and via TC->optical link to amp
  • Force Gen4 PCIe in BIOS
  • Add PULSE_LATENCY_MSEC=50 in each game's startup args in Steam
  • Checked /sys/module/snd_hda_intel/parameters/power_save_controller and /sys/module/snd_hda_intel/parameters/power_save settings (N and 10 respectively). Setting to N and 0 didn't change anything.

Output of rpm-ostree status

root@gameboi:/home/rayray# rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:latest
                   Digest: sha256:22d963175ca12c3f19e5b6997f2fb7a273dc3451076d3459f950e6e4b3d54561
                  Version: 39.20240302.0 (2024-03-03T02:14:15Z)
          LayeredPackages: fstrcmp libcec libmicrohttpd libnfs lirc-libs monitor-edid pcre-cpp perl-Switch shairplay-libs strace terminator
                           tinyxml x2goserver
                Initramfs: '-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf' 

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:latest
                   Digest: sha256:22d963175ca12c3f19e5b6997f2fb7a273dc3451076d3459f950e6e4b3d54561
                  Version: 39.20240302.0 (2024-03-03T02:14:15Z)
          LayeredPackages: fstrcmp libmicrohttpd libnfs lirc-libs monitor-edid pcre-cpp perl-Switch shairplay-libs strace terminator tinyxml
                           x2goserver
                Initramfs: '-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf'

Hardware

System is a custom HTPC running bazzite-deck:

  • CPU: AMD Ryzen 5 5600
  • RAM: F4-3200C16D-32GVK G.Skill Ripjaws 16GBx2
  • Motherboard: B550M PG Riptide
  • Storage: NVMe Intel 670p Series M.2 2280 2TB
  • GPU: Sapphire 11306-05-20G Pulse AMD Radeon RX 6700 XT OC
  • PCIe Bluetooth Adapter: AX1800 PCI-E WiFi Card MT7921 (wi-fi not in use, only for BT)
  • USB-C Network adapter (0bda:8156 Realtek Semiconductor Corp. USB 10/100/1G/2.5G LAN) to avoid issues with integrated NIC

Extra information or context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions