-
Notifications
You must be signed in to change notification settings - Fork 216
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
Troubleshoot Guide: Run with WSL (Windows) #148
Comments
@wenbowen123 Should I move this issue to closed or delete it and post it elsewhere? |
For what it is worth, other than dealing with the 4080/4090 issue, I had no issues getting it to run on wsl2. That said, I followed these instructions to set up gpu acceleration in wsl2: https://learn.microsoft.com/en-us/windows/wsl/tutorials/gpu-compute. Most notably I followed the instructions for using docker desktop. Just as a heads up, you may need to rebuild the wsl2 kernel if you want to use a camera with wsl2. |
@bblumberg Thank you for the info. I will definitely check out the instructions. Have you already rebuilt your wsl2 kernel and tried it out with a camera? |
Yup to use cameras with wsl2, you will typically need to rebuild the wsl2 kernel as the default version of Ubuntu 22.04 does not include video drivers. This sounds more complicated than it actually is in practice if you have a clear set of directions. Here are the instructions that I followed and they worked fine for me. (https://medium.com/software-dev-explore/wsl2-webcam-23c1dc9408ae ) |
@ronnypollak thanks a lot for contributing this! Will link to this in readme. |
Would it be possible for y'all to assist me with my issue? (note: it's all resolved now; please check the reporting thread linked below for the details) |
As I faced some problems to make the demo run with WSL on Windows I want to present the steps I have followed to make it work in case anyone else is facing the same issues:
I prepared the repo locally on my Windows (clone the project, copy the weights and the demo data), then switch to the WSL and mount the direction of the project.
My steps in WSL were as follows:
apt-get install x11-xserver-utils
"could not select device driver "" with capabilities: [[gpu]]."
--> could not select device driver "" with capabilities: [[gpu]]. NVIDIA/nvidia-docker#1034
--> nvidia container toolkit (https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)
--> restart WSL session
Mount Error:
--> NVIDIA/nvidia-container-toolkit#289 (comment)
--> What I did here was:
build -t foundationpose-modified .
Thank you to @wenbowen123 for this project and for pointing to resources in other, related issues.
The text was updated successfully, but these errors were encountered: