Comments (7)
Hi!
I would need a bit more context about this issue.
Are you running it on a Windows machine ?
What is the hardware configuration (CPU, GPU) ?
from dogfight-sandbox-hg2.
Also, I case you are running on Windows, can you try to switch to DirectX instead? For this you simply need to edit the config.json
file (found at the root of the project) as following :
{
"Resolution": [1920, 1080],
"FullScreen": false,
"OpenGL": false,
"AntiAliasing": 4,
"ShadowMap": true
}
from dogfight-sandbox-hg2.
I run it on Ubuntu18.04 with a 2080Ti, I try to modify the config file, but it doesn't work. How can i do to run it in renderless mode?
from dogfight-sandbox-hg2.
I got it working on Ubuntu 20.04.4 LTS, both on the Intel HD internal graphics chipset and on a GeForce 750M GPU.
Make sure that the Nvidia proprietary drivers are properly installed and enabled.
And yes, sorry, in your case, when running on Linux, you HAVE to let the OpenGL
flag set to True
.
Regarding the renderless mode, it will still use the renderer for the main menu and will display the 2D radar, so it requires the GPU to be functionning.
The way to use it is detailed here :
https://github.com/harfang3d/dogfight-sandbox-hg2/blob/f174f1dc03e6c3033db61edb81e44b3393b3c383/documentation_network.md
from dogfight-sandbox-hg2.
I have tried to use the renderless mode, it runs fast.
Can i modify the code to realize displaying nothing, because i just want to get the kinetics vector which used for RL training.
from dogfight-sandbox-hg2.
Feel free to modify the code as you need. That's why the sandbox is open-source :)
May I ask how you fixed the swrast
error ?
from dogfight-sandbox-hg2.
I don't solve the problem on ubuntu, i run it on windows now. With respect to the renderless mode, i have some other troubles which the running speed is slowing down with time, i don't know why did it happend.
from dogfight-sandbox-hg2.
Related Issues (20)
- GLIBC_ 2.29 and ubuntu18.04 HOT 1
- <WindowSystemInit> returned a result with an error set in ubuntu20.04
- How can I make it work without graphical display on docker or server, just like StarCraft HOT 2
- How to realize multi-process?
- Connection reset by peer in RL training process
- The problem of IA mode HOT 2
- About Multiagent Dogfight HOT 4
- About the IA mode
- How can I run multiple dogfight windows? HOT 2
- VR doesn't seem to work after v1.0.2
- The missiles fail to hit the target. HOT 4
- The missiles fail to hit the target. HOT 1
- Question: position information is abnormal in network mode HOT 1
- Can this platform run on a Linux server?
- The Socket Client Receive the Nonetype Date HOT 1
- Nonetype error came out on the linux platform.
- In _get_reward() function,what's the mean of setting the reward about plane_heading and plane_heading2?
- What is the difference between flag_destroyed and wreck? HOT 6
- After all the missiles on the aircraft were launched, they were not reconfigured in subsequent environmental resets HOT 1
- very very basic question, If using keyboard, how to start to play the game HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dogfight-sandbox-hg2.