Performance issues related to audio stuttering

Hey all, I was trying to run Devil May Cry 5, but there is some severe audio stuttering that can lead to performance issues. This also happens on games like SCP:Pandemic, however it does not happen when playing games such as Night in the Woods or Purrgatory. I’m using XFCE. This appears to be both happening on DirectX12 and DirectX11, I’m using Proton 7.0.3 on the runtime version of Steam. My audio manager is PulseAudio, and here is my inxi output:

System:
  Kernel: 5.15.57-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=e4ad1068-6d6b-4f02-a068-e2ee7d48c741 rw quiet
    resume=UUID=cbdc6c6e-781b-4ed9-8a04-db72c652d804 udev.log_priority=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA401QM_GA401QM
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: GA401QM v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: GA401QM.410 date: 12/13/2021
Battery:
  ID-1: BAT0 charge: 71.5 Wh (100.0%) condition: 71.5/76.0 Wh (94.0%)
    volts: 15.8 min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: not charging
  Device-1: sony_controller_battery_84:17:66:f8:13:aa model: N/A serial: N/A
    charge: N/A status: full
Memory:
  RAM: total: 15.04 GiB used: 3.11 GiB (20.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: AMD Ryzen 9 5900HS with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25)
    model-id: 0x50 (80) stepping: 0 microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 2633 high: 4511 min/max: 1200/3300 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4511 2: 4492
    3: 1197 4: 1197 5: 1860 6: 1237 7: 3420 8: 3604 9: 2984 10: 2921 11: 3593
    12: 3591 13: 2405 14: 2169 15: 1758 16: 1197 bogomips: 105440
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
    driver: nvidia v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-07) arch: Ampere code: GAxxx process: TSMC n7
    (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-1
    bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
  Device-2: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel
    arch: GCN-5.1 code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:1638
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver: X:
    loaded: modesetting,nvidia gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: eDP-1 mapped: eDP-1-1 model: Sharp LQ140M1JW49 built: 2020
    res: 1920x1080 hz: 144 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85")
    diag: 355mm (14") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  OpenGL: renderer: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 v: 4.6.0
    NVIDIA 515.57 direct render: Yes
Audio:
  Device-1: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:228e class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.57-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 02:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 3-4:3 chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 131.41 GiB (13.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLQ1T0HBLB-00B00 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: FXM7201Q temp: 43.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 576.17 GiB size: 566.06 GiB (98.24%) used: 130.92 GiB
    (23.1%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
    uuid: e4ad1068-6d6b-4f02-a068-e2ee7d48c741
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 316 KiB
    (0.1%) fs: vfat dev: /dev/nvme0n1p9 maj-min: 259:9 label: NO_LABEL
    uuid: DC4D-90AE
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 9.47 GiB used: 501.2 MiB (5.2%)
    priority: -2 dev: /dev/nvme0n1p8 maj-min: 259:8 label: N/A
    uuid: cbdc6c6e-781b-4ed9-8a04-db72c652d804
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 260 MiB fs: vfat label: SYSTEM
    uuid: 2EB9-DD46
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 347.33 GiB fs: ntfs label: OS
    uuid: 24245B37245B0AE6
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 650 MiB fs: ntfs label: RECOVERY
    uuid: E2CA8B9BCA8B6B1D
  ID-5: /dev/nvme0n1p5 maj-min: 259:5 size: 19.5 GiB fs: ntfs label: RESTORE
    uuid: 88BA2079BA206642
  ID-6: /dev/nvme0n1p6 maj-min: 259:6 size: 200 MiB fs: vfat label: MYASUS
    uuid: 7420-BE8A
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: Razer USA RC30-0305 Gaming Mouse Dongle [Viper
    Ultimate (Wireless)] type: Mouse,Keyboard driver: hid-generic,usbhid
    interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 500mA chip-ID: 1532:007b
    class-ID: 0300
  Device-2: 1-2:3 info: Sony DualShock 4 [CUH-ZCT1x] type: HID
    driver: sony,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 500mA
    chip-ID: 054c:05c4 class-ID: 0300
  Device-3: 1-3:4 info: ASUSTek N-KEY Device type: Keyboard
    driver: asus,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 0b05:19b6 class-ID: 0301
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-3:2 info: Shenzhen Goodix FingerPrint type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 27c6:521d class-ID: ff00
  Device-2: 3-4:3 info: IMC Networks Wireless_Device type: Bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 100mA
    chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 65.1 C mobo: N/A
  Fan Speeds (RPM): cpu: 3400
  GPU: device: nvidia screen: :0.0 temp: 57 C device: amdgpu temp: 58.0 C
Info:
  Processes: 357 Uptime: 26m wakeups: 3 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6
  Packages: 1115 pacman: 1107 lib: 391 flatpak: 8 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.20

And here is the output of running the game through terminal:

ameAction [AppID 601150, ActionID 3] : LaunchApp changed task to ProcessingInstallScript with ""
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
GameAction [AppID 601150, ActionID 3] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 601150, ActionID 3] : LaunchApp changed task to SynchronizingControllerConfig with ""
GameAction [AppID 601150, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 601150, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 601150, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 601150, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/ondlad/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=601150 -- '/home/ondlad/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/ondlad/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun  '/home/ondlad/.local/share/Steam/steamapps/common/Devil May Cry 5/DevilMayCry5.exe'\0
Game process added : AppID 601150 "/home/ondlad/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=601150 -- '/home/ondlad/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/ondlad/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun  '/home/ondlad/.local/share/Steam/steamapps/common/Devil May Cry 5/DevilMayCry5.exe'", ProcID 10626, IP 0.0.0.0:0
chdir /home/ondlad/.local/share/Steam/steamapps/common/Devil May Cry 5
ERROR: ld.so: object '/home/ondlad/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 601150, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/ondlad/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/ondlad/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ondlad/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ondlad/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 601150, ActionID 3] : LaunchApp changed task to Completed with ""
pid 10630 != 10627, skipping destruction (fork without exec?)
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
ThreadGetProcessExitCode: no such process 10741
ThreadGetProcessExitCode: no such process 10739
ThreadGetProcessExitCode: no such process 10628
Game process updated : AppID 601150 "/home/ondlad/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=601150 -- '/home/ondlad/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/ondlad/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun  '/home/ondlad/.local/share/Steam/steamapps/common/Devil May Cry 5/DevilMayCry5.exe'", ProcID 10740, IP 0.0.0.0:0
Setting breakpad minidump AppID = 601150
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198190051463 [API loaded no]
ThreadGetProcessExitCode: no such process 10744
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
Game process updated : AppID 601150 "/home/ondlad/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=601150 -- '/home/ondlad/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/ondlad/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun  '/home/ondlad/.local/share/Steam/steamapps/common/Devil May Cry 5/DevilMayCry5.exe'", ProcID 10828, IP 0.0.0.0:0
Setting breakpad minidump AppID = 601150
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198190051463 [API loaded no]
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
Fossilize INFO: Overriding serialization path: "/home/ondlad/.local/share/Steam/steamapps/shadercache/601150/fozpipelinesv6/steamapprun_pipeline_cache".
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***


So yeah that’s that, let me know if I need to provide anything else or messed any formatting up.
Thank you!

Weirdly enough, this issue seems to have fixed itself after Steam validated the files, if you see this mods, feel free to close this topic :slight_smile: