1 (edited by switchus 2015-12-23 09:44:27)

Topic: Steam linux overlay freezes game.

Hello!

There seems to be a problem with the Linux version of Teeworlds on Steam. Whenever I open the Steam overlay (by pressing SHIFT+TAB) the game freezes. After I toggle the Steam overlay off the game is no longer responding to any input and I am forced to restart the computer.

I guess this is not such a big deal since there are not that many Linux users on Steam, but it would still be nice if you could find a fix for it since I keep forgetting this bug exists and keep restarting my computer.

Oh, and thanks for putting this game on Steam and making a Linux version too, really awesome game.

Edit: Here is the console output:

Running Steam on ubuntu 15.10 64-bit
STEAM_RUNTIME has been set by the user to: /home/switchus/.local/share/Steam/ubuntu12_32/steam-runtime
ExecCommandLine: "/home/switchus/.steam/root/ubuntu12_32/steam steam://open/driverhelperready"
ExecSteamURL: "steam://open/driverhelperready"
Game update: AppID 380840 "Teeworlds", ProcID 2134, IP 0.0.0.0:0
ERROR: ld.so: object '/home/switchus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Installing breakpad exception handler for appid(steam)/version(1450127196)
ERROR: ld.so: object '/home/switchus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
[567a4e62][engine]: running on unix-linux-amd64
[567a4e62][engine]: arch is little endian
[567a4e62][storage]: added path '$USERDIR' ('/home/switchus/.teeworlds')
[567a4e62][storage]: added path '$DATADIR' ('data')
[567a4e62][storage]: added path '$CURRENTDIR' ('/home/switchus/.local/share/Steam/steamapps/common/Teeworlds')
[567a4e62][binds]: bound f1 (282) = toggle_local_console
[567a4e62][binds]: bound f2 (283) = toggle_remote_console
[567a4e62][binds]: bound tab (9) = +scoreboard
[567a4e62][binds]: bound u (117) = +show_chat
[567a4e62][binds]: bound f10 (291) = screenshot
[567a4e62][binds]: bound a (97) = +left
[567a4e62][binds]: bound d (100) = +right
[567a4e62][binds]: bound space (32) = +jump
[567a4e62][binds]: bound mouse1 (323) = +fire
[567a4e62][binds]: bound mouse2 (324) = +hook
[567a4e62][binds]: bound lshift (304) = +emote
[567a4e62][binds]: bound rshift (303) = +spectate
[567a4e62][binds]: bound right (275) = spectate_next
[567a4e62][binds]: bound left (276) = spectate_previous
[567a4e62][binds]: bound 1 (49) = +weapon1
[567a4e62][binds]: bound 2 (50) = +weapon2
[567a4e62][binds]: bound 3 (51) = +weapon3
[567a4e62][binds]: bound 4 (52) = +weapon4
[567a4e62][binds]: bound 5 (53) = +weapon5
[567a4e62][binds]: bound mousewheelup (331) = +prevweapon
[567a4e62][binds]: bound mousewheeldown (332) = +nextweapon
[567a4e62][binds]: bound t (116) = chat all
[567a4e62][binds]: bound y (121) = chat team
[567a4e62][binds]: bound f3 (284) = vote yes
[567a4e62][binds]: bound f4 (285) = vote no
[567a4e62][console]: executing 'settings.cfg'
[567a4e62][binds]: bound tab (9) = +scoreboard
[567a4e62][binds]: bound space (32) = +jump
[567a4e62][binds]: bound 1 (49) = +weapon1
[567a4e62][binds]: bound 2 (50) = +weapon2
[567a4e62][binds]: bound 3 (51) = +weapon3
[567a4e62][binds]: bound 4 (52) = +weapon4
[567a4e62][binds]: bound 5 (53) = +weapon5
[567a4e62][binds]: bound a (97) = +left
[567a4e62][binds]: bound d (100) = +right
[567a4e62][binds]: bound t (116) = chat all
[567a4e62][binds]: bound u (117) = +show_chat
[567a4e62][binds]: bound y (121) = chat team
[567a4e62][binds]: bound right (275) = spectate_next
[567a4e62][binds]: bound left (276) = spectate_previous
[567a4e62][binds]: bound f1 (282) = toggle_local_console
[567a4e62][binds]: bound f2 (283) = toggle_remote_console
[567a4e62][binds]: bound f3 (284) = vote yes
[567a4e62][binds]: bound f4 (285) = vote no
[567a4e62][binds]: bound f10 (291) = screenshot
[567a4e62][binds]: bound rshift (303) = +spectate
[567a4e62][binds]: bound lshift (304) = +emote
[567a4e62][binds]: bound mouse1 (323) = +fire
[567a4e62][binds]: bound mouse2 (324) = +hook
[567a4e62][binds]: bound mousewheelup (331) = +prevweapon
[567a4e62][binds]: bound mousewheeldown (332) = +nextweapon
[567a4e62][console]: failed to open 'autoexec.cfg'
[567a4e62][client]: starting...
[567a4e63][client/sound]: sound init successful
[567a4e63][engine/mastersrv]: refreshing master server addresses
[567a4e63][textrender]: loaded pFont from 'data/fonts/DejaVuSans.ttf'
[567a4e63][textrender]: default pFont set 0x20f9bb0
[567a4e63][]: pFont memory usage: 2097152
Installing breakpad exception handler for appid(gameoverlayui)/version(20151214111647)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[567a4e65][gameclient]: initialisation finished after 2146.87ms
[567a4e65][client]: version 0.6 626fce9a778df4d4
[567a4e65][engine/mastersrv]: saving addresses
[567a4e65][]: pFont memory usage: 2621440
[567a4e65][]: pFont memory usage: 2883584
[567a4e65][]: pFont memory usage: 3014656
[567a4e65][]: pFont memory usage: 3276800
[567a4e65][]: pFont memory usage: 3407872
[567a4e65][]: pFont memory usage: 3538944
[567a4e65][]: pFont memory usage: 3801088
[567a4e65][]: pFont memory usage: 3932160

2

Re: Steam linux overlay freezes game.

seems no need to reboot, unless i am wrong, just switch to a TTY and kill the teeworlds process. Still, we should try to fix this.

Clan: Riot (I'm one of three leaders: Mile, Deku, pie)
Host teeworlds maps on a fng/ctf/dm/ddrace server for testing:http://riotproductions.tk/teewo/ broken-need reinstall nginx http://riotproductions.tk/bounce?whatEven, Teeworlds NA Discord chat

3 (edited by switchus 2015-12-25 10:59:40)

Re: Steam linux overlay freezes game.

Yes, that actually works for closing the game when it locks up, did not think of that earlier, thanks.

Something else I discovered is that if you go to Settings-->Graphics and select "Borderless window" instead of "Fullscreen" and restart the game, the game no longer freezes when you access the Steam overlay.  So whatever the problem is, it seems to be related to the game running in fullscreen mode.

But there seems to be another problem when running the game in a borderless window. After you have toggled the Steam overlay on and off, there will be two cursors displaying instead of one;  the normal desktop cursor which will be stuck at the center of the screen and the game's cursor which acts normally. Not sure if this is somehow related to the fullscreen freeze.

Edit: No clues in /tmp/gameoverlayui.log either I think:

Fri Dec 25 08:49:55 2015 UTC - GameOverlay process started: pid: 8943
Fri Dec 25 08:49:55 2015 UTC - GameOverlay process connecting to: pid: 8939
Fri Dec 25 08:49:55 2015 UTC - BuildID: 1450127196
Fri Dec 25 08:49:55 2015 UTC - Steam Path: /home/switchus/.local/share/Steam/
Fri Dec 25 08:49:55 2015 UTC - WM_ACTIVATE received before BasePanel() knows about the game ID
Fri Dec 25 08:49:55 2015 UTC - WM_ACTIVATE received before BasePanel() knows about the game ID
Fri Dec 25 08:49:55 2015 UTC - WM_ACTIVATE received before BasePanel() knows about the game ID
Fri Dec 25 08:49:55 2015 UTC - WM_ACTIVATE received before BasePanel() knows about the game ID
Fri Dec 25 08:49:55 2015 UTC - WM_ACTIVATE received before BasePanel() knows about the game ID
Fri Dec 25 08:49:57 2015 UTC - Generating new string page texture 2736: 128x256, total string texture memory is 131.07 KB
Fri Dec 25 08:49:57 2015 UTC - Generating new string page texture 2737: 256x256, total string texture memory is 393.22 KB
Fri Dec 25 08:49:59 2015 UTC - Overlay enable requested by game
Fri Dec 25 08:49:59 2015 UTC - Generating new string page texture 2739: 384x256, total string texture memory is 786.43 KB
Fri Dec 25 08:49:59 2015 UTC - Generating new string page texture 2740: 64x256, total string texture memory is 851.97 KB
Fri Dec 25 08:49:59 2015 UTC - Generating new string page texture 2741: 128x256, total string texture memory is 983.04 KB
Fri Dec 25 08:49:59 2015 UTC - Generating new string page texture 2742: 256x256, total string texture memory is 1.25 MB
Fri Dec 25 08:50:00 2015 UTC - Overlay disable requested by game
Fri Dec 25 08:51:43 2015 UTC - Detected possibly crashed/killed game, exiting
Fri Dec 25 08:51:43 2015 UTC - Shutting down overlay

4

Re: Steam linux overlay freezes game.

when the two cursors appear, try pressing f1 twice and clicking into the window?

Clan: Riot (I'm one of three leaders: Mile, Deku, pie)
Host teeworlds maps on a fng/ctf/dm/ddrace server for testing:http://riotproductions.tk/teewo/ broken-need reinstall nginx http://riotproductions.tk/bounce?whatEven, Teeworlds NA Discord chat