[Arc A770] Starting wine application freezes system
When launching a Windows application through wine/proton, the system freezes for 5-25 seconds, usually until the application actually opens. In this period, I cannot interact with any application and they do not update their content (e.g. the current frame freezes when playing a video in the web browser). Any mouse/keyboard input is delayed, although I can move the mouse without any stutters. Usually audio is playing back fine as well, Discord voice chat being the only exception I know of.
The applications work fine afterwards, no issues there, just when starting them.
I think this issues is with Mesa in combination with my Intel Arc A770, because the issue disappers when I swap it for my older nvidia GPU while not changing anything else. Also, on my notebook with Intel integrated graphics and Mesa this doesn't happen, altough the systems are quite similar (same package versions and same version of mesa).
Sadly, I do not know how to further debug this...
System information
$ inxi -GSC -xx
System:
Host: trayshar-manjaro Kernel: 6.6.6-2-MANJARO arch: x86_64 bits: 64
compiler: gcc v: 13.2.1 Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11
wm: kwin_x11 dm: SDDM Distro: Manjaro Linux base: Arch Linux
CPU:
Info: 8-core model: AMD Ryzen 7 7700X bits: 64 type: MT MCP arch: Zen 4
rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 32 MiB
Speed (MHz): avg: 1645 high: 5356 min/max: 400/5573 cores: 1: 400 2: 400
3: 4268 4: 4418 5: 400 6: 400 7: 400 8: 400 9: 4141 10: 3751 11: 400 12: 400
13: 5356 14: 400 15: 400 16: 400 bogomips: 144077
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: Intel DG2 [Arc A770] driver: i915 v: kernel arch: Gen-12.7 pcie:
speed: 2.5 GT/s lanes: 1 ports: active: DP-1,DP-4,HDMI-A-2 empty: DP-2,
DP-3, HDMI-A-1, HDMI-A-3 bus-ID: 03:00.0 chip-ID: 8086:56a0
Display: x11 server: X.Org v: 21.1.9 compositor: kwin_x11 driver: X:
loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 5760x1080 s-dpi: 96
Monitor-1: DP-1 pos: left model: Asus VS248 res: 1920x1080 dpi: 92
diag: 609mm (24")
Monitor-2: DP-4 pos: primary,center model: AOC 24G2W1G4 res: 1920x1080
dpi: 93 diag: 604mm (23.8")
Monitor-3: HDMI-A-2 mapped: HDMI-2 pos: right model: BenQ GL2460
res: 1920x1080 dpi: 92 diag: 609mm (24")
API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast
surfaceless: drv: iris x11: drv: iris inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel v: N/A glx-v: 1.4
direct-render: yes renderer: Mesa Intel Arc A770 Graphics (DG2)
device-ID: 8086:56a0
API: Vulkan v: 1.3.269 surfaces: xcb,xlib device: 0 type: discrete-gpu
driver: mesa intel device-ID: 8086:56a0 device: 1 type: cpu
driver: mesa llvmpipe device-ID: 10005:0000
- Mesa 24.0.0, compiled from source at commit c2558a2d. Issue happens since at least Mesa 23.3, but I'm quite sure it's been like this since I switched to Intel Arc, which was around February 2023.
- Tested with Wine/Proton version 7 and 8, both through CLI and Steam
Video file
Heres a short clip of the issue, when launching Notepad++ using wine 8.21. As soon as I open the application, my whole system freezes. Altough the mouse cursor freezes in the recording, it moves fine on my display. WSI-2023-12-12_18.49.54.mkv