Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

it's possbile to run multi gpu accelerate opengl application on gpus at same time? #1338

Closed
pampanelson opened this issue Jul 5, 2020 · 1 comment

Comments

@pampanelson
Copy link

I've managed to run a gpu accelerate application in docker by nvidia-tool-kit in a headless server.

1.start docker like this:
docker run --gpus device='"0"' --rm --privileged --name gpu0_vulkan -it -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):/mnt -v $(pwd)/xorg.conf.01:/etc/X11/xorg.conf opengl_vulkan_16.04_custom_0 bash

2.start application inside docker like this:
Xorg :1 & DISPLAY=:1 application (like glxinfo or vulkaninfo)

but I can run only one application on one gpu at a time, if I started another docker by specify another gpu and run an application , the output of nvidia-smi shows only one gpu is busing , if run unity built vulkan application will crash even.

Is possible to run multi direct render application on seperate gpu at same time? help needed.

Thanks

@kimown
Copy link

kimown commented Aug 13, 2020

I have same problem, How do you generate file $(pwd)/xorg.conf.01?

@elezar elezar closed this as completed Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants