people playing: 110, servers online: 37, games played: 142,191,709 Top Player: HiPower

  Toribash Community » Toribash » Mods
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Nov 13, 2018   #1
adeeplearn
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 4 Weeks Ago   #2
Miffylin
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. https://github.com/Miffyli/ToriLLE

Last edited by Miffylin; 4 Weeks Ago at 02:45 PM..
Miffylin is offline   Reply With Quote
Reply


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:09 AM.




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