[Bug 47267] New: Prototype have hurt performance with csmt enabled and required StrictDrawOrdering setting that has been removed
https://bugs.winehq.org/show_bug.cgi?id=47267 Bug ID: 47267 Summary: Prototype have hurt performance with csmt enabled and required StrictDrawOrdering setting that has been removed Product: Wine Version: 4.9 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: andy86(a)fastwebnet.it Distribution: ArchLinux Prototype 1 has hurt performance when csmt is enabled, max 20fps, disabling csmt performance is min 30fps and max 80fps (game is probably bad optimize) but have graphics glitches as geometry flickering, pieces draw in wrong places and animation frame missing. Try with wine 3.4, that is last version with StrictDrawOrdering settings and enabling it, game do not have geometry glitches in spite of csmt is disabled and have acceptable performance (30~80fps). Then I think is a good idea reintroduce StrictDrawOrdering settings in new wine, that is useful for game that not take profit from csmt. -- 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=47267 andy <andy86(a)fastwebnet.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andy86(a)fastwebnet.it Component|-unknown |directx-d3d -- 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=47267 pattietreutel <katyaberezyaka(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka(a)gmail.com -- 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=47267 andy <andy86(a)fastwebnet.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |70f017ac4d40642195947f6e03a | |ff83c246dede8 -- 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=47267 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya(a)gmail.com -- 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=47267 --- Comment #1 from andy <andy86(a)fastwebnet.it> --- Created attachment 64612 --> https://bugs.winehq.org/attachment.cgi?id=64612 log +d3d_shader,+d3d_constants,+d3d_perf,+winediag,+pid,+timestamp,+fps csmt enabled -- 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=47267 --- Comment #2 from andy <andy86(a)fastwebnet.it> --- Created attachment 64613 --> https://bugs.winehq.org/attachment.cgi?id=64613 log with +d3d_shader,+d3d_constants,+d3d_perf,+winediag,+pid,+timestamp,+fps csmt disabled -- 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=47267 --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- As far as I know one of the points of having CSMT was to enforces strict draw order. That deprecates StrictDrawOrdering as a separate configurable option. So your issue is strictly about performance. -- 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=47267 andy <andy86(a)fastwebnet.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance, regression --- Comment #4 from andy <andy86(a)fastwebnet.it> --- It does not seem. From the tests done with wine 3.4 seems to be difference between the two things. wine 3.4 with csmt enabled and sdo disabled have 20-30 fps. wine 3.4 with csmt disabled and sdo enabled have 30-90 fps. -- 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=47267 --- Comment #5 from andy <andy86(a)fastwebnet.it> --- Created attachment 64614 --> https://bugs.winehq.org/attachment.cgi?id=64614 log with +wgl (first lines) -- 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=47267 --- Comment #6 from andy <andy86(a)fastwebnet.it> --- Created attachment 64615 --> https://bugs.winehq.org/attachment.cgi?id=64615 mediafire folder with biggetst log with +d3d -- 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=47267 --- Comment #7 from andy <andy86(a)fastwebnet.it> --- Created attachment 64616 --> https://bugs.winehq.org/attachment.cgi?id=64616 log with wine 3.4 with +d3d_shader,+d3d_constants,+d3d_perf,+winediag,+pid,+timestamp,+fps, csmt-disabled and sdo-enabled -- 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=47267 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|70f017ac4d40642195947f6e03a | |ff83c246dede8 | Keywords|regression | Summary|Prototype have hurt |Prototype is slower with |performance with csmt |CSMT enabled |enabled and required | |StrictDrawOrdering setting | |that has been removed | --- Comment #8 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to Nikolay Sivov from comment #3)
As far as I know one of the points of having CSMT was to enforces strict draw order. That deprecates StrictDrawOrdering as a separate configurable option. So your issue is strictly about performance.
Yeah, StrictDrawOrdering isn't coming back. On the other hand there is room for performance improvements in CSMT. -- 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=47267 andy <andy86(a)fastwebnet.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Prototype is slower with |Prototype is slower with |CSMT enabled |CSMT enabled and have | |geometry glitches with CSMT | |disabled --- Comment #9 from andy <andy86(a)fastwebnet.it> --- I improved the title so that it does not seem that it is enough to disable CSMT to solve the problem. But the one that I want to point is that the game requires context-> gl_info-> gl_ops.gl.p_glFlush(), but there are probably differences in the way the latter is implemented by CSMT and SDO and these differences cause differences of performance,performance, so I think it would be useful to re-implement context-> gl_info-> gl_ops.gl.p_glFlush() as SDO did so that users can choose the most suitable option for their case. -- 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=47267 --- Comment #10 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to andy from comment #9)
I improved the title so that it does not seem that it is enough to disable CSMT to solve the problem.
But the one that I want to point is that the game requires context-> gl_info-> gl_ops.gl.p_glFlush(), but there are probably differences in the way the latter is implemented by CSMT and SDO and these differences cause differences of performance,performance, so I think it would be useful to re-implement context-> gl_info-> gl_ops.gl.p_glFlush() as SDO did so that users can choose the most suitable option for their case.
Well, no, that's what StrictDrawOrdering did and, as I already mentioned, we're not going to reintroduce it. That really was just a hack, CSMT solves the issue of ordering operations on multiple contexts / threads correctly. -- 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=47267 andy <andy86(a)fastwebnet.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED --- Comment #11 from andy <andy86(a)fastwebnet.it> --- Problem solved with last d9vk version. -- 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=47267 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Austin English <austinenglish(a)gmail.com> --- Closing. -- 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)
-
wine-bugs@winehq.org -
WineHQ Bugzilla