Random timeouts with the new (10.X) client when the window is inactive

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
User avatar
Fifi
Posts: 298
Joined: Fri Jan 23, 2015 11:57 pm
Location: Cracow, Poland
Player profile: http://ddnet.tw/players/Fifi/

Random timeouts with the new (10.X) client when the window is inactive

Post by Fifi »

Heyo. I've got a problem with my game client. :c

Since the update to the SDL2 version, my client began to randomly timeout when I unfocus its window. It omits the timeout protection, which means I got killed every time it happens. It's kinda frustrating (I'm currently reverting to 9.X version temporarily because of that) and I was unable to find a reason so far. Maybe I'll try to watch the console output, but it's hard to make it timeout on purpose. I'm using Arch Linux 64 bit and the Fluxbox window manager, on an Intel + Nvidia machine (if that matters somehow).

I'm not sure, if I can distinguish a replay of such an event from one with a standard disconnect/client closing, but if I'll find one - I'm gonna post it here.

^^ Thank you for any help and sorry for the trouble.

PS. Those are probably minor problems compared to this, but the clipboard support doesn't work for me (I tried it on a different window manager, but it didn't help) and the bam build script is not compatible with bam 0.5.X.

EDIT INFO: I was sleepy and I somehow swapped crash and timeout in my brain, so the previous version of this post was mistakenly about crashes. Sorry for that.
Last edited by Fifi on Tue Jun 28, 2016 10:49 pm, edited 1 time in total.
Image
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Random crashes with the new (10.X) client when the window is inactive

Post by deen »

Try gfx_backgroundrender 1 (or 0)
User avatar
timakro
Posts: 414
Joined: Mon May 05, 2014 6:05 pm
Location: Germany
Player profile: http://ddnet.tw/players/timakro/
Mapper profile: http://ddnet.tw/mappers/timakro/
Clan: unique

Re: Random crashes with the new (10.X) client when the window is inactive

Post by timakro »

Since SDL2 my client sometimes says there was a timeout when I switch back to it after it was in the background but on the server it just says I had left the game. Maybe this is related.
User avatar
Fifi
Posts: 298
Joined: Fri Jan 23, 2015 11:57 pm
Location: Cracow, Poland
Player profile: http://ddnet.tw/players/Fifi/

Re: Random crashes with the new (10.X) client when the window is inactive

Post by Fifi »

deen wrote:Try gfx_backgroundrender 1 (or 0)
timakro wrote:Since SDL2 my client sometimes says there was a timeout when I switch back to it after it was in the background but on the server it just says I had left the game. Maybe this is related.
Aaaaa >< Sorry guys. I meant timeouts, not crashes. I was so sleepy yesterday that I somehow swapped those in my brain.
I got exactly the same behaviour as timakro, so I noticed my mistake when he described it. I edited the original post.

PS. I didn't try the gfx_backgroundrender change yet, as I wasn't home and I'm still not sure how to reproduce the bug on purpose (so I can't really compare if that change helped).
Image
User avatar
timakro
Posts: 414
Joined: Mon May 05, 2014 6:05 pm
Location: Germany
Player profile: http://ddnet.tw/players/timakro/
Mapper profile: http://ddnet.tw/mappers/timakro/
Clan: unique

Re: Random timeouts with the new (10.X) client when the window is inactive

Post by timakro »

I tried changing gfx_backgroundrender and it happened again.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests