[Bug 10559] New: C&C3 extremly slow
http://bugs.winehq.org/show_bug.cgi?id=10559 Summary: C&C3 extremly slow Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: ambro(a)b4ever.net CC: stefandoesinger(a)gmx.at In current wine git, I get bad fps in C&C3. Normally the game worked fine at the lowest quality, but I get 3 fps after the following commit: 959212304dfaf0e7459374593b20b74fe22a0b57 wined3d: Track vertex declaration changes on vertex shaders. card is Nvidia Quadro NVS 130, driver 100.14.23 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #1 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-11-24 11:32:45 --- Does it write anything about recompiling shaders since this patch? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #2 from Ambro <ambro(a)b4ever.net> 2007-11-24 12:15:13 --- No, I don't see anything. I'm attaching outputs. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #3 from Ambro <ambro(a)b4ever.net> 2007-11-24 12:15:37 --- Created an attachment (id=9320) --> (http://bugs.winehq.org/attachment.cgi?id=9320) outout in 0.9.49 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #4 from Ambro <ambro(a)b4ever.net> 2007-11-24 12:16:01 --- Created an attachment (id=9321) --> (http://bugs.winehq.org/attachment.cgi?id=9321) output in git -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #5 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-11-24 12:22:55 --- Can you attach a +d3d,+d3d_shader,d3d_decl log? It's best to load the game to a place where the regression can be seen, then wait a few secounds and kill it with ctrl+c or "wineserver -k". This way the logfile ends when the problematic code is executed and I do not have to find out what is startup stuff, what is the real issue and what is shutdown related. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #6 from Ambro <ambro(a)b4ever.net> 2007-11-24 15:14:24 --- I've taken traces on 8800GTX where the slowdown also occurs. I set the lowest quality possible. The game has been even slower when taking traces becouse of the extreme output (the files are each half a gig uncompressed). What I did was started the game and loaded the savegame, then went back to desktop with alt+f3,minimize and closed the game with ctrl+c. The traces are based on wine one commit before and the one that causes the regression. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #7 from Ambro <ambro(a)b4ever.net> 2007-11-24 15:23:39 --- I am unable to upload the files to bugzilla becouse they are too big, so I put them on some site: http://files-upload.com/files/639310/cnc3_out_good.bz2 http://files-upload.com/files/639319/cnc3_out_bad.bz2 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #8 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-11-25 08:53:35 --- Looks like a shader is recompiled every draw, but the swizzled attributes aren't stored properly trace:d3d_shader:IWineD3DVertexShaderImpl_CompileShader (0x16154260) : function 0x161545d0 trace:d3d_shader:swizzled_attribs_differ Attribute WINED3DDECLUSAGE_COLOR0 is D3DCOLOR now but wasn't before warn:d3d_shader:IWineD3DVertexShaderImpl_CompileShader Recompiling vertex shader 0x16154260 due to D3DCOLOR input changes ... trace:d3d_shader:IWineD3DVertexShaderImpl_CompileShader (0x16154260) : Generating hardware program trace:d3d_shader:find_swizzled_attribs New swizzled attributes array <nothing> ... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #9 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-11-25 09:12:33 --- Created an attachment (id=9337) --> (http://bugs.winehq.org/attachment.cgi?id=9337) Proposed fix Can you try the attached patch? It looks like I got a sign wrong in a calculation, and one of the swizzled attributes was accidentally removed from the array. This patch should fix the problem. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #10 from Ambro <ambro(a)b4ever.net> 2007-11-25 10:59:06 --- Yes, your patch fixed it! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 --- Comment #11 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-11-25 12:18:23 --- Ok, I will send it to wine-patches then -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex(a)thehandofagony.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #12 from Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> 2007-11-27 10:29:48 --- Confirming -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #13 from Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> 2007-11-28 10:26:14 --- Patch committed. Thanks for the quick fix, Stephan! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10559 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Dan Kegel <dank(a)kegel.com> 2008-01-28 05:42:44 --- Closing all RESOLVED FIXED bugs older than four weeks. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=10559 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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