[Bug 43068] New: Armed and Dangerous: severe performance degradation
https://bugs.winehq.org/show_bug.cgi?id=43068 Bug ID: 43068 Summary: Armed and Dangerous: severe performance degradation Product: Wine Version: 2.1 Hardware: x86 URL: http://www.geforce.com/games-applications/pc-games/arm ed-and-dangerous OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: gyebro69(a)gmail.com CC: hverbeet(a)gmail.com Regression SHA1: afb2aa2512d4c5ffa7256ce5137bc2c142a5d065 Distribution: --- Created attachment 58243 --> https://bugs.winehq.org/attachment.cgi?id=58243 terminal output Mouse movement in the menus (Options -> Graphics/Audio/Controls) is very sluggish, it is lagging a lot. Performance degradation also occurs in mid-game: the game runs much slower than it used to. Disabling the option 'Enable Decals' in the video option menu helps improve performance (framerate) in the game, but it doesn't affect the lagging mouse in the menus. The game used to run perfectly (without the reported performance issue) before commit afb2aa2512d4c5ffa7256ce5137bc2c142a5d065 Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Mon Jan 30 13:04:40 2017 +0100 wined3d: Try to avoid stalling on dynamic buffer maps. Particularly for applications that use dynamic buffers without WINED3D_MAP_DISCARD/WINED3D_MAP_NOOVERWRITE. armed_and_dangerous.exe sha1: 8e3d04f09feac299df5056480b7729991668781b wine-2.8-133-g3f01ab4c39 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 381.22 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 --- Comment #1 from Henri Verbeet <hverbeet(a)gmail.com> --- For what it's worth, I can reproduce the performance issue in the menu, but reverting afb2aa2512d4c5ffa7256ce5137bc2c142a5d065 actually makes it slower. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 --- Comment #2 from Béla Gyebrószki <gyebro69(a)gmail.com> --- I couldn't revert the commit cleanly on current git. I verified the result of the regression test with 1. git checkout afb2aa2512d4c5ffa7256ce5137bc2c142a5d065 (the problem does exist) 2. git checkout afb2aa2512d4c5ffa7256ce5137bc2c142a5d065^ (the game runs properly without the slowdown) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia(a)gmail.com --- Comment #3 from Józef Kucia <joseph.kucia(a)gmail.com> --- The performance degradation is probably specific to Nvidia blob. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 --- Comment #4 from Bruno Jesus <00cpxxx(a)gmail.com> --- My test results for wine-git measured with +fps (tested twice). Intel: 16fps NVIDIA proprietary: 4.75fps LIBGL_ALWAYS_SOFTWARE: 24fps Results for afb2aa2512d4c5ffa7256ce5137bc2c142a5d065: Intel: 11fps NVIDIA proprietary: 2.58fps LIBGL_ALWAYS_SOFTWARE: 15fps Results for afb2aa2512d4c5ffa7256ce5137bc2c142a5d065^: Intel: 60fps NVIDIA proprietary: 60fps LIBGL_ALWAYS_SOFTWARE: 76fps Due to setup conflicts I can't test with Nouveau. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 --- Comment #5 from Henri Verbeet <hverbeet(a)gmail.com> --- Created attachment 58264 --> https://bugs.winehq.org/attachment.cgi?id=58264 patch Does the attached patch make it any better? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #6 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to Henri Verbeet from comment #5)
Created attachment 58264 [details] patch
Does the attached patch make it any better?
Results for wine-git + patch Intel: 416fps NVIDIA proprietary: 60fps LIBGL_ALWAYS_SOFTWARE: 73.5fps Do not ask me why Intel is so high, but I triple checked with/without the patch and 416 is consistent. Without the patch it goes back to 16fps. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 --- Comment #7 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to Henri Verbeet from comment #5)
Created attachment 58264 [details] patch
Does the attached patch make it any better?
The patch makes a huge difference here as well. 2.8 fps (unpatched) vs. 60 fps (patched). This is with Nvidia binary drivers 381.22 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |63ed42ac39440cc914397c70ed0 | |c43aa747ceb4e Status|NEW |RESOLVED --- Comment #8 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Fixed by https://source.winehq.org/git/wine.git/commit/63ed42ac39440cc914397c70ed0c43... Thank you, Henri. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.0-rc5. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43068 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #10 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 2.0.x milestone from bugs included in 2.0.5. -- 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.
participants (1)
-
wine-bugs@winehq.org