-
Notifications
You must be signed in to change notification settings - Fork 0
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
improve headless performance #27
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We need to disable security because a game we are developing currently uses insecure lua features. I don't think the software rendering env variable was doing anything, but if it was, I think it was counter-productive.
459a2f8
to
e2147b8
Compare
3428f97
to
b3805e4
Compare
do not use std::from_chars TODO squash
The motivation was to avoid some copies of the CapnProto messages. I think this is possible using ZeroMQ, but it seems much easier with CapnProto RPC. It also reduces third party deps (no ZeroMQ).
potentially faster than TCP on localhost
this seems to result in a significant performance boost (39 -> 57 FPS on devtest game on awake-oyster, which has Quadro M4000).
It's way faster than the --headless we put into Irrlicht. On a machine with: * Quadro M4000 GPU * E5-2630 v4 CPU FPS goes from ~20 to ~59 on devtest game. sleep after starting XVFB TODO squash"
it is not needed We can run headless on linux using XVFB This means we don't need to use SDL2 fix test for linux mesa TODO squash
b90664d
to
408582e
Compare
We're using newer C++ features not supported by them. Also enable gettext on all builds. Not sure why but without it we get ncurses errors.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: #19
Fixes: #22
Fixes: #23
Fixes: #25