http://bugs.winehq.org/show_bug.cgi?id=60354 Bug ID: 60354 Summary: opengl32: Severe WoW64 slowdown with NVIDIA during repeated Vulkan buffer mapping Product: Wine Version: 11.18 Hardware: x86-64 URL: https://www.moddb.com/games/age-of-wonders-2-the-wizar ds-throne/downloads/demo-with-multiplayer OS: Linux Status: NEW Keywords: download, patch Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@list.winehq.org Reporter: gyebro69@gmail.com Target Milestone: --- Distribution: --- *The analysis and a diagnostic patch in this bug report was made by ChatGPT, and all results were verified through my own testing.* The Age of Wonders II: The Wizard's Throne demo becomes almost unresponsive when entering the tutorial in fullscreen mode with new WoW64 Wine and the NVIDIA proprietary userspace driver. A diagnostic patch which retains the underlying Vulkan memory mapping across OpenGL buffer map/unmap calls restores normal performance. This appears related to bug #55981, but the Vulkan-based mapping path is already active in this case. The captured logs contain no mapped-buffer copy fallback messages. Instead, tracing shows repeated replacement of the same 64 MiB mapping through Wine's WoW64 OpenGL map/unmap functions and the NVIDIA driver. Steps to reproduce: 1. install the demo. First start aow2Setup.exe and make sure that 'UseDirect3D' option is selected and a display mode other than 'windowed' is selected. (the problem doesn't occur in windowed mode). 2. start AoW2.exe, from the menu select 'Tutorial' 3. observe performance when the game scene appears. With vanilla Wine and NVIDIA, the game becomes extremely slow as soon as the tutorial scene appears. Visually, the frame rate appears below 1 FPS and mouse interaction is severely delayed. The fullscreen slowdown also occurs under X11, native Wayland, and XWayland. I compared the results to nouveau/Mesa 26.2.3: * NVIDIA, vanilla Wine, game fullscreen: severe slowdown * NVIDIA, patched Wine, game fullscreen: normal performance * NVIDIA, vanilla Wine, game's own Windowed mode: normal performance * Nouveau/Mesa 26.2.3, vanilla Wine, game fullscreen: normal performance. Tested on: Arch Linux NVIDIA GeForce GTX 1660 SUPER NVIDIA driver 615.71.09, with the open kernel module Wine 11.18, new WoW64 build 32-bit AoW2.exe (PE32, Intel i386) Reproduced under X11/Xfce, native Wayland, and XWayland Nouveau/Mesa 26.2.3 tested as a comparison on the same GPU -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.