http://bugs.winehq.org/show_bug.cgi?id=25386
Summary: Poker Night: random long delays between turns and conversations Product: Wine Version: 1.3.5 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: VincentBeers@gmail.com
Game is from TellTale Games by the name of Poker Night at the Inventory.
Basically, the problem I have is that sometimes, between turns, the game will have long delays in which nothing seems to happen (ie the application hangs). It takes much, much longer than usual to load or interpret a resource than it should take (or so I assume).
A bigger problem is that these delays are much longer when starting up the game or any significant screen changes. It can take more than a minute longer to load the game or any specific areas than it would in Windows.
The terminal isn't spewing out anything during these loading periods, so attached is all terminal output generated by the app, even outside of these hanging bits. Steam output may be mixed in too.
Notes: Unfortunately, this game is not available for free, however, it is available for fairly cheap (5 euros) for those willing to try. I think some other TellTale games (and free demos) have the same issue however (they all run on the same engine, though all of them have some minor differences, improvements, etc.).
Using the Steam version, but I'm sure the non-Steam version has the same issue (though I couldn't test as Wine 1.3.7 wouldn't load the game for me). The game works in 1.3.8, though with loading problems.
Another note is that I am playing the game on a FAT32 partition. This may affect performance, but I do not expect it to take this much longer, thus it would still be a bug.
http://bugs.winehq.org/show_bug.cgi?id=25386
--- Comment #1 from Vincent Beers VincentBeers@gmail.com 2010-12-01 19:54:46 CST --- Created an attachment (id=32293) --> (http://bugs.winehq.org/attachment.cgi?id=32293) Terminal output of Steam version
http://bugs.winehq.org/show_bug.cgi?id=25386
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from GyB gyebro69@gmail.com 2011-02-12 07:26:54 CST --- I'm also experiencing the same, annoying lagging issue in the game (purchased directly from Telltale, not the Steam version). Other games from Telltale don't show such problem on my system. The issue is present in every Wine version I tried (1.0.1,1.2.2... 1.3.13). I'm running the game from an ext4 partition. The game frequently hangs during the cutscenes, and several times during a round in the game. The duration of the hiccups varies between 2-3 sec. and 20-30 sec. or more, making the game quite unenjoyable. Starting up the game also takes a fair amount of time: after the Telltale logo is shown, it takes almost 2 minutes to get to the main menu, which is not common in other games from Telltale. The problem is present even with the lowest graphical details and with audio disabled.
Fedora 14 Nvidia GeForce 250 GTS / driver 260.19.36 wine-1.3.13-171-g9e6de30
http://bugs.winehq.org/show_bug.cgi?id=25386
byteframe byteframe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |byteframe@gmail.com
--- Comment #3 from byteframe byteframe@gmail.com 2012-02-25 18:08:49 CST --- still present 1.4-rc5
http://bugs.winehq.org/show_bug.cgi?id=25386
Benjamin Hodgetts ben@xnode.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |ben@xnode.org Ever Confirmed|0 |1
--- Comment #4 from Benjamin Hodgetts ben@xnode.org 2013-05-22 15:03:19 CDT --- Still present in 1.5.30, although I noticed the longer you play, the shorter the delays are. After a few rounds they had almost disappeared.
https://bugs.winehq.org/show_bug.cgi?id=25386
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance CC| |wylda@volny.cz
--- Comment #5 from Wylda wylda@volny.cz --- Can you re-test in 1.7.30 or newer please?
https://bugs.winehq.org/show_bug.cgi?id=25386
--- Comment #6 from Vincent Beers VincentBeers@gmail.com --- Retested on 1.7.30. The problem still persists.
General time that the game freezes in-between each round is 4-5 seconds.
At the start of the game, right after the TTG logo, the game will show a black screen (while loading the game) for far longer than it should (less than 15 seconds on Windows, ~45 seconds on Wine).
During these freezes, one of the CPU cores spikes to 100% usage. It does not seem to be accessing the hard drive much during this moment. Also, unlike in my initial report, I'm testing from a proper ext4 formatted partition this time, so it seems unrelated to the FS used.
https://bugs.winehq.org/show_bug.cgi?id=25386
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #7 from roger@mailinator.com --- we need terminal output when the delay is happening (or long loading the game).
https://bugs.winehq.org/show_bug.cgi?id=25386
--- Comment #8 from Vincent Beers VincentBeers@gmail.com --- No terminal output is given at any point while the game is running. The window itself becomes unresponsive, however.
I noticed something else:
The amount of time the game freezes gets shorter as you keep playing. At first it froze for 15 seconds between a around. The round after it was 7 seconds, the one after it 5. After that, the delay seems to fluctuate between 1-2 seconds.
But any fresh new events/actions seem to make it freeze up for a longer while again. Opening the pause menu made it freeze 5 seconds. An automated piece of interaction between some of the characters made it freeze for 20 seconds.
Restarting the game makes these freezes take up their maximum time again.
https://bugs.winehq.org/show_bug.cgi?id=25386
--- Comment #9 from Vincent Beers VincentBeers@gmail.com --- I'd like to test this further, but I'm not sure which debug channels to use. Would +io,+relay make sense? Perhaps +d3d, if the freezes are coming from there? (Though I noticed that makes the output immensely big.)
https://bugs.winehq.org/show_bug.cgi?id=25386
JMW jessemichaelwilson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jessemichaelwilson@gmail.co | |m
--- Comment #10 from JMW jessemichaelwilson@gmail.com --- I can confirm these bugs still present on wine 1.7.55. I'm adding my terminal output here, and would also like to know how I can further test this. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=25386
--- Comment #11 from JMW jessemichaelwilson@gmail.com --- Created attachment 53140 --> https://bugs.winehq.org/attachment.cgi?id=53140 Terminal output from Poker Night at the Inventory. Steam version. Wine 1.7.55.
https://bugs.winehq.org/show_bug.cgi?id=25386
--- Comment #12 from JMW jessemichaelwilson@gmail.com --- Problem still present in wine-1.8.
https://bugs.winehq.org/show_bug.cgi?id=25386
--- Comment #13 from JMW jessemichaelwilson@gmail.com --- I was able to get some strace data about the pauses, using the following command:
wine C:\\windows\\command\\start.exe steam://rungameid/31280& sleep 1; strace -t -e trace=file -o PNAI.strace -p $(ps -eaf | grep "CelebrityPoker.exe" | head -n1 | awk '{print $2}')
I formatted the resulting strace file using a script that adds one line full of underscores for every second of pause, but only for pauses greater than 2 seconds. I'm attaching that here. If the original is needed I can provide that also. The file is 16 MB, and the wine version is 1.9.5
What I found by looking through the resulting file is that Poker Night at the Inventory seems to choke after ENOENT on its game files - *.dlog, *.scene, *.chore, etc. This strace run only looks at file accesses, and of course this *could* be a case of having a hammer that makes everything look like a nail, but the data looks extremely consistent to me, so I think that this is what's happening. Please ignore the 17 lines at the beginning of the file, which are spurious and a result of the way that I initialized the variables in the bash script that I used for the formatting, which can be found here:
http://www.pastebin.ca/3585396
https://bugs.winehq.org/show_bug.cgi?id=25386
--- Comment #14 from JMW jessemichaelwilson@gmail.com --- Created attachment 54382 --> https://bugs.winehq.org/attachment.cgi?id=54382 Formatted strace output
https://bugs.winehq.org/show_bug.cgi?id=25386
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #15 from super_man@post.com --- I just took a short peek at your log and I noticed that you get lots of ENOENT when audio related config files arent found.
Take a look at yourself. Is your wine compiled without pulseaudio support or something similar?