people playing: 65, servers online: 22, games played: 144,023,858 Top Player: Gentleman

  Toribash Community » Toribash » Mods
Register FAQ General Rules Community
Thread Tools Display Modes
Old Nov 13, 2018   #1
Junior Member
White Belt
Join Date: Nov 2018

Simulation without display
Hello !

I would like to know if it is possible to run a Game without display.
I would like to try different AI algorithms on Toribash and one of the main issue to be able to speed up the training is to be or not to be able to run several game parallelly.

I thought about using ghost of ghost. But that does not seems to be the best solution : The game is already doing tthe calculation and displaying it.

I thank you all !
adeeplearn is offline   Reply With Quote
Old Nov 14, 2018   #2
Junior Member
White Belt
Join Date: Sep 2012

AFAIK Toribash requires valid display to initialize OpenGL buffers, I have not found a way around this yet. If you are running on Linux, you can use "Xvfb" to create a dummy display and render the game there (note that this does not work with Nvidia OpenGL drivers installed as of writing).

<self-plug> By any chance, have you noticed there is a Toribash learning environment made specifically for this kind of experiments? You will also find more instructions on running without display there.

Last edited by Miffylin; Nov 14, 2018 at 02:45 PM..
Miffylin is offline   Reply With Quote

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 +1. The time now is 02:52 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game