Trying to identify root of video stuttering and audio static issues related to Wine and Proton

Hi! I’m fairly new to Endeavour OS and Linux in general. Have been using Endeavour OS since the end of June, with a couple weeks on Ubuntu before that. Here’s my specs:

OS: EndeavourOS Linux x86_64
Kernel: 6.12.9-arch1-1
Uptime: 4 hours, 26 mins
Packages: 6 (npm), 1801 (pacman), 14 (steam), 11 (flatpak-system)
Shell: fish 3.7.1
Editor: GNU nano 8.3
Resolution: 1920x1080, 1920x1080
DE: Plasma 6.2.5 [KF 6.10.0] [Qt 6.8.1] (wayland)
WM: kwin_wayland_wr
Theme: Breeze-Dark [GTK2/3]
Icons: breeze-dark [GTK2/3]
Cursor: Kokomi [GTK2/3]
Terminal: konsole
CPU: AMD Ryzen 9 5950X (32) @ 5.0GHz
GPU: AMD ATI Radeon RX 7700 XT / 7800 XT
Memory: 7.36 GiB / 62.69 GiB (11%)
Network: 1 Gbps; Wifi
Bluetooth: Intel Corp. Wireless-AC 9260 Bluetooth Adapter
BIOS: American Megatrends Inc. 5.17 (03/22/2024)

packages of note: Wine-GE, Proton-GE, (only regular Wine and Proton on Ubuntu) Umu-launcher

Before I continue, I must note that I have swapped CPUs some time after I started using Endeavour OS. I went from the 5700x to the 5950x. When I was initially on Endeavour, my system would somewhat frequently hard lock sometime after I start any Proton or WINE games. If there was audio playing when it hard locks, it would loop the last second or so repeatedly. That has eventually disappeared with package updates, but I get the feeling I might be missing some important packages if that was happening when it didn’t on Ubuntu.

The next part is what I mentioned in the title. After I upgraded my CPU to the 5950x, the performance in World of Tanks dropped like a rock. I do not recall what it was like early in Endeavour, but WoT had a framerate of roughly 120-180FPS (I didn’t turn on Vsync and capped the FPS). After swapping CPUs and on Endeavour, it would struggle to keep at a capped 60FPS, dipping as low as in the 20s, and even when it hits 60FPS, it feels way too stuttery for 60FPS. When something a little more physics intensive happens (destructible environments), FPS also drops. Using another game for reference, HoloCure, when too many enemies and objects are on the screen, the FPS tanks. On the audio side (back in World of Tanks specifically), the audio would come off static-y, I believe more static-y when more physics things happen.

I’ve used Geekbench to benchmark the 5950x, and it seems like it was fine. However, when I tried running World of Tanks on a Nobara install (presumably with Wine-GE with the Nobara Lutris package), the performance had the same issues. This made me suspect it might be the CPU, but I can’t be certain because of the Geekbench performance.

I’ve tried to diagnose what the issue myself for a while now (I suspect everything I’ve run into might actually stem from a single issue rather than more than one), but I haven’t been able to figure it out. If anyone can point me in the right direction, that would be awesome.

Welcome to the community @Serara :wave::sunglasses: :enos_flag:

The performance difference between the 5700X and 5950X in gaming would be insignificant, if any. Something in the range of 4%, maybe.

That said, you have obviously experienced a performance difference, and in a bad way! So, something isn’t right, obviously.

Can you share a different set of hardware specs please, that will provide some extra bits of information:

inxi -GSM --za
1 Like

System:
Kernel: 6.12.9-arch1-1 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 6.2.5 Distro: EndeavourOS
Machine:
Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS (WI-FI) v: Rev X.0x
serial: UEFI: American Megatrends v: 5013
date: 03/22/2024
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 32 [Radeon RX 7700 XT /
7800 XT] driver: amdgpu v: kernel
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: X: loaded: amdgpu
unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu resolution:
1: 1920x1080~60Hz 2: 1920x1080~60Hz
API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.3-arch1.2
renderer: AMD Radeon RX 7800 XT (radeonsi navi32 LLVM 19.1.6 DRM 3.59
6.12.9-arch1-1)
API: Vulkan v: 1.4.303 drivers: N/A surfaces: xcb,xlib,wayland
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: amdgpu_top wl: wayland-info
x11: xdpyinfo, xprop, xrandr

1 Like

First up, there is a UEFI / BIOS update available for your board. It might be worth updating that using the utility within your UEFI / BIOS.

https://www.asus.com/us/supportonly/tuf%20gaming%20x570-plus%20(wi-fi)/helpdesk_bios/

The next thing I would consider, is temperatures. If the CPU is not being correctly or adequately cooled, it will throttle down to maintain a safe operating temperature. So while the fans are on and everything seems to be normal, the potential reality might be the CPU is underclocking itself.

A basic way to glance at temperature, CPU clock speed and system resources, is to run World of Tanks and while experiencing the issue, see if you can run:

inxi -sCIt --za

Actually the other thing that would be useful to know, particularly as memory can impact Ryzen processors fairly significantly, is some specs for your RAM.

sudo inxi -mxx --za

Edit: Using sudo here provides more accurate information.

Memory:
System RAM: total: 64 GiB available: 62.7 GiB used: 12.16 GiB (19.4%)
Message: For most reliable report, use superuser + dmidecode.
Array-1: capacity: 128 GiB slots: 4 modules: 4 EC: None
max-module-size: 32 GiB note: est.
Device-1: DIMM_A1 type: DDR4 size: 16 GiB speed: 3600 MT/s volts: 1
note: check manufacturer: Corsair part-no: CMH32GX4M2D3600C18
Device-2: DIMM_A2 type: DDR4 size: 16 GiB speed: 3600 MT/s volts: 1
note: check manufacturer: Corsair part-no: CMH32GX4M2D3600C18
Device-3: DIMM_B1 type: DDR4 size: 16 GiB speed: 3600 MT/s volts: 1
note: check manufacturer: Corsair part-no: CMH32GX4M2D3600C18
Device-4: DIMM_B2 type: DDR4 size: 16 GiB speed: 3600 MT/s volts: 1
note: check manufacturer: Corsair part-no: CMH32GX4M2D3600C18

Here’s the info. Been trying to run the other command at the right time while in World of Tanks. The results say the CPU temp is around 48-50C, which shouldn’t be a throttling issue, right? Also, I checked with Psensor and the Tctl and Tccd1 are in the upper and lower 60s respectively when running things (dunno if that is useful or not, just to include).

Some results during gameplay.

CPU:
Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP cache:
L2: 8 MiB
Speed (MHz): avg: 4843 min/max: 550/5084 cores: 1: 4843 2: 4843 3: 4843
4: 4843 5: 4843 6: 4843 7: 4843 8: 4843 9: 4843 10: 4843 11: 4843 12: 4843
13: 4843 14: 4843 15: 4843 16: 4843 17: 4843 18: 4843 19: 4843 20: 4843
21: 4843 22: 4843 23: 4843 24: 4843 25: 4843 26: 4843 27: 4843 28: 4843
29: 4843 30: 4843 31: 4843 32: 4843
Sensors:
System Temperatures: cpu: 48.0 C mobo: 34.0 C gpu: amdgpu temp: 64.0 C
Fan Speeds (rpm): fan-1: 1175 fan-2: 1352 fan-3: 1518 fan-4: 1146
fan-5: 2005 fan-6: 0 fan-7: 1428 gpu: amdgpu fan: 583
Processes:
CPU top: 5 of 539
1: cpu: 1120% command: C:\Games\World_of_Tanks_NA\win64\WorldOfTanks.exe
pid: 59900
2: cpu: 45.2% command: floorp pid: 46157
3: cpu: 5.7% command: floorp pid: 48476
4: cpu: 5.3% command: floorp pid: 46729
5: cpu: 4.3% command: kwin_wayland pid: 1258
System RAM: total: 64 GiB note: est. available: 62.7 GiB
used: 11.52 GiB (18.4%)
Memory top: 5 of 539
1: mem: 3706.3 MiB (5.7%)
command: C:\Games\World_of_Tanks_NA\win64\WorldOfTanks.exe pid: 59900
2: mem: 1207.2 MiB (1.8%) command: floorp pid: 46157
3: mem: 832.4 MiB (1.2%) command: floorp pid: 46729
4: mem: 645.6 MiB (1.0%) command: plasmashell pid: 1555
5: mem: 391.0 MiB (0.6%) command: wgc.exe pid: 59504
Info:
Processes: 539 Uptime: 5h 31m Shell: fish inxi: 3.3.37


CPU:
Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP cache:
L2: 8 MiB
Speed (MHz): avg: 4687 min/max: 550/5084 cores: 1: 4687 2: 4687 3: 4687
4: 4687 5: 4687 6: 4687 7: 4687 8: 4687 9: 4687 10: 4687 11: 4687 12: 4687
13: 4687 14: 4687 15: 4687 16: 4687 17: 4687 18: 4687 19: 4687 20: 4687
21: 4687 22: 4687 23: 4687 24: 4687 25: 4687 26: 4687 27: 4687 28: 4687
29: 4687 30: 4687 31: 4687 32: 4687
Sensors:
System Temperatures: cpu: 50.5 C mobo: 34.0 C gpu: amdgpu temp: 60.0 C
Fan Speeds (rpm): fan-1: 1266 fan-2: 1413 fan-3: 1590 fan-4: 1192
fan-5: 2002 fan-6: 0 fan-7: 1428 gpu: amdgpu fan: 583
Processes:
CPU top: 5 of 508
1: cpu: 1155% command: C:\Games\World_of_Tanks_NA\win64\WorldOfTanks.exe
pid: 59900
2: cpu: 100% command: ps pid: 61830
3: cpu: 45.0% command: floorp pid: 46157
4: cpu: 5.5% command: floorp pid: 48476
5: cpu: 5.2% command: floorp pid: 46729
System RAM: total: 64 GiB note: est. available: 62.7 GiB
used: 11.36 GiB (18.1%)
Memory top: 5 of 508
1: mem: 3724.9 MiB (5.8%)
command: C:\Games\World_of_Tanks_NA\win64\WorldOfTanks.exe pid: 59900
2: mem: 1029.9 MiB (1.6%) command: floorp pid: 46157
3: mem: 843.9 MiB (1.3%) command: floorp pid: 46729
4: mem: 645.6 MiB (1.0%) command: plasmashell pid: 1555
5: mem: 390.1 MiB (0.6%) command: wgc.exe pid: 59504
Info:
Processes: 508 Uptime: 5h 35m Shell: fish inxi: 3.3.37


CPU:
Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP cache:
L2: 8 MiB
Speed (MHz): avg: 4002 min/max: 550/5084 cores: 1: 4002 2: 4002 3: 4002
4: 4002 5: 4002 6: 4002 7: 4002 8: 4002 9: 4002 10: 4002 11: 4002 12: 4002
13: 4002 14: 4002 15: 4002 16: 4002 17: 4002 18: 4002 19: 4002 20: 4002
21: 4002 22: 4002 23: 4002 24: 4002 25: 4002 26: 4002 27: 4002 28: 4002
29: 4002 30: 4002 31: 4002 32: 4002
Sensors:
System Temperatures: cpu: 49.0 C mobo: 34.0 C gpu: amdgpu temp: 60.0 C
Fan Speeds (rpm): fan-1: 1244 fan-2: 1387 fan-3: 1558 fan-4: 1174
fan-5: 2002 fan-6: 0 fan-7: 1427 gpu: amdgpu fan: 583
Processes:
CPU top: 5 of 508
1: cpu: 1131% command: C:\Games\World_of_Tanks_NA\win64\WorldOfTanks.exe
pid: 59900
2: cpu: 45.0% command: floorp pid: 46157
3: cpu: 5.4% command: floorp pid: 48476
4: cpu: 5.1% command: floorp pid: 46729
5: cpu: 4.3% command: kwin_wayland pid: 1258
System RAM: total: 64 GiB note: est. available: 62.7 GiB
used: 11.33 GiB (18.1%)
Memory top: 5 of 508
1: mem: 3725.8 MiB (5.8%)
command: C:\Games\World_of_Tanks_NA\win64\WorldOfTanks.exe pid: 59900
2: mem: 1031.5 MiB (1.6%) command: floorp pid: 46157
3: mem: 844.2 MiB (1.3%) command: floorp pid: 46729
4: mem: 645.6 MiB (1.0%) command: plasmashell pid: 1555
5: mem: 390.1 MiB (0.6%) command: wgc.exe pid: 59504
Info:
Processes: 508 Uptime: 5h 36m Shell: fish inxi: 3.3.37

I forget exactly when third one happened. I just ran it multiple times during a match.

1 Like

Your system spec is not too different to my workstation.

I’m using an older Asus X470 based board, with the Ryzen 5900X, and 64GB of 3600MHz RAM (similar 4x CMK32GX4M2D3600C16). I’m using a Nvidia A4000 workstation GPU though.

From what you’ve shared so far, I’ve not spotted anything that is concerning yet. Your CPU temps are impressively low when under load. What CPU cooler are you using?

In the UEFI / BIOS, do you have DOCP active for your RAM timings? I would recommend it.

I use a Jonsbo CR-3000 cooler. Clearly went for style over substance, but it works. I used the setting for my mobo to set up what it considers to be an optimized fan curve.

I applied the OC settings on the RAM, but it’s two separate pairs instead of being a single, four stick set. Could that be an issue? (I have the correct orientation for them, I initially had them mismatched (AABB or ABBA) but fixed that months ago)

Could the issue be that the 5950x might be faulty? It was an open box one from eBay, so it might be cooked? (Though that doesn’t explain the Geekbench score)

It’s perhaps worth noting, that specifically “stuttering” and audio “crackling” is reported for World of Tanks in ProtonDB.

There are a few tinker steps offered that you might try. However, some have said they still had issues despite that.

Huh. I wonder if a patch caused the issue just popped up right around when I just changed my CPU because I had no issues on the 5700x on both Ubuntu and Endeavour. That said, that doesn’t explain the hard locking that I experienced with multiple Wine/Proton games, but some package update patched that up at some point.

I guess my setup is fine right now and just need to keep an eye on the compatibility on ProtonDB and Lutris as games get updated. I guess I’ll just mark it as solved for now.

Thanks for the help though!

Do you still have your 5700X? It’s a bit of a task, but one option is, you try the 5700X again without performing any updates, and see if it’s better again. You’d need to clean up any thermal tape/paste and correctly reapply fresh thermal paste etc.

If the issue immediately goes away, perhaps there is an issue with the 5950X.

If you’re not often doing tasks that benefit from 16 cores (vs 8), such as 3D animation, and fairly specific computational tasks designed for many cores like running multiple VM’s, compilation (and only sometimes), video encoding (if the GPU isn’t being used), the 5700X would serve you equally well in my opinion.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.