AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Struggle Running Local TF2 Linux Server with WSL2 (https://forums.alliedmods.net/showthread.php?t=333988)

Scag 08-21-2021 17:41

Struggle Running Local TF2 Linux Server with WSL2
 
My remote servers are Linux so I thought it'd be easier to run a local Linux one via WSL2 so I don't have to worry about cross compatibility gamedata.

Running Ubuntu 20.04 (or just plain Ubuntu under wsl --list --online)

I've installed the TF2 dedicated server and all of the required libraries, but when I run srcds_run I end up receiving an error:

https://imgur.com/ZoAhC6d.png

I've experimented with various switches but there's always the same OOM error.

Ran with -debug, didn't get anything special. I don't even get a crash dump.
Spoiler


Did a lot of research. Scoured across this forum. Installed an ungodly amount of packages. Performed a fresh WSL2 install. No dice.

So I'm at a loss.

I've spent more time trying to get this to work locally than what would've taken me to just remote into my machines :stupid:

asherkin 08-23-2021 12:12

Re: Struggle Running Local TF2 Linux Server with WSL2
 
Are you sure your WSL2 VM isn't actually just running out of memory? What does "free -h" show?

Scag 08-25-2021 11:23

Re: Struggle Running Local TF2 Linux Server with WSL2
 
Quote:

Originally Posted by asherkin (Post 2755973)
Are you sure your WSL2 VM isn't actually just running out of memory? What does "free -h" show?

https://imgur.com/L3OEscf.png

CryWolf 09-18-2021 18:36

Re: Struggle Running Local TF2 Linux Server with WSL2
 
Quote:

Originally Posted by throwaway12812391 (Post 2757650)
you need -console option, you are trying to run it like a normal game

That's not needed under Linux , since HLDS/SRCDS doesn't have a guy by default on Linux.

I think this will not run ok, from a mounted device, because of memory loading speed, try moving it on a normal partition.


All times are GMT -4. The time now is 01:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.