godot: Server platform doesn't build

Operating system or device - Godot version: Linux, Godot master/HEAD (faee2fb )

Issue description: The server platform needs fixed. It’s true. It’s gonna be great.

Two things need to be fixed:

  • The AudioServer setup hasn’t been fully adapted to the new API. It’s easy to fix, just remove that obsolete stuff, and related lines affecting/declaring those members: https://github.com/godotengine/godot/blob/master/platform/server/os_server.cpp#L72-L78
  • Then it needs to be adapted for the GLES3 renderer, and here I have less experience to tell what needs to be done 😃 It should likely be compared with the implementation in 2.1 to see how it worked.

Steps to reproduce:

  • scons p=server

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 3
  • Comments: 18 (11 by maintainers)

Commits related to this issue

Most upvoted comments

I fail to see how the proper English word for “model” and “not real” can be insensitive. https://dictionary.cambridge.org/dictionary/english/dummy

I think that if one feels offended by a word used in the proper context and meaning, well… that person should reconsider its priorities in life.

I would suggest that person to start believing in himself instead of shielding from the world, which is useless and actually detrimental.

It is there a way to run gdscript on a Linux server with no audio card and no X11 without server compile?

Nope. But 3.1 should come soon enough for those who need this in their workflow.

kicking to 3.1, apologies.

I think we should also take this opportunity to finally get rid of the designated server platform and provide a server=yes compilation flag that also works on non-unix platforms. See https://github.com/godotengine/godot/issues/6059#issuecomment-238195785

I actually did already get started on abstracting out the windowing system from the platform code back in january/february. IIRC I’ve got it working for x11, then wanted to integrate the old server code but noticed that I’d have to write a DummyRasterizer for the new gles3 renderer (HUGE task). That’s when I’ve put the project on hold and forgot about it… So, thanks for the reminder 😛

TL;DR Looking for volunteers to bring back the dummy rasterizer 😃