Wine Performance on Linux 5.8 vs 5.7

Hello, so I recently switched to Linux 5.8 and everything seems the same if not better in native games. However, I opened Pokemon Insurgence through Lutris (an RPG maker game) and found that it was extremely laggy. These issues aren’t present on 5.7 and really shouldn’t be the case since it’s not a very demanding game. Switching back to 5.7 fixes this, but what can I do to troubleshoot this?

System Info:

$ inxi -Fxza --no-hostname
System:
  Kernel: 5.7.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
  parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.7-x86_64 
  root=UUID=aeff4b12-d7ff-495f-8cba-d226b1c1088d rw rootflags=subvol=@ quiet 
  udev.log_priority=3 
  Desktop: Cinnamon 4.6.7 tk: GTK 3.24.22 dm: LightDM 1.30.0 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Micro-Star product: MS-7B51 v: 1.0 serial: <filter> 
  Mobo: Micro-Star model: MPG Z390 GAMING PLUS (MS-7B51) v: 1.0 
  serial: <filter> UEFI: American Megatrends v: 1.10 date: 08/22/2018 
Battery:
  Device-1: hidpp_battery_0 model: Logitech K520 serial: <filter> 
  charge: 70% (should be ignored) rechargeable: yes status: Discharging 
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse M510 
  serial: <filter> charge: 55% (should be ignored) rechargeable: yes 
  status: Discharging 
CPU:
  Topology: 6-Core model: Intel Core i7-8700K bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 9E (158) stepping: A (10) 
  microcode: D6 L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 88824 
  Speed: 800 MHz min/max: 800/4700 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  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: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2070 Rev. A] vendor: Micro-Star MSI 
  driver: nvidia v: 440.100 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:1f07 
  Display: x11 server: X.Org 1.20.8 driver: nvidia display ID: :0 screens: 1 
  Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1185x381mm (46.7x15.0") 
  s-diag: 1245mm (49") 
  Monitor-1: HDMI-0 res: 2560x1440 dpi: 109 size: 596x335mm (23.5x13.2") 
  diag: 684mm (26.9") 
  Monitor-2: DP-5 res: 1920x1080 hz: 75 dpi: 102 
  size: 480x270mm (18.9x10.6") diag: 551mm (21.7") 
  OpenGL: renderer: GeForce RTX 2070/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci 
  bus ID: 00:1f.3 chip ID: 8086:a348 
  Device-2: NVIDIA TU106 High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f9 
  Device-3: JMTek LLC. JOUNIVO JV605PRO type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-2:3 chip ID: 0c76:605d 
  serial: <filter> 
  Sound Server: ALSA v: k5.7.14-1-MANJARO 
Network:
  Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e 
  v: 3.2.6-k port: efa0 bus ID: 00:1f.6 chip ID: 8086:15bc 
  IF: eno1 state: down mac: <filter> 
  Device-2: Ralink RT5572 Wireless Adapter type: USB driver: rt2800usb 
  bus ID: 1-9:8 chip ID: 148f:5572 serial: <filter> 
  IF: wlp0s20f0u9 state: up mac: <filter> 
Drives:
  Local Storage: total: 1.42 TiB used: 358.32 GiB (24.6%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda vendor: SanDisk model: SDSSDH31000G size: 931.51 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 70RL scheme: GPT 
  ID-2: /dev/sdb vendor: SanDisk model: SDSSDH3500G size: 465.76 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 70RL scheme: GPT 
  ID-3: /dev/sdc type: USB vendor: Generic model: Flash Disk size: 58.59 GiB 
  block size: physical: 512 B logical: 512 B serial: <filter> rev: 8.07 
Partition:
  ID-1: / raw size: 34.18 GiB size: 34.18 GiB (100.00%) 
  used: 11.92 GiB (34.9%) fs: btrfs dev: /dev/sda2 
  ID-2: /home raw size: 889.40 GiB size: 874.43 GiB (98.32%) 
  used: 346.40 GiB (39.6%) fs: ext4 dev: /dev/sda3 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 7.82 GiB used: 0 KiB (0.0%) 
  priority: -2 dev: /dev/sda4 
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: nvidia temp: 57 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 32% 
Info:
  Processes: 347 Uptime: 1h 37m Memory: 15.58 GiB used: 3.43 GiB (22.0%) 
  Init: systemd v: 245 Compilers: gcc: 10.1.0 Packages: 1074 pacman: 1064 
  lib: 321 flatpak: 10 Shell: Zsh v: 5.8 running in: tilix inxi: 3.1.05 

Install bmenu, run it in the terminal, then press D for system diagnosis

                       T  O  O  L   B   O   X 
 +----------------------------------------------------------------+
 |     1  Package manager UI      |     2  System Information     |
 |--------------------------------|-------------------------------|
 |     3  Hardware and Drivers    |     4  File Manager           |
 |--------------------------------|-------------------------------|
 |     5  Web Browser             |     6  File Search            |
 |--------------------------------|-------------------------------|
 |     7  System & Settings       |     8  CLI Translator         |
 |--------------------------------|-------------------------------|
 |     9  Manjaro Release Compare |     T  Task Manager           |
 |--------------------------------|-------------------------------|
 |     C  Cpu Frequency Info      |     D  System Diagnosis       |
 |--------------------------------|-------------------------------|
 |     U  Website Status Check    |     M  Music Player           |
 +----------------------------------------------------------------+

  Enter marked number or letter   -     0  Quit 
                           System Diagnosis 
 +----------------------------------------------------------------+
 |     1  Pacman Log Search       |     2  Installed Packages     |
 |--------------------------------|-------------------------------|
 |     3  Zsh History Search      |     4  Bash History Search    |
 |--------------------------------|-------------------------------|
 |     5  Journal Error Search    |     6  Dmesg Search           |
 |--------------------------------|-------------------------------|
 |     7  Graphics Log Search     |     8  Man Page Search        |
 |--------------------------------|-------------------------------|
 |     9  Journal Live Log        |     M  Enter The Matrix       |
 +----------------------------------------------------------------+

  Enter marked number or letter   -     0  Quit 

Check out what the option do, report some findings if you find any.

Looking through the options, there doesn’t seem to be much here that would indicate my problem. I guess it might be a bug with wine then…

I found someone with a similar issue on the Linux Gaming Subreddit but it might not be related since they’re on Xubuntu.

also kernel58 just appears ,
as new update wine

are you using wine or wine-git ?

1 Like

Just regular wine, but after switching back to 5.4 things are the same as before.

After some testing, I realized that the issue seems to be fixed by limiting the game to a single core. Another Wine program, CEMU, doesn’t seem to be affected by this and, thus, I have no idea what causes this issue. Either way, the game probably doesn’t benefit from multi-core too much, so if this doesn’t come up again I’ll mark this as solved.

is it really a matter of kernel update ,
or more a wine update ?

As I said, things went back to normal after going back to 5.4. So yes, it is most likely the kernel.