https://bugs.winehq.org/show_bug.cgi?id=46068
Bug ID: 46068 Summary: Star Wars The Old Republic - slower on 3.18 & 3.19 Product: Wine-staging Version: 3.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fabienmoal@wanadoo.fr CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 62671 --> https://bugs.winehq.org/attachment.cgi?id=62671 log 3.19
I've update wine-staging from 3.18 & 3.19, and for each version, game is slower than in 3.17.
all actions, login (10" vs 30"), ect ... are slow
back to 3.17 and all it's ok, so supposed that it's a regression on performance from 3.18
there is few lines in debug in 3.19, not in 3.17 :
0069:fixme:d3d:debug_d3drenderstate Unrecognized 210 render state! 0069:err:d3d:validate_state_table State STATE_RENDER(unrecognized) (0xd2) should have a representative.
Linux 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #1 from Fyro fabienmoal@wanadoo.fr --- Created attachment 62672 --> https://bugs.winehq.org/attachment.cgi?id=62672 log 3.17
https://bugs.winehq.org/show_bug.cgi?id=46068
Fyro fabienmoal@wanadoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- Well, this is not necessarily going to be easy to track down.
As I recall, SW:TOR needs the Staging patches associated with bug 29168 to work. As far as I'm aware, this is all that's necessary, but I could be missing something. It would help if you could test whether upstream Wine 3.17 and 3.18 show the same performance degradation, by applying just those patches to an upstream Wine tree.
If so, the next step would be to do a regression test from 3.17 to 3.18, unless someone has an intuition of what might have changed.
If upstream Wine shows no performance degradation, then something must have gone wrong with Staging, and the most helpful thing to do would be to perform a regression test between Staging and Wine to find what the problematic patch set is.
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #3 from Fyro fabienmoal@wanadoo.fr --- What is the libraries needed to install 64 and 32 bits ?
Any ideas on command line to apply only "ntdll-User_Shared_Data" (require other patch) from "patchinstall.sh" ?
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #4 from Fyro fabienmoal@wanadoo.fr --- Created attachment 62691 --> https://bugs.winehq.org/attachment.cgi?id=62691 configure wine 32
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #5 from Fyro fabienmoal@wanadoo.fr --- Created attachment 62692 --> https://bugs.winehq.org/attachment.cgi?id=62692 configure wine 64
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #6 from Fyro fabienmoal@wanadoo.fr --- i've uploaded configure for wine 64 and wine 32. What are the required libraries ?
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- (In reply to Fyro from comment #3)
What is the libraries needed to install 64 and 32 bits ?
I believe that SW:TOR is a 32-bit application, so you'll only need 32-bit libraries. In particular I suspect you'll want to install X11, OpenGL, gnutls, and the relevant sound system (i.e. ALSA or Pulse).
Any ideas on command line to apply only "ntdll-User_Shared_Data" (require other patch) from "patchinstall.sh" ?
You can simply pass the specific patch name as an argument to the script, i.e. "patchinstall.sh ntdll-User_SharedData".
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #8 from Fyro fabienmoal@wanadoo.fr --- i've build wine3.17 + staging 3.17, but it doesn't work like there is no patch :/
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- I'm not sure how to help you; unfortunately I don't know what else is necessary for SW:TOR to run.
You describe that "all actions are slower"; is there reason to suggest that this is not just a graphics-related bug?
If it is a graphics-related bug, possibly it could be helpful to attach a log with +d3d,+d3d9,+d3d11, though I'll defer to any D3D developers on that one.
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #10 from Fyro fabienmoal@wanadoo.fr --- WINEDEBUG=+d3d,+d3d9,+d3d11 ?
i will prepare a short video (this w-e) for a game's action in 3.17 and 3.18 (need particular state in game for this action, but show the problem)
i don't know if it's a graphics-related bug, login user needs 30" vs 10", but there is 3d loading, so why not
when i play, i feel like slowndowns (?) when i move my character in game
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #11 from Fyro fabienmoal@wanadoo.fr --- this is unplayable (?) with WINEDEBUG=+d3d,+d3d9,+d3d11 loading is very very slow with that :/
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #12 from Fyro fabienmoal@wanadoo.fr --- see swtor.log (200Mo) here : https://drive.google.com/open?id=1kvgqE1X7TzAojWN2Cn1mCyGLcAL7F_v4
this log is from 3.18 staging with game launch, login with a character, an action that attest slowness (see video-3.17 to see action in game that i do -- "it's just an action that open a box and show the content") and quit game.
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #13 from Fyro fabienmoal@wanadoo.fr --- Created attachment 62772 --> https://bugs.winehq.org/attachment.cgi?id=62772 swtor.log 3.18 d3d
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #14 from Fyro fabienmoal@wanadoo.fr --- Created attachment 62773 --> https://bugs.winehq.org/attachment.cgi?id=62773 video-3.17
https://bugs.winehq.org/show_bug.cgi?id=46068
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #15 from Paul Gofman gofmanp@gmail.com --- Created attachment 62789 --> https://bugs.winehq.org/attachment.cgi?id=62789 reverts fast path for texture blit
Does this patch help by any chance? I tested the issue and found that slow down is there in my setup too (most easily observed as fps drop from ~90 at login screen to ~30) and goes away if undo those changes. I wasn't yet tracking down the exact reason though.
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #16 from Fyro fabienmoal@wanadoo.fr --- when i launch the game from wine source, it's stuck like #29168
i apply patch from wine-staging : -> patchinstall.sh DESTDIR="~/IdeaProjects/wine/" --all
-> configure PKG_CONFIG_PATH=/usr/lib32 ~/IdeaProjects/wine/configure
-> make
i donn't know if there is required libs from configure (see attachment)
https://bugs.winehq.org/show_bug.cgi?id=46068
Fyro fabienmoal@wanadoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #62691|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #17 from Fyro fabienmoal@wanadoo.fr --- Created attachment 62796 --> https://bugs.winehq.org/attachment.cgi?id=62796 configure wine 32
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #18 from Paul Gofman gofmanp@gmail.com --- (In reply to Fyro from comment #17)
Created attachment 62796 [details] configure wine 32
I suggest you start here: https://wiki.winehq.org/Building_Biarch_Wine_On_Ubuntu
If you can build vanilla Wine (with and without my patch to test the effect of it) but not yet staging Wine, I suggest you use swtor_fix.exe (https://github.com/aljen/swtor_fix). SWTOR runs fine with vanilla Wine using this workaround.
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #19 from Fyro fabienmoal@wanadoo.fr --- ok, i succeeded to build and launch with swtor_fix.
Test first without patch from git master (there is the issue), and with patch (no issue)
=> your patch fix the issue
https://bugs.winehq.org/show_bug.cgi?id=46068
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|3.19 |3.18 Keywords| |regression Regression SHA1| |54a9e84952ce8f566f79ab92930 | |faf84bad0cfc1 Product|Wine-staging |Wine CC| |joseph.kucia@gmail.com Component|-unknown |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=46068
--- Comment #20 from Paul Gofman gofmanp@gmail.com --- Should be fixed by 4aecfe2e055c2c8ad56db3d2a62037d8fef0a00c.
https://bugs.winehq.org/show_bug.cgi?id=46068
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4aecfe2e055c2c8ad56db3d2a62 | |037d8fef0a00c Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #21 from Józef Kucia joseph.kucia@gmail.com --- (In reply to Paul Gofman from comment #20)
Should be fixed by 4aecfe2e055c2c8ad56db3d2a62037d8fef0a00c.
https://bugs.winehq.org/show_bug.cgi?id=46068
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.21.