Closed sshaizkhan closed 2 weeks ago
Has there been any progress made? I'm having the same issue using WSL2 and Ubuntu 20.04 with Docker installed over WSL and not Docker Desktop.
For gpu acceleration and more inside the container follow this: https://github.com/microsoft/wslg/blob/main/samples/container/Containers.md
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Thank you!
Version
Microsoft Windows [Version 10.0.22621.1194]
WSL Version
Kernel Version
5.15.79.1
Distro Version
Ubuntu 22.04.1 LTS
Other Software
Docker Desktop (Windows), version 4.16.3 Visual Studio Code :
with extensions:
Repro Steps
I'm getting different output by running
glxinfo -B
inside the dev container and installed Ubuntu 22.04 distro in WSL2. The Ubuntu distro is successfully showing the correct output withDevice: D3D12 (NVIDIA GeForce GTX 1660 Ti) (0xffffffff)
and can run graphic application likemeshlab
but the devcontainer is showingDevice: llvmpipe (LLVM 15.0.6, 256 bits) (0xffffffff)
and is even unable to runglxgears
on it.The steps to reproduce this issue atleast on my machine are mentioned below.
I have made a docker image using the below Dockerfile contents:
Build the docker image using the above Dockerfile contents and name it as
moveit2:humble
.Once the image is build, create a workspace with the following directory structure, assuming you in
/home/$USER
path :The content inside devcontainer.json:
Open visual code inside
test_folder or whatever name gave
and if you have Dev container extension installed (mentioned above), a pop-up will appear to open the project inside dev container. Once the container is build, open the terminal inside the container and installMesa Utils
using the commandsudo apt-get install mesa-utils
and runglxinfo -B
to see the output.Expected Behavior
Actual Behavior
Diagnostic Logs
No response