[Bug 39513] New: Desperados: input lag after resuming from pause
https://bugs.winehq.org/show_bug.cgi?id=39513 Bug ID: 39513 Summary: Desperados: input lag after resuming from pause Product: Wine Version: 1.7.53 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput Assignee: wine-bugs(a)winehq.org Reporter: alessandro.pezzoni(a)runbox.com Distribution: --- Created attachment 52652 --> https://bugs.winehq.org/attachment.cgi?id=52652 Sample savegame (to avoid cutscenes) While playing "Desperados: Dead or Alive" all input will lag for a few seconds after loading a saved game or resuming the game from the pause menu. It looks like all input is cached during that time and then executed all at once. The issue can be reproduced with the demo, obtainable from the Internet Archive [1]: 1. Install the demo in a clean prefix; 2. (Optional) Copy the attached savegame folder to "Desperados Demo/Game/Data"; 3. Start the demo; 4. Load the savegame from 2. or start a new game; 5. Press "Esc" and click "Continue"; 6. Moving the mouse or pressing a keyboard shortcut will have no effect for a few seconds. I've tested this issue on Arch Linux with wine stable 1.7.53 and with the current git head, wine-1.7.53-183-g12111d8. [1]: https://archive.org/download/desperadosDemo/desperadosDemo.rar sha1: 3c07da95cdc6807b9c08ff3d17de64790c08ec07 -- 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=39513 --- Comment #1 from Alessandro Pezzoni <alessandro.pezzoni(a)runbox.com> --- Created attachment 52653 --> https://bugs.winehq.org/attachment.cgi?id=52653 Log obtained with wine-1.7.53-183-g12111d8 and WINEDEBUG=+dinput Since the normal wine output is just fixme:d3d_surface:surface_cpu_blt Filter WINED3D_TEXF_LINEAR not supported in software blit. fixme:d3d_surface:surface_cpu_blt Filter WINED3D_TEXF_LINEAR not supported in software blit. I've attached a log generated with WINEDEBUG=+dinput. -- 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=39513 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |https://archive.org/downloa | |d/desperadosDemo/desperados | |Demo.rar CC| |gyebro69(a)gmail.com Component|directx-dinput |-unknown Ever confirmed|0 |1 --- Comment #2 from Béla Gyebrószki <gyebro69(a)gmail.com> --- This bug is present in Robin Hood: Legend of Sherwood, too (formerly both games were affected by bug #26875). Confirming the bug, but I'm not sure this is a dinput issue (native doesn't help). FWIW, the bug is not present for me with Wine 1.5.15, but happens with 1.5.20 and newer. Fedora 23 X Server 1.18.0 OpenGL vendor string: nouveau OpenGL renderer string: Gallium 0.4 on NV92 OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.1.0-devel -- 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=39513 --- Comment #3 from Alessandro Pezzoni <alessandro.pezzoni(a)runbox.com> --- I wanted to run a bisection, but sadly compiling wine 1.5.15 on my machine fails miserably, so I can't even confirm that the bug isn't present in that 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=39513 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32 --- Comment #4 from Béla Gyebrószki <gyebro69(a)gmail.com> --- According to my testing, the issue was introduced by the commit which is also mentioned in bug #32618 bug #32621 bug #35605 possibly in bug #33296 too. No keyboard and mouse input at all: http://source.winehq.org/git/wine.git/commit/841214ddb4d4dc620e6b51dfe6655b5... Mouse and keyboard works again, but input lags as described in the current bug report: http://source.winehq.org/git/wine.git/commit/a0f039a6049641cc2be8fa32f2afa3c... Tested in Wine 1.7.55. -- 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=39513 Damian Ivanov <damianatorrpm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damianatorrpm(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=39513 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #5 from super_man(a)post.com --- (In reply to Béla Gyebrószki from comment #4)
According to my testing, the issue was introduced by the commit which is also mentioned in bug #32618 bug #32621 bug #35605 possibly in bug #33296 too.
No keyboard and mouse input at all: http://source.winehq.org/git/wine.git/commit/ 841214ddb4d4dc620e6b51dfe6655b585d423edc
Mouse and keyboard works again, but input lags as described in the current bug report: http://source.winehq.org/git/wine.git/commit/ a0f039a6049641cc2be8fa32f2afa3c3f394a99b
Tested in Wine 1.7.55.
One of those bugs got fixed in 1.8rc3 another marked fixed 1.9.0. -- 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=39513 --- Comment #6 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to super_man from comment #5)
(In reply to Béla Gyebrószki from comment #4)
According to my testing, the issue was introduced by the commit which is also mentioned in bug #32618 bug #32621 bug #35605 possibly in bug #33296 too.
No keyboard and mouse input at all: http://source.winehq.org/git/wine.git/commit/ 841214ddb4d4dc620e6b51dfe6655b585d423edc
Mouse and keyboard works again, but input lags as described in the current bug report: http://source.winehq.org/git/wine.git/commit/ a0f039a6049641cc2be8fa32f2afa3c3f394a99b
Tested in Wine 1.7.55.
One of those bugs got fixed in 1.8rc3 another marked fixed 1.9.0.
The problem in Desperados and Robin Hood remains in Wine 1.9.2. -- 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=39513 abelthorne <abel.thorne(a)free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abel.thorne(a)free.fr --- Comment #7 from abelthorne <abel.thorne(a)free.fr> --- Problem still present in Wine 2.0 RC3. Also, not sure if it's part of the bug but on Ubuntu 16.10 with a RadeonHD 7770 (Mesa 12.0.3), the game lags as hell as soon as I can start interacting (i.e. just after the intro in the first mission, when the train leaves and I get control of the character). It looks like it has 90% frame drop and at that point, pressing Esc doesn't bring the pause menu, it basically freezes the game. -- 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=39513 --- Comment #8 from abelthorne <abel.thorne(a)free.fr> --- Turns out I misinterpreted what is happening in my previous comment: the game doesn't lag, it pauses if the mouse is idle. As long as I move it continuously, eveything is fine but if I stop, the game freezes and gets back to normal when I move the mouse again. Pretty weird. -- 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=39513 Thom Thom Thom <thomthomthom(a)ymail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thomthomthom(a)ymail.com --- Comment #9 from Thom Thom Thom <thomthomthom(a)ymail.com> --- I can confirm this bug with Wine 3.0-rc2 (git commit fb3c1da6bad0590e04e4b78f7011e3924ef013ce) and Desperados v1.0.1 (Steam version). For me, any action is laggy: selecting characters, getting noticed by enemies, using weapons, after saving or loading, etc ... The game is playable but not enjoyable. -- 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=39513 --- Comment #10 from Thom Thom Thom <thomthomthom(a)ymail.com> --- The bug persists on Wine 3.0 final release. Nothing has changed. -- 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=39513 --- Comment #11 from Thom Thom Thom <thomthomthom(a)ymail.com> --- The bug persists on Wine 3.1 (git commit f9181daa1ddc2c10d3b6ddd4610bc1421cfd0f42). Nothing has changed. -- 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=39513 --- Comment #12 from Thom Thom Thom <thomthomthom(a)ymail.com> --- The bug persists on Wine 3.3 (git commit f17120d11b0e1272bb9742ad88eb526ac914d7da). Nothing has changed. -- 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=39513 --- Comment #13 from Thom Thom Thom <thomthomthom(a)ymail.com> --- The bug persists on Wine 3.5 (git commit 79f93ecf429f42db15bc14f276045fdad35cef13). Nothing has changed. -- 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=39513 mo78(a)abv.bg changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mo78(a)abv.bg --- Comment #14 from mo78(a)abv.bg --- Wine 3.6 - the bug is still here. -- 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=39513 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- 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=39513 --- Comment #15 from mo78(a)abv.bg --- Wine 3.8 - the bug is still here. -- 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=39513 --- Comment #16 from mo78(a)abv.bg --- Created attachment 61433 --> https://bugs.winehq.org/attachment.cgi?id=61433 Wine 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.
https://bugs.winehq.org/show_bug.cgi?id=39513 --- Comment #17 from mo78(a)abv.bg --- Created attachment 61434 --> https://bugs.winehq.org/attachment.cgi?id=61434 Wine +d3d_shader,+dxgi,+d3d11 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.
https://bugs.winehq.org/show_bug.cgi?id=39513 --- Comment #18 from mo78(a)abv.bg --- Created attachment 61435 --> https://bugs.winehq.org/attachment.cgi?id=61435 Wine +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.
https://bugs.winehq.org/show_bug.cgi?id=39513 --- Comment #19 from mo78(a)abv.bg --- This lag isn't short. For me it's about 10 seconds which is a game destroyer. Devs, please, say what other logs do you need to resolve this bug already. -- 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=39513 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia(a)gmail.com --- Comment #20 from Józef Kucia <joseph.kucia(a)gmail.com> --- Created attachment 61499 --> https://bugs.winehq.org/attachment.cgi?id=61499 Desperados input lag hack The attached hack fixes input lag. -- 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=39513 --- Comment #21 from mo78(a)abv.bg --- YES!!! I can confirm the patch works flawlessly!!! Thank you so much!!! -- 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=39513 psofiterol <gpentafragkas(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gpentafragkas(a)protonmail.co | |m --- Comment #22 from psofiterol <gpentafragkas(a)protonmail.com> --- Confirming the hack works under 3.0.2 for both "Desperados: Wanted Dead or Alive" and "Robin Hood: Legend of Sherwood". Thanks Józef! -- 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=39513 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- 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=39513 --- Comment #23 from Thom Thom Thom <thomthomthom(a)ymail.com> --- After a new game update (Steam version, now this game supports Linux and Mac! Awesome!), I cannot confirm if this bug is still present in Wine 3.13. I'll try to paste the output here as soon as possible. -- 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=39513 --- Comment #24 from mo78(a)abv.bg --- The game is available on GOG too and I bought it from there. -- 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=39513 GottfriedM <phaidros(a)gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phaidros(a)gmx.at --- Comment #25 from GottfriedM <phaidros(a)gmx.at> --- The input lag after pause still exists in wine-3.16. I can also confirm that the proposed hack fixes the problem. -- 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=39513 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #26 from joaopa <jeremielapuree(a)yahoo.fr> --- Bug still occurs with wine-5.1 -- 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=39513 --- Comment #27 from mo78(a)abv.bg --- This bug affects Chicago 1930 too. Fortunately the patch fixes it. Will it be upstreamed? -- 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=39513 --- Comment #28 from joaopa <jeremielapuree(a)yahoo.fr> --- Still a bug with wine-7.0-rc2. -- 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=39513 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |54ca1ab607d3ff22a1f57a95614 | |30f64c75f0916 Status|NEW |RESOLVED --- Comment #29 from Béla Gyebrószki <gyebro69(a)gmail.com> --- This was fixed by https://gitlab.winehq.org/wine/wine/-/commit/54ca1ab607d3ff22a1f57a9561430f6... Tested with Robin Hood: The Legend of Sherwood (demo as well as the GOG.com version) and with Desperados demo. -- 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=39513 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #30 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.15. -- 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