tf2_bot_detector icon indicating copy to clipboard operation
tf2_bot_detector copied to clipboard

[BUG] Fatal Error: Unable to get window info from SDL

Open Hedwig7s opened this issue 1 year ago • 6 comments

Describe the bug When trying to launch TF2 via TF2BD, I get an error complaining about being unable to get window info from SDL

Logs 2024-06-07_18-02-19.log

Screenshots image

Desktop (please complete the following information): Linux Mint 21.3 Virginia TF2BD v1.6.3.55

Additional context This did not occur before updating packages This does not occur when running TF2 directly through steam

Hedwig7s avatar Jun 07 '24 16:06 Hedwig7s

"This did not occur before updating packages" interesting, my guess might be that we're loading the OS's version of sdl instead of the supplied sdl binary of tf2, and that's being incompatible with tf2.

For now just work around it by supplying your own rcon params and launching tf2 separately via steam (see #26's launch params), sorry about that. (I'll fix it eventually)

surepy avatar Jun 07 '24 23:06 surepy

I believe the issue is that the game is supposed to use the Steam Linux Runtime libraries but is instead using system libraries

Hedwig7s avatar Jun 08 '24 14:06 Hedwig7s

yea probably

surepy avatar Jun 11 '24 01:06 surepy

I changed how tf2 launches under linux (idk why windows x64 build is broken atm, lol.) and its my best guess on the proper way to fix this issue, can you try the latest build artifacts?

Two of the distros i use don't have this problem so it's kind of a shot in the dark lol

surepy avatar Jun 14 '24 12:06 surepy

It works although the terminal command length limit is hit a lot quicker when using command line parameters

Hedwig7s avatar Jun 17 '24 08:06 Hedwig7s

Nevermind it triggered insecure mode

Hedwig7s avatar Jun 17 '24 09:06 Hedwig7s