http://bugs.winehq.org/show_bug.cgi?id=24166
Summary: Team Fortress 2 freezes while playing. Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ddonofrio@member.fsf.org
Introduction:
I have read bugs 7698, 12327 and 15162 with all comments and I'm sure this is not the same issue. Please let me know if there is more information I can provide.
Short Description:
After a few minutes of playing, process hl2.exe starts using 100% of a CPU and the game freezes with no sound stuttering. if I have the mouse pointer (Like when I'm selecting a character) I can move the mouse but nothing responds. If a SIGTERM(15) is sent to hl2.exe the game finished and the X are successfully restored. That allow me to repeat this issue over and over again trying to find a pattern for deducing the root of the problem.
Testbeds:
For a best analysis of this issue, I have configured the following testbed based on 2 machines, one with the game and another one just connected to the same LAN.
1) Machine and software where the game is running:
CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @2.40GHz Memory: 4GB Ram
OS: GNU/Linux Distribution: Ubuntu 10.04.1 LTS Kernel: 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:38:40 UTC 2010 x86_64
$ lspci | grep VGA 01:00.0 VGA compatible controller: ATI Technologies Inc RV630 [Radeon HD 2600 Series]
$ fglrxinfo OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Radeon HD 2600 Pro OpenGL version string: 3.2.9756 Compatibility Profile Context
$ wine --version wine-1.3.1
Testbed additional information: Wine has no configuration but default. Game parameters: -heapsize 1024000 -dxlevel 81 -width 1680 -height 1050 Compiz were disabled.
2) A second machine where I start a ssh session in order to monitoring process when the game freezes.
Testing performed:
Testing steps: 1) I started steam, then I went to game library and I selected TF2. I have pressed "Play" button and wait. The game was successful loaded, I find a "Two Forts" available game and I Joined in. After 8 minutes and 32 seconds playing, when I was getting back to the starting point room (to be cured at the medicine kit), exactly when the door were opening the game got freeze. There was no sound stutter, just like a picture the game got freeze. I got connected from the second machine (via ssh) and I saw hl2.exe process using the 100% of one CPU. Just by sending a SIGTERM to hl2.exe process it finished. That brings me down to Steam menu again.
2) I have pressed "Play" again. I was looking for a "Two Forts" available game for 30 seconds approximately. The game was loaded successful, and when I was looking for a character the game got freeze again. Just when I pointed the Engineer. I was able to move the mouse but nothing responses.
From the second machine terminal I saw the same: hl2.exe process using the 100%
of one CPU. Just by sending a SIGTERM to hl2.exe process it finished. That brings me down to Steam menu again.
3) I have pressed "Play" again. I was looking for a "Two Forts" available game for several minutes, I got dropped due to slot reservation 3 times so I have desired to play at Egipt. I have selected the engineer again and when the game just starts, a heavy appears in front of me and the game got freeze again. Same like before, to kill the process where needed.
4) I have repeated the same actions with: Different characters, different maps, and the game got freeze completely random. I was not able to find a patter after 3 ours of testing.
5) I have tried to run ft2 by running the following line but the game crashes while loading a level:
$ env WINEDEBUG=fixme-all env WINEPREFIX="/home/game/.wine" padsp wine explorer /desktop=steam,1680x1050 "c:\archivos de programa\steam\steamapps\myaccount\team fortress 2\hl2.exe" -game tf -steam -heapsize 1024000 -dxlevel 81 -width 1680 -height 1050 Using breakpad crash handler Setting breakpad minidump AppID = 440 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit err:ole:RevokeDragDrop invalid hwnd (nil) err:mmtime:TIME_MMTimeStop Timer still active?!
http://bugs.winehq.org/show_bug.cgi?id=24166
Diego Lucio D'Onofrio ddonofrio@member.fsf.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ddonofrio@member.fsf.org
http://bugs.winehq.org/show_bug.cgi?id=24166
--- Comment #1 from Diego Lucio D'Onofrio ddonofrio@member.fsf.org 2010-08-26 17:55:42 --- By the way, the game freezes with off line practice, tutorial and game developers commentaries.
http://bugs.winehq.org/show_bug.cgi?id=24166
--- Comment #2 from Diego Lucio D'Onofrio ddonofrio@member.fsf.org 2010-08-31 15:36:38 CDT --- Created an attachment (id=30499) --> (http://bugs.winehq.org/attachment.cgi?id=30499) Ati System Information Report.txt
Please find attached my Ati System Information Report, I think it could be helpful.
http://bugs.winehq.org/show_bug.cgi?id=24166
--- Comment #3 from Diego Lucio D'Onofrio ddonofrio@member.fsf.org 2010-09-02 13:42:58 CDT --- I have more information:
After an exhaustive analysis of all process, memory consuption, states, etc... I have detected that game frezze occurs due to hl2.exe receives a SIGSTOP. I have "solved" the issue by typing the following line before start playing: $ while [ 1 ]; do killall -CONT hl2.exe; sleep .5; done
Could you please analyse this issue? I'm sure cannot be so much complicated to determine why hl2.exe process receives a SIGSTOP.
My solution, besides being a mess, has a the problem: Sometimes the audio get silenced.
Thanks in advance.
http://bugs.winehq.org/show_bug.cgi?id=24166
--- Comment #4 from Diego Lucio D'Onofrio ddonofrio@member.fsf.org 2010-09-04 06:14:29 CDT --- OK, finally I found a workarrond that works for me. I'm sure this is usefull for all who has the same problem. This is the because I'm posting it here. Anyway, it would be great if the issueet solved.
I have used 2 machines but an shellscript can be created for make it automatic:
After starting Team Fortress, I have opened a terminal and attached to the PID of the process with gdb. After that I have ignored USR1 and STOP signals:
$ ps -ef | grep hl2.exe guile 29151 29130 0 00:54 pts/34 00:05:30 hl2.exe
$ gdb --pid 29151 (gdb) handle SIGSTOP nostop noprint SIGSTOP No Np Yes Stopped (signal) (gdb) handle SIGSEGV nostop noprint Signal Stop Print Pass to program Description SIGSEGV No No Yes Segmentation fault (gdb) handle SIGUSR1 nostop Signal Stop Print Pass to program Description SIGUSR1 No No Yes User defined signal 1 (gdb) c Continuing.
And that's all. The SIGUSR1 and SIGSEGV are because gdb detects several those signals during debuging MS-Windows programs. If you don't include these lines, the debuging will stop over and over again. The SIGSTOP is the real workarround to this issue.
http://bugs.winehq.org/show_bug.cgi?id=24166
Diego Lucio D'Onofrio ddonofrio@member.fsf.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
http://bugs.winehq.org/show_bug.cgi?id=24166
Gustavo gugamilare@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gugamilare@gmail.com
--- Comment #5 from Gustavo gugamilare@gmail.com 2010-10-27 13:25:49 CDT --- I can confirm this. I'm also using an ATI card.
gugamilare@gugamilare-desktop:~$ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Radeon HD 4770 OpenGL version string: 3.3.10237 Compatibility Profile Context gugamilare@gugamilare-desktop:~$ lspci | grep VGA 02:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 4770 [RV740] gugamilare@gugamilare-desktop:~$ wine --version wine-1.3.5
Using Kubuntu 10.10 64-bit, Athlon X2 4200+ with 2GB RAM
http://bugs.winehq.org/show_bug.cgi?id=24166
kabumm flosch@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flosch@gmail.com
--- Comment #6 from kabumm flosch@gmail.com 2011-08-03 16:23:28 CDT --- I can confirm this bug too (wine-1.3.25, ATI Radeon HD 5670, Ubuntu 11.04). Thanks to the one who posted the gdb workaround - works perfectly.
http://bugs.winehq.org/show_bug.cgi?id=24166
peter.maciocia+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peter.maciocia+winebugs@gma | |il.com
--- Comment #7 from peter.maciocia+winebugs@gmail.com 2011-11-07 06:14:45 CST --- I can confirm this bug and the workaround.
$ uname -a Linux choch-lnx 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ wine --version wine-1.3.31
$ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: ATI Radeon HD 5800 Series OpenGL version string: 4.1.11161 Compatibility Profile Context
ati 5850 graphics on xubuntu 11.10
http://bugs.winehq.org/show_bug.cgi?id=24166
bicer.tom@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bicer.tom@gmail.com
--- Comment #8 from bicer.tom@gmail.com 2011-12-12 21:33:39 CST --- Confirmed.
Solution in comment #4 works.
Linux pc1 3.1.4-pf #8 SMP PREEMPT Sun Dec 11 01:44:57 EST 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux
display: :0.0 screen: 0 OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: AMD Radeon HD 6900 Series OpenGL version string: 4.1.11251 Compatibility Profile Context
http://bugs.winehq.org/show_bug.cgi?id=24166
--- Comment #9 from bicer.tom@gmail.com 2011-12-12 21:36:30 CST --- additional info to comment #8:
wine-1.3.34
http://bugs.winehq.org/show_bug.cgi?id=24166
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #10 from joaopa jeremielapuree@yahoo.fr 2011-12-12 21:59:58 CST --- I remark that everyone having this bug use a ATI card. Could you reproduce this bug with other GC
It could be a driver bug
http://bugs.winehq.org/show_bug.cgi?id=24166
--- Comment #11 from bicer.tom@gmail.com 2011-12-13 22:54:50 CST --- With Nvidia newer had this bug, only after recent switch.
http://bugs.winehq.org/show_bug.cgi?id=24166
ben@bendevine.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ben@bendevine.com
http://bugs.winehq.org/show_bug.cgi?id=24166
Collin Nothingmuchheretosay@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Nothingmuchheretosay@yahoo. | |com
--- Comment #12 from Collin Nothingmuchheretosay@yahoo.com 2012-08-16 21:01:23 CDT --- I'm not sure if this is related, but I experience random crashes out of complete nowhere in TF2, it happens frequently to occasionally, it also crashes my keyboard, but I can hear voices from TeamSpeak while I'm playing, so my PC doesn't completely crash, just the keyboard and TF2. I'd have to restart the whole PC though.
Debian Sid, 2gb ram, core 2 quad 2.4ghz, 1tb hdd.
https://bugs.winehq.org/show_bug.cgi?id=24166
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Team Fortress 2 freezes |Team Fortress 2 freezes |while playing. |while playing (with ATI | |driver)
--- Comment #13 from Anastasius Focht focht@gmx.net --- Hello folks,
since this bug seems to be ATI graphics driver related how about the current status? Please resolve this bug if no longer present. Make sure you test with a recent Wine version and less crappy graphics drivers.
Same as other NVIDIA owners: I can't reproduce this.
$ wine --version wine-1.7.16-134-g0ff879b
Regards
https://bugs.winehq.org/show_bug.cgi?id=24166
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #14 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #13)
Hello folks,
since this bug seems to be ATI graphics driver related how about the current status? Please resolve this bug if no longer present. Make sure you test with a recent Wine version and less crappy graphics drivers.
Same as other NVIDIA owners: I can't reproduce this.
$ wine --version wine-1.7.16-134-g0ff879b
Regards
Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=24166
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=24166
peter.maciocia+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|peter.maciocia+winebugs@gma | |il.com |