1

Topic: teeworlds irreversible minimizes after about 20 minutes of playtime

Hi, first of all. This game rocks! Thank you smile
I especially like instagib-servers, but the problem occurs on normal servers as well.

After about 20 minutes (estimated) playtime the game suddenly minimizes itself and can't be maximized again. So I have to kill the process and start it again if I want to play some more.
This happens on Ubuntu 8.04 hardy heron. I have not tested this on other systems.
As I play instagib most of the time and the server I happen to play on most of the time has a 50-60 second warmup-time, I found it to be a good workaround to restart the game and rejoin the server during the end of the warmup phase so I'm back right before the game begins.

Here are the endings of the console log I saved from two occurrences of this problem:

[47fc7445][client]: prediction time reset!
[47fc7445][client]: prediction time reset!
[47fc7445][client]: prediction time reset!
[47fc7445][client]: prediction time reset!
[47fc7445][client]: prediction time reset!
[47fc7445][client]: input was late with -42 ms
[47fc7445][client]: input was late with -1 ms
[47fc7469][chat]: *** ftyff6d entered and joined the game
[47fc749c][chat]: *** xxx entered and joined the game
[47fc74a4][chat]: *** ftyff6d has left the game
[47fc74a6][chat]: *** Bigdady entered and joined the game
[47fc74c2][chat]: *** Bigdady has left the game
[47fc74cc][chat]: *** .!.("_").!. entered and joined the game
[47fc754c][chat]: *** Mind Blast has left the game
[47fc7554][chat]: *** Celoz entered and joined the game
dddd[47fc756a][client]: input was late with -2 ms
[47fc756a][client]: input was late with -3 ms
ddddddadaa[47fc7574][chat]: *** xxx has left the game
dfish: Job 1, './teeworlds' durch Signal SIGINT (Quit-Anforderung über Job-Steuerung (^C)) beendet

Above where you see "dddd[47fc756a][client]" and "ddddddadaa[47fc7574][chat]" the d's and a's at the beginning of the lines are obviously from me pressing the movement keys. So I guess this showed up in the console log because at this moment the teeworlds-window minimized and the shell has gotten focus.

[47fd3dad][datafile]: loading data index=14 size=1067
[47fd3dad][datafile]: loading data index=15 size=179
[47fd3dad][chat]: *** Lakritz (laptop) entered and joined the game
[47fd3dad][datafile]: loading data index=5 size=81
[47fd3dad][client]: input was late with -51 ms
[47fd3dad][client]: input was late with -47 ms
[47fd3dad][client]: input was late with -47 ms
[47fd3dbb][chat]: *** fokus has left the game
[47fd3f4e][chat]: *** Evanlec entered and joined the game
[47fd3f5f][chat]: *** Evanlec has left the game
[47fd3f8e][chat]: *** Evanlec entered and joined the game
[47fd3f99][chat]: *** chrizzy entered and joined the game
[47fd3fac][chat]: *** KEPPER entered and joined the game
[47fd3fb1][chat]: *** aopst entered and joined the game
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Serial number of failed request:  274689
  Current serial number in output stream:  274690
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7a5f767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb7a5f81e]
#2 /usr/lib/libX11.so.6 [0xb7e3e518]
#3 /usr/lib/libGL.so.1 [0xb7da3a62]
#4 /lib/tls/i686/cmov/libc.so.6 [0xb7bafff4]
fish: Job 1, './teeworlds' durch Signal SIGINT (Quit-Anforderung über Job-Steuerung (^C)) beendet

The complete log files can be seen here.
(I stripped the chat messages from the second log, the first one had none.)

2

Re: teeworlds irreversible minimizes after about 20 minutes of playtime

There have been several reports of this now. The problem is that I can't really figure it out without having a computer that it happens on. :\ I'll see if I can try teeworlds on some live distributions or something.

3

Re: teeworlds irreversible minimizes after about 20 minutes of playtime

It has to do with anything stealing focus from teeworlds. In my case it was (mostly) pidgin in his case could be screen saver. I'll test the game with no screensaver active (even the 'blank' screen saver may cause the problem) and with no other program open.

4

Re: teeworlds irreversible minimizes after about 20 minutes of playtime

Scaringly enough, disabling screen saver works.
I thought it was related to any focus stealing but I asked some friend to message me while playing, and nothing happened.

So, as a workaround, try to disable gnome's screensaver before playing. As a fix I guess would be nice to make X know that screen is not inactive.

Happy now smile

Bye

Tac

5

Re: teeworlds irreversible minimizes after about 20 minutes of playtime

Seems plausible to me, as it seemed to be almost the exact same amount of time after which it lost focus.

I'll give it a try, thanks.

6 (edited by Soeb 2008-04-11 21:02:05)

Re: teeworlds irreversible minimizes after about 20 minutes of playtime

Funny. I use GNOME and never happened to me. I have screen saver turned on and I play in full screen mode. When it turned on it turned behind the game ( was showed when I turned game off ).

7

Re: teeworlds irreversible minimizes after about 20 minutes of playtime

soeb, i guess you use gutsy. on hardy it provokes nastier problems smile

8

Re: teeworlds irreversible minimizes after about 20 minutes of playtime

Alrighty, disabling the screensaver solves the problem. Again, this is on ubuntu 8.04 hardy heron (beta).

9

Re: teeworlds irreversible minimizes after about 20 minutes of playtime

It happens to me but I thought it was because of my shell execution command script. (a script who allow me to open TW in a shell terminal)

90% of teens today would die if Myspace had a system failure and was completely destroyed.
If you are one of the 10% that would be laughing, copy and paste this to your signature.
My skins