Skip to content
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

RVIZ2 not using GPU #1221

Open
ryan-roche opened this issue Jun 25, 2024 · 1 comment
Open

RVIZ2 not using GPU #1221

ryan-roche opened this issue Jun 25, 2024 · 1 comment

Comments

@ryan-roche
Copy link

I'm running RVIZ2 inside a docker container with GPU enabled. The container is running on the docker engine installed inside WSL2 (I manually installed the docker engine inside the WSL2 VM as I was not able to get my GPU working with Docker Desktop on Windows).

nvidia-smi and glxgears work inside the container, so the GPU driver is properly "exposing" itself to the container. However, RVIZ runs slowly and nvidia-smi does not show it in the process list. The only process reported by nvidia-smi as using the GPU (even when RVIZ is running) is XWayland. SOS!!!

@payl-ampa
Copy link

Running Linux docker containers on Windows without WSL2 is not supported, but you appear to have solved that issue. 👍🏾

You can force an application to run using the nvidia gpu by using Nvidia's PRIME on linux. Is there a specific reason you want to run rviz in a container? If you need reproducibility it may be simpler to write a setup script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants