-
Notifications
You must be signed in to change notification settings - Fork 196
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
Windows Docker Support #667
Comments
@alexdrc00 Thanks for clarifying this issue. As you're probably aware, VRX has not been tested on WSL2. It may be possible to get it working, but we don't have official support at this time. That said, assuming you are now using rocker I suspect this is not a VRX issue, but a result of a lack of Windows support for VRX. You may want to post an issue to https://github.com/osrf/rocker asking whether there is any possibility of adding WSL2 support in the future. If not, I think it will be a bit of an adventure to see whether you can get Docker to connect to your GPU in general. I would recommend starting with a simpler test case, like seeing whether you can get |
As far as I have understood, it seems it is Ogre which is causing some compatibility issues when attempting to run with GPU, since d3d12 mesa driver, that is used for hardware acceleration on WSLg does not implement GL_ARB_copy_image function. One option I found success with is running a ros-humble image, only with CPU resources setting @M1chaelM is VRX technically supported in MacOS? Should it be relatively simple to get it working with hardware acceleration? I am having a peer of mine attempt to run it in MacOS and he is having some difficulties so far, could you maybe share some guidance? |
No, it is not supported on MacOS. You may be able to get it to work, but I haven't tested it, and can't speak to whether it would be difficult to do. We are a small team so we can only offer official support on Ubuntu 22.04. |
I'm not sure how helpful this is, but I have tested the gazebo_classic branch successfully in wsl2, with gazebo and rviz. I'm not using a docker container, but installing everything "locally" in wsl, on a windows 11 machine. Unless you are completely tied to docker, just installing everything in wsl seems to work nicely, with gui support and gpu acceleration (following the microsoft and nvidia instructions) |
Thanks for the answer! I did not find any issue running the classic branch in docker, I was trying to avoid installing it on my local machine, but I might give it a try since I am out of options with vrx 2.0, did you encounter any issues with gpu accelaration? Could you share the instructions you followed to enable it just so I am on the same page? |
Well, if you go the wsl2 route, it will be an isolated environment, similar to using docker. I used the official wsl2 and nvidia instructions: installation: GPU Acceleration: I had no issues with the gpu acceleration, and i can run all my object detection networks in real-time inside wsl (isolated!) with this setup. |
@edvart-ros Thanks for this helpful writeup. @alexdrc00 Did this resolve the issue for you? |
Similar to #622 I am facing some difficulties when running VRX in docker, in my case in Windows (system setup will be added below). I have followed the instructions as per @M1chaelM suggestion and while I managed to run the simulation and read from the topics, suggesting the simulation is indeed working there were two issues:
I am using the following system setup:
System Configuration:
Tell us about your system.
The text was updated successfully, but these errors were encountered: