https://bugs.winehq.org/show_bug.cgi?id=55500
Bug ID: 55500 Summary: Launching new processes in Virtual Desktops is slow and stutters the system Product: Wine Version: 8.14 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: gabrielopcode@gmail.com Distribution: ---
When in Virtual Desktop mode, launching any processes (even start.exe) causes a short burst of high GPU usage, at least with NVIDIA drivers. This happens because of vkGetRandROutputDisplayEXT, which seems to be very expensive, and it's supposed to be done only once per wineserver launch, but that doesn't work in Virtual Desktop mode because it always calls get_host_primary_monitor_rect which ends up calling that function, even though it only needs the ID.
This actually can cause huge graphical stutters/lag of half a second when launching processes in a Virtual Desktop.