-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement headless (server) version for all desktop platforms #11389
Comments
Is there a way to run a Godot game in server mode even with a visual interface? It can be useful for debugging (while a headless export is better for a stable game build). |
Well server mode just means "no visual and audio". But you can run your game's server with a normal editor binary, yes. |
I know this is more of a feature proposal thread, but I was running into issues compiling the server version using a Heroku machine. I'm sure that people will want this for easy multiplayer so this may aid in developing the compilation but then again maybe not. I was getting errors with libxcursor specifically even though these shouldn't be needed for a server build no? Also I'm using a cedar-14 machine, which does include libXcursor but under a different location and only contained the I'm also curious for personal interest. |
@jedStevens That's out of the scope of this issue, and not another bug either as it's just that you lack the development library for Xcursor on your system. Please ask such questions on support platforms such as the Q&A, forum, Discord, etc. to get help fixing it. |
On top of this, it should probably also be possible to run at least a normal tools build in headless with just a command line switch. |
@akien-mga, can tag for 3.1? @Zylann, would it be better to not include visual interface for debugging and use/create a RPC client for this instead? So if there's a need of visual interface, we might just use the main export template. I guess the main goal of |
Maybe we should make the flag, |
What's the status on this? |
@Anutrix As far as I know, there hasn't been any progress on this. See also godotengine/godot-proposals#198 which is tangentially related to this issue. |
Superseded by godotengine/godot-proposals#991. |
Operating system or device, Godot version:
All desktop platforms, master branch (7bd0067).
Issue description:
The current headless version of Godot (no rendering, no audio), a.k.a. the "server" platform, is Linux-specific (
platform=server
).The dummy rasterizer and dummy audio servers are however platform-independent, and only the windows management code is platform-specific.
We should eventually replace the server platform by a
server=yes
compilation switch that would apply to all desktop platforms where it makes sense (Linux, macOS, Windows).The text was updated successfully, but these errors were encountered: