http://bugs.winehq.org/show_bug.cgi?id=36787
Bug ID: 36787 Summary: Gex 3D renders very slowly since Wine 1.7.14 Product: Wine Version: 1.7.20 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: schmatzler@googlemail.com
Created attachment 48859 --> http://bugs.winehq.org/attachment.cgi?id=48859 Starting up
Starting with Wine 1.7.14, the game Gex 3D renders very slowly. I can see a frame every second.
There had been a lot of ddraw patches, I suspect one of them broke it.
The output when starting the game is attached.
http://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #1 from Ronny Schmatzler schmatzler@googlemail.com --- When I disable GLSL via winetricks, the game runs fine.
http://bugs.winehq.org/show_bug.cgi?id=36787
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- Please perform a regression test to see which commit is to blame: http://wiki.winehq.org/RegressionTesting
https://bugs.winehq.org/show_bug.cgi?id=36787
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #3 from Ronny Schmatzler schmatzler@googlemail.com --- c1032e977bb9f850e3aea28dd79e3d7c2244cd6c is the first bad commit commit c1032e977bb9f850e3aea28dd79e3d7c2244cd6c Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Mar 4 10:21:33 2014 +0100
wined3d: Filter redundant WINED3D_MAP_DISCARD buffer maps.
:040000 040000 7dcd54b72f0897f5a8b86b1228631480f9d4a948 c31af3c38b06ebe042d771cfd9e977900d0dbf01 M dlls
https://bugs.winehq.org/show_bug.cgi?id=36787
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |c1032e977bb9f850e3aea28dd79 | |e3d7c2244cd6c
--- Comment #4 from Henri Verbeet hverbeet@gmail.com --- Possibly a duplicate of bug 35776. Does this have a demo / free download that can be used to reproduce the issue? Which graphics card and drivers are you using?
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #5 from Ronny Schmatzler schmatzler@googlemail.com --- Sadly no, the game is very rare and the D3D version only available in Russia.
I own Crysis too and can help with that :)
I use a Radeon 6800 (r600) and the latest MESA trunk (20140620).
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #6 from Henri Verbeet hverbeet@gmail.com --- Does the debug patch attached to that bug get triggered here?
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #7 from Ronny Schmatzler schmatzler@googlemail.com --- Created attachment 48899 --> https://bugs.winehq.org/attachment.cgi?id=48899 Debug patch output
Yes it does, very extensively.
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #8 from Henri Verbeet hverbeet@gmail.com --- Created attachment 48900 --> https://bugs.winehq.org/attachment.cgi?id=48900 revert ddraw changes
And with the attached patch applied in addition? Does the fixme still trigger? Is it still slow?
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #9 from Ronny Schmatzler schmatzler@googlemail.com --- Created attachment 48902 --> https://bugs.winehq.org/attachment.cgi?id=48902 Output with second patch
The fixme still triggers and the game is still slow.
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #10 from Henri Verbeet hverbeet@gmail.com --- That's useful to know. Could you create a WINEDEBUG="+seh,+tid,+ddraw,+d3d" log with both patches applied and attach it here? (You can also mail it to me if it ends up being too large to attach here even after compressing it.)
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #11 from Ronny Schmatzler schmatzler@googlemail.com --- Created attachment 48914 --> https://bugs.winehq.org/attachment.cgi?id=48914 Full debug output
Here it is: I let it start up, skipped the intro videos and let it render some frames...an error seems to loop at the end of the logfile.
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #12 from Henri Verbeet hverbeet@gmail.com --- Created attachment 48915 --> https://bugs.winehq.org/attachment.cgi?id=48915 patch
I think I see what's happening. I'm less sure on the correct way to fix it, but does the attached patch help?
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #13 from Ronny Schmatzler schmatzler@googlemail.com --- That fixed the game! :) Thank you!
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #14 from Henri Verbeet hverbeet@gmail.com --- Great, if it's not too much effort, could you check Crysis too?
http://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #15 from Ronny Schmatzler schmatzler@googlemail.com --- I checked Crysis, commit c1032e977bb9f850e3aea28dd79e3d7c2244cd6c and the patches here have no effect on that game.
https://bugs.winehq.org/show_bug.cgi?id=36787
--- Comment #16 from Henri Verbeet hverbeet@gmail.com --- Should be fixed by commit 68339456a8f7543ae46ac504c2ce7f4f0221a789.
https://bugs.winehq.org/show_bug.cgi?id=36787
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |68339456a8f7543ae46ac504c2c | |e7f4f0221a789 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #17 from Henri Verbeet hverbeet@gmail.com --- Resolving FIXED.
https://bugs.winehq.org/show_bug.cgi?id=36787
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.23.
https://bugs.winehq.org/show_bug.cgi?id=36787
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |directx-d3d