Badboy
-
Posts
218 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Everything posted by Badboy
-
Hi,
Did you ever find a solution to this problem? It is driving me crazy!
Just happen to see your post, and I think I have a similar issue. I have a Nvidia p2200, Plex uses it. I just recently setup Fileflows for compressing my library What happens is Fileflows will use the GPU for a while, and all of a sudden it will just switch solely to the CPU. The only way I can get Fileflows to read the GPU again is to downgrade or upgrade the Nvidia driver and reboot. This caused a lot of issues setting up Fileflows, because I thought I was doing it wrong. LOL...For some reason decided to change the drivers, that's how I figured out something was wrong. After seeing your post I think Unraid is to blame.
- Show previous comments 1 more
-
Sorry, I thought I was already linking to it.
MULTIPLE CONTAINERS UNABLE TO SHARE A GPU IN 6.10?https://forums.unraid.net/topic/123930-multiple-containers-unable-to-share-a-gpu-in-610/#comment-1130041
-
I had similar issues with Plex and unmanic for a while. I set this script to start with the array and it runs in the back ground. What it does is it stops unmanic when Plex is using the GPU.
#!/bin/bash # Check if nvidia-smi daemon is running and start it if not. if [[ `ps ax | grep nvidia-smi | grep daemon` == "" ]]; then /usr/bin/nvidia-smi daemon fi sleep 300 # Wait until array is online and all dockers are started. Comment this out if you are testing the script. UNMANIC=`docker container ls -q --filter name=unmanic` while true; do if [[ `/usr/bin/nvidia-smi | grep Plex` == "" ]]; then # If Plex is not transcoding, start the unmanic container if it is not running. if [[ `docker ps | grep $UNMANIC` == "" ]]; then echo "No Plex, starting unmanic." docker start $UNMANIC fi else # If Plex is transcoding, stop the unmanic container if it is running. if [[ `docker ps | grep $UNMANIC' != "" ]]; then echo "Plex running, stopping unmanic." docker stop $UNMANIC fi fi sleep 1 done
It's not ideal, but it seems to have solved the issue. I was running another copy of this for t-Rex miner at one point and it seems nvidia killed mining on the LHR card all together.
-
I started with unmanic, but I couldn't get the GPU to work. Now I know why. Sort of glad it happened because I came across FileFlows, works really well when my card stays connected LOL. I have pushed the card a little to 7 encodes at a time. Works great. Don't know if you have tried FileFlows, might be worth a look. Thanks for getting back to me. Much appreciated.