Jump to content

Starting without graphics: headless mode


photo

Recommended Posts

Posted

Is there a way to start Unigine in headless mode? Without any requirement's for an X11 server, or any other graphics components, ideally on linux, mac and windows)?

 

We need a dedicated server mode essentially, and since most dedicated servers don't have any graphics associated with them (nor for that matter should the server need the graphics). Is there an existing command line switch that accomplishes this, and I just haven't seen it?

Posted

Yes, there is a way: -video_app null (log messages will be outputted into the console).

Posted

Unigine provides a NULL renderer for headless server mode which can be requested on startup e.g.

main_x86 -video_app null .....

 

EDIT: ups, binstream was a little bit faster

Posted

Is there a way to force all messages that would normally be printed to the game console to the terminal (or screen) console where I am starting it from?

Posted

Not sure, but have a look into bin\log.html file. I think console messages will also be logged there, so you could dump them during runtime of use refresh button of your browser

Posted

Is a separate console window with all the messages in case of debug builds is not what you need?

×
×
  • Create New...