Raised This Month: $32 Target: $400
 8% 

Updated system requirements for TF2 dedicated servers (2-20-2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WebNoob
Senior Member
Join Date: Jul 2008
Old 02-20-2017 , 17:56   Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #1

Just out of curiosity, since Valve released the following info today:

Quote:
The compiler toolchain used for all editions of srcds has changed

Along with the client builds, all server builds have been updated to a newer compiler. Windows builds now use the MSVC2015 tools, while Linux builds now use a newer edition of GCC with differing command-line parameters that affect codegen.

This is expected to break mods that expect certain ABI behaviors or look for certain signatures in order to hook functions (such as SourceMod). We have separately spoken with the SourceMod team and they are working on supporting the new setup. Maintainers of other mods should test them against the beta release below.

Our previous warning also indicated that this would change the _srv naming of the linux binaries. We have decided *not* to adjust this, and the separate _srv build and naming remains unchanged.
....is this just going to be an underlying change that is needed by the Sourcemod team to accommodate things like signature changes, or will it require all custom plugins to also be re-coded?

EDIT: I should add for clarity for those who haven't read it - Valve has stated this change could be released as soon as next week

Last edited by WebNoob; 02-20-2017 at 17:56.
WebNoob is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-20-2017 , 18:03   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #2

Can you link the source of this information?
__________________
Neuro Toxin is offline
WebNoob
Senior Member
Join Date: Jul 2008
Old 02-20-2017 , 18:17   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #3

Quote:
Originally Posted by Neuro Toxin View Post
Can you link the source of this information?
This was from the server-operators mailing list:

Quote:
John Schoenick
5:46 PM (30 minutes ago)

to hlds, Half-Life, hlds_announce
Hey everyone,

Following up on the warning email we sent a long while back, we're making good on our promise and changing our build toolchains for the TF2+SDK2013 games' dedicated server. TF2 is being updated first, with the other SDK2013 games to follow.

There are two things that may affect server administrators that you should be aware of:


The Linux dedicated server now targets the Steam Runtime
The Steam Runtime is a common runtime target based on Ubuntu. For srcds, this largely means linking against a more recent glibc than may be available in some server distributions. Administrators should check that the provided beta still runs in their environment of choice. Those who are on older or incompatible distributions have several options:

- Switch to a distribution more compatible with the Steam Runtime, such as Ubuntu LTS
- Make use of a chroot/container/VM environment to run srcds. The tools linked below include a script for creating a chroot that can be used for bootstrapping Steam Runtime environments.
- Use the Steam Runtime tools linked below combined with some dynamic linker magic to use the runtime libraries on an incompatible distribution, e.g.:
steamrt=/path/to/runtime
export LD_LIBRARY_PATH="bin:$steamrt/usr/lib32"
LD="$steamrt/usr/lib32/ld-linux.so.2"
"$LD" ./srcds_linux "$@"
More information about the Steam Runtime and utilities for obtaining it can be found here: https://github.com/ValveSoftware/steam-runtime



The compiler toolchain used for all editions of srcds has changed

Along with the client builds, all server builds have been updated to a newer compiler. Windows builds now use the MSVC2015 tools, while Linux builds now use a newer edition of GCC with differing command-line parameters that affect codegen.

This is expected to break mods that expect certain ABI behaviors or look for certain signatures in order to hook functions (such as SourceMod). We have separately spoken with the SourceMod team and they are working on supporting the new setup. Maintainers of other mods should test them against the beta release below.

Our previous warning also indicated that this would change the _srv naming of the linux binaries. We have decided *not* to adjust this, and the separate _srv build and naming remains unchanged.

Beta

We've made a beta branch available for TF2 with these new changes. The remaining SDK2013 games will be updated in the near future, and we will provide a beta for them at that time.

The beta is compatible with the current TF2 public release - servers may safely convert to it and continue serving both beta and non-beta clients.
The beta branch is titled "toolchainbeta" with no required password. It can be accessed with SteamCMD via:

app_update 232250 -beta toolchainbeta

These changes may be promoted to an official release of TF2 as soon as next week, so we encourage all server administrators to test their setup against the beta before then.


Let me know if you have any questions or concerns

- John
WebNoob is offline
Spirit532
Junior Member
Join Date: Dec 2015
Location: Belarus
Old 02-20-2017 , 18:32   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #4

I'm also interested in what these changes will require from server operators.
Spirit532 is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 02-20-2017 , 18:52   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #5

Rip my gamedata folder
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-20-2017 , 19:14   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #6

Quote:
Originally Posted by WebNoob View Post
....is this just going to be an underlying change that is needed by the Sourcemod team to accommodate things like signature changes, or will it require all custom plugins to also be re-coded?
Some function signatures will change, so a small gamedata update.

Last edited by psychonic; 02-20-2017 at 19:14.
psychonic is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-20-2017 , 20:18   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #7

For those wanting to try this branch with SourceMod, I pushed updated gamedata to a branch here, https://github.com/alliedmodders/sou...-toolchainbeta

You will need to temporarily disable the gamedata updater.

Not on the topic of SM, but users on CentOS 6 or Debian 7 or older will likely run into GLIBC errors on server launch.

I solved a similar issue using a variant of one of nephyrinJohnS's tips on the list. Using the Steam Runtime chroot wasn't an option for a few reasons, but the runtime dev environment was still useful.

After using the build-runtime.py script to create the environment, I set the following env vars at server launch.

(ENGINE_PATH is just the game install dir here. The srcds_run wrapper script already normally adds the first two directories. STEAMRT_PATH is ~/steamrt/steamrt_scout_i386, after doing, for example, python build-runtime.py -r ~/steamrt from a clone of the steam-runtime repo)

LD_LIBRARY_PATH="${ENGINE_PATH}:${ENGINE_PATH }/bin:$LD_LIBRARY_PATH:${STEAMRT_PATH}/lib:${STEAMRT_PATH}/usr/lib:${STEAMRT_PATH}/lib/i386-linux-gnu/"

LD="${STEAMRT_PATH}/lib/ld-linux.so.2"

Last edited by psychonic; 02-20-2017 at 20:27.
psychonic is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 02-20-2017 , 20:43   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #8

How does it affect offsets?
Did they bother to include symbols in windows?
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-20-2017 , 20:52   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #9

Quote:
Originally Posted by friagram View Post
How does it affect offsets?
Did they bother to include symbols in windows?
It doesn't, and that's not easily doable.

Last edited by psychonic; 02-20-2017 at 20:52.
psychonic is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 02-20-2017 , 21:05   Re: Updated system requirements for TF2 dedicated servers (2-20-2017)
Reply With Quote #10

So CentOS and Debian have issues with startup. I hope standard Ubuntu 16.whatever is fine.
404UserNotFound is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:14.


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