[Bug 59013] New: Final Fantasy XI Online: Noticeable overall performance regression.
http://bugs.winehq.org/show_bug.cgi?id=59013 Bug ID: 59013 Summary: Final Fantasy XI Online: Noticeable overall performance regression. Product: Wine Version: 10.6 Hardware: x86-64 URL: http://www.playonline.com/ff11eu/download/media/benchm ark03.html OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs(a)list.winehq.org Reporter: chiitoo(a)gentoo.org Regression SHA1: 93bfdc6f21a1b1be092b7a7b8e5b1dad0aff8a46 Distribution: Gentoo Not sure if this is regression per se, but it looks like after 93bfdc6f21a [1], at least some applications suffer from lower performance. For example in certain situations in Final Fantasy XI Online, FPS may drop by ~12 or more from the maximum of ~29. At 11390796260 [2], or possibly already starting/related at/to ac8591ee3d2 [3], the commit before that, FPS in the same testing method can be seen dropping by ~5 at most, so that might add some to it. Before that point, the FPS count would more or less stay around the maximum ~29 (I don't think I've ever seen the Wine debug 'fps' hit 30, which is the maximum, but I'm not sure if it really hits it on Windows either), with a CPU use on the executable at around 170-180% (two threads). After [1], CPU usage will be at the maximum of two threads for the process, and my CPU fans start working a bit harder on the Ryzen 9 7950X too. Graphics stack consists of the open amdgpu driver and a Radeon RX 5700 XT. Unsurprisingly perhaps, these drops can be observed using the related, Final Fantasy XI Online Benchmark as well. At 9.0.1 or 9.0 and up for some ways, the benchmark will give me a score over 12000, but after these two points in commits, it will give around 10000. The first, slight drop happens at around 9.3, but it is much less noticeable, and I didn't bisect that fully yet. As a sidey-note, I also saw ~8000 points when not using GCC optimisations (normally -O2), and ~6000 if additionally running it with wow64-new, but that's a tale for another time. Thank you! 1. https://gitlab.winehq.org/wine/wine/-/commit/93bfdc6f21a1b1be092b7a7b8e5b1da... 2. https://gitlab.winehq.org/wine/wine/-/commit/11390796260f8fb54b19024f1093848... 3. https://gitlab.winehq.org/wine/wine/-/commit/ac8591ee3d25c0545c6a67d260e0c72... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59013 Chiitoo <chiitoo(a)gentoo.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59013 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com --- Comment #1 from Zeb Figura <z.figura12@gmail.com> --- Created attachment 79923 --> http://bugs.winehq.org/attachment.cgi?id=79923 patch Does this patch help? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59013 --- Comment #2 from Zeb Figura <z.figura12@gmail.com> --- (In reply to Zeb Figura from comment #1)
Created attachment 79923 [details] patch
Does this patch help?
That'll only address the clip plane problem, I skimmed too hard and didn't notice the other two. I'd be surprised if that commit [3] kills performance, but [2] is more plausible. How sure are you that [3] affects things? [2] could probably use a similar treatment. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59013 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79923|0 |1 is obsolete| | --- Comment #3 from Zeb Figura <z.figura12@gmail.com> --- Created attachment 79925 --> http://bugs.winehq.org/attachment.cgi?id=79925 updated patch Here's an updated patch that addresses both transforms and clip planes. If this doesn't help, can you attach a +d3d9,+d3d log? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59013 --- Comment #5 from Zeb Figura <z.figura12@gmail.com> --- Created attachment 79935 --> http://bugs.winehq.org/attachment.cgi?id=79935 try not to invalidate *all* the clip planes quite as much (In reply to Chiitoo from comment #4)
Interestingly(?), it seems like I'm not hitting the added trace message at all.
Yeah, I was just wrong about what was causing it. The log helps, thanks. Does this patch improve things? -- 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 (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla