alitech Posted May 14, 2020 Share Posted May 14, 2020 Hi guys Trying to find an answer to this but I have failed so far. I want to figure out if I can share a GPU amongst dockers. The scenario: I want to run Plex (which uses hardware transcoding) and Blue Iris IP Camera software which also uses hardware transcoding on either VMs or Dockers. I would like to know if there is a possibility to share the GPU with 2 different dockers or 2 different VMs. I have been running these applications on a single Windows 10 machine so far and they share the GPU load from what I can tell. I want to migrate these to Unraid and make them isolated from each other in either dockers or VMs. I plan to use a Quadro P2000 card for this. If there is a possibility to share the GPU amongst dockers, then that is awesome and I could go about and set it up that way. Alternatively, if the GPU cant be shared, I could always have a single VM, slap windows on it and run both Plex and Blue Iris on the same VM so they share the GPU as before. Thoughts and advice would be highly appreciated. Quote Link to comment
alturismo Posted May 14, 2020 Share Posted May 14, 2020 (edited) you can use a gpu simultan either unraid (dockers, also more then 1 like plex, emby, ... at the same time) or each VM means, 1 gpu for docker(s), a sep. GPU for each running VM sample usecase 3 gpu´s - intel igpu for dockers (plex, emby, tvheadend, ....) - Nvidia GT1030 for VM1 (running) - Nvidia GTX1070 for VM2 (running) what doesnt work, using a gpu from a running VM for anything else, not for docker(s), not for another VM. u can of course make 2 VM's using the same GPU, but NOT at the same time, so either VM1 OR VM2 using it ... or Docker(s) using it (VM wont boot while assigned gpu is in use by another VM or Dockers, Dockers wont use hw transcode when gpu is in use by VM) Edited May 14, 2020 by alturismo more infos Quote Link to comment
alitech Posted May 14, 2020 Author Share Posted May 14, 2020 Ok @alturismo, It seems like I will have to create a single Windows VM and run both applications that will need the single GPU. I dont have space for a separate GPU on my Mobo, just a single GPU is all I can do. I was thinking P2000 for both Plex and Blue Iris. If anyone has dealt with a similar scenario, please share your experiences. Thank you Quote Link to comment
gtroyp Posted July 8, 2020 Share Posted July 8, 2020 Very big grain of salt because I am searching the forums for answers to my GPU passthrough to my plex docker, BUT, from what I have read, dockers can share GPU's and be used concurrently, only limited by the session limit of the GPU, and for you and that lovely P2000, that's not an issue. If I am wrong, somebody set me straight. Quote Link to comment
alturismo Posted July 8, 2020 Share Posted July 8, 2020 @gtroyp like described, docker(s) = also multiply dockers can use 1 gpu simultan. Quote Link to comment
gtroyp Posted July 8, 2020 Share Posted July 8, 2020 6 minutes ago, alturismo said: @gtroyp like described, docker(s) = also multiply dockers can use 1 gpu simultan. Ok. now if I could just get it to work with one (plex) I'll be all set. lol Quote Link to comment
Riverfrome Posted January 22, 2021 Share Posted January 22, 2021 Hello Gents, Sorry to come in again on this but i still was not sure... My use case is i have a Nvidia P2000 assigned to plex but i now would like to ALSO use Emby... can i assign both plex and emby on the same GPU? and they would both be able to trans-code at the same time?> Thanks Quote Link to comment
alturismo Posted January 22, 2021 Share Posted January 22, 2021 22 minutes ago, Riverfrome said: Hello Gents, Sorry to come in again on this but i still was not sure... My use case is i have a Nvidia P2000 assigned to plex but i now would like to ALSO use Emby... can i assign both plex and emby on the same GPU? and they would both be able to trans-code at the same time?> Thanks 2 posts upper yours, yes ... 1 gpu for docker(s), 1 gpu for each VM (so each vm needs its own gpu on passthrough and cant be assigned to dockers or another vm) 1 Quote Link to comment
Riverfrome Posted January 24, 2021 Share Posted January 24, 2021 Thanks man... Like it was posted before, it's hard to find the answer... And sometimes it's good to just try stuff out on unraid and other times it's good to ask that stupid question.... "There is no such thing as stupid questions, unless you ask it twice" Confirmed 1 GPU can be used for multiple dockers. Quote Link to comment
Michael Ganrer Posted March 31, 2022 Share Posted March 31, 2022 Will someone just make a Blue Iris docker already!!!! Quote Link to comment
TRusselo Posted July 23, 2022 Share Posted July 23, 2022 blueiris runs fine on CPU. been doing it for years. i run BI in a windows 10 VM on unraid using 6 cores of my unraid server, it could run on 4 cores but i have a threadripper I used to run BI on a weaker system too. my 6 core VM runs 6 cameras. and hums below 30% cpu usage. my GPU is for emby. and LOVE it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.