Comments (6)
Hi - have you tried using xpra
to view a remote render? Here is a link to our documentation on this approach:
https://github.com/threedworld-mit/tdw/blob/master/Documentation/misc_frontend/xpra.md
from tdw.
@YanjunChen329 What is the output of nvidia-smi
? Your drivers might be out of date.
from tdw.
Hi,
Thank you for the prompt replies! I tried to follow the instructions in the link that @jemsMIT provided. However, I still encountered the same "Can't open display: 80" error. Here is the details of my steps:
First, I can't run step 2: DISPLAY=:80 vlgrun -d :0 ./tdw.x86_64
because my host container does not have ./TDW.x86_64. I assumed that this is the command I should run when I am in the TDW container. Thus, I followed the shell script tdw/Docker/start_container_xpra.sh for server-side code. Here are the commands I run:
DISPLAY=:0
xhost +local:root
xpra start :80
DISPLAY=:80
xhost +local:root
sudo docker run -it \
--rm \
--gpus all \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY \
--network host \
vglrun -d :0 \
tdw:v1.6.0 \
./TDW/TDW.x86_64
However, for the last command docker complains that no image vglrun
can be found. I think this is a small typo in the shell script so I run the following command instead:
sudo docker run -it \
--rm \
--gpus all \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY \
--network host \
tdw:v1.6.0 \
vglrun -d :0 ./TDW/TDW.x86_64
After it started running, I went to my Mac and tried the command xpra attach --ssh=ssh ssh/<my_server_hostname>/80
. However, the following error shows up:
Warning: vendor 'Intel Inc.' is greylisted,
you may want to turn off OpenGL if you encounter bugs
Xpra GTK3 client version 4.0.1-r26380 64-bit
running on Mac OS X 10.15.4
GStreamer version 1.16.2 for Python 3.8.2 64-bit
visionary/third_party/dm_control/__pycach│/Applications/Xpra.app/Contents/Resources/lib/python/xpra/platform/darwin/osx_tray.py:90: Warning: invalid cast from 'GtkMenuBar' to 'GtkWindow'
self.macapp.set_menu_bar(self.menu)
(Xpra:1722): Gtk-CRITICAL **: 16:26:53.014: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
failed to connect to XXXX:80, retrying for 20 seconds
I also tried to connect to my xpra server through web browsers following a tutorial online. I managed to see the Xpra favicon but immediately after, an error message popped up saying: ERROR CODE: GPU_DEAD_ON_ARRIVAL
The thing that baffles me the most is that I received the OpenGL error after I installed X-server and VNC on the TDW docker image. Is there any dependency that I may be lacking or is there any other approach that I could try? Thank you again for your help!
from tdw.
@alters-mit My remote server has driver version 430.5. Here is the output from running nvidia-smi
:
from tdw.
@YanjunChen329 I found numerous problems with TDW's Docker container, which I fixed. Try upgrading: pip3 install tdw -U
and see our Docker documentation
Please let me know if that helps solve your problem.
from tdw.
Closing this ticket due to inactivity and because the bug has likely been fixed.
from tdw.
Related Issues (20)
- screen position documentation, missing link
- send_local_transforms actually sent global transforms HOT 3
- rotate_object_by "is_world" doesn't seem to cause any differences HOT 3
- saved images are upsidedown after updating to v1.12.9
- Teleop/Manual Control Example HOT 2
- TDW not compatible with Jupyter Notebook on VSCode HOT 4
- About nav_mesh.py example with magnebot HOT 3
- Invisible Rigid Body Object
- Occupancy Maps with rectangular layouts
- Some object's pivot is not its bottom-center
- send_occlusion and Occlusion is not working properly
- adding `use_centroid` in `teleport_object` api?
- Error when creating asset bundles from .fbx models, .obj file fails to be created
- How to customize build HOT 1
- How are interior_walls treated as mesh obstacles? HOT 2
- Add force in the middle HOT 1
- GPU not in use Error HOT 4
- Plan for releasing non-free models? HOT 1
- Whether you can use PyQT to create your own GUI HOT 4
- Issues with using custom objects and animations. HOT 3
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 tdw.