July 21, 20197 yr 1 hour ago, andy harris said: hi having a few issues getting transcending to work with plex setup p400 unraid 6.7.2 unraid nvidia plex parameters everything looks like it OK adding the parameters passes but no matter what i do i get get streams to encode via gpu they are all using the cpu (i know this barbecue cpu usage goes through the roof any help would be appreciated Do you have plex pass? And did you add the --runtime=Nvidia to the extra parameters box?
July 21, 20197 yr 44 minutes ago, saarg said: Do you have plex pass? And did you add the --runtime=Nvidia to the extra parameters box? yes and yes
July 21, 20197 yr 14 minutes ago, andy harris said: yes and yes is this variable correct? seems like it isn't.
July 21, 20197 yr 2 minutes ago, j0nnymoe said: is this variable correct? seems like it isn't. sorry must have been one of the many time i have tried from scratch to get it working it does read the correct value still does not work it just seams to send cpu usage through the roof and nothing in nvidia-smi
July 21, 20197 yr I also suppose that you check the Plex server settings to add the checkbox in the « use hardware to transcode » or something like that in the transcoder settings ?
July 21, 20197 yr 18 minutes ago, andy harris said: sorry must have been one of the many time i have tried from scratch to get it working it does read the correct value still does not work it just seams to send cpu usage through the roof and nothing in nvidia-smi Are you copy/pasting stuff from the forum to setup these variables? that can cause issues.
July 21, 20197 yr 4 hours ago, j0nnymoe said: Are you copy/pasting stuff from the forum to setup these variables? that can cause issues. right like i have sort of fixed it plex will now trans code via the p400 but i am still getting cpu usage through the roof (is that normal) i was expecting it to lower my cpu usage i have no idea what i did different i just deleted the packages and started again Edited July 21, 20197 yr by andy harris
July 21, 20197 yr 5 hours ago, andy harris said: right like i have sort of fixed it plex will now trans code via the p400 but i am still getting cpu usage through the roof (is that normal) i was expecting it to lower my cpu usage i have no idea what i did different i just deleted the packages and started again That's because plex doesn't take full advantage of the GPU yet, it only uses NVENC, not NVDEC. So the decoding get's done via the CPU. Plus audio is done via the CPU too.
July 23, 20197 yr Has anyone been able to get this ti work running unsaid as a VM in esxi? I have a 1600ti card that i installed put in pass through mode added it to unraid. I boot fine but I am getting "Unable to determine the device handle for GPU 0000:0B:00.0: Unknown Error" . researching this out says to edit the VM and add hypervisor.cpuid.v0 = "FALSE", and then unraid boots extremely slow and then fails fails to fully boot. Anyone have any pointers?
July 23, 20197 yr 6 minutes ago, dertbv said: Has anyone been able to get this ti work running unsaid as a VM in esxi? I have a 1600ti card that i installed put in pass through mode added it to unraid. I boot fine but I am getting "Unable to determine the device handle for GPU 0000:0B:00.0: Unknown Error" . researching this out says to edit the VM and add hypervisor.cpuid.v0 = "FALSE", and then unraid boots extremely slow and then fails fails to fully boot. Anyone have any pointers? Pretty sure someone else had this same issue before. Search the thread.
July 24, 20197 yr Just a quick stop in to say THANKS to LSIO folks and @CHBMB for this. I installed it last night and used an old 1GB gt 710 with plex. Seems to be working without issue even though Nvidia-smi: Never shows a process (but it is working because the reported temp changes on the gpu and cpu load is less Power used doesn't ever change from N/A seems stuck at P0 but it's a 19 watt card, so, I guess thats ok Using this old cheap card GPU took my ml30 get 9 from pegging 3 threads at 100% for about 2 minutes to transcode while creating a buffer to about 50 seconds of pegging 2 threads to transcode while creating a buffer. For fun I added the nvdec script and now a single thread never pushes above 25%, there is essentially no buffer lag meaning near instantaneous playback of transcodes, and it only uses about 200MB of the cards onboard ram. If you're using this in a home environment with only 1-2 transcodes anticipated, I don't see why you would need anything more powerful. It's a very economical and effective implementation of hw transcoding in plex.
July 26, 20197 yr like 99.99% of others reading this thread that haven't yet installed this, I have a working Unraid system already. I'm thinking of using this "Nvidia Unraid" option so I can add a Nvidia Quadro P2000 so I can get hardware decoding for plex which runs in a docker. Is there a pointer in how to migrate my system while keeping my array, etc? My understanding is you have to do a clean install of this and can't "upgrade" from a normal unraid setup to this. I just re-read the top of the thread and realized that this looks incredibly simple. I just install the "Nvidia Unraid" plugin, then choose the 6.7.2 version to install from the plugin settings and it downloads and installs?!? That seems way too easy i'm skeptical. Is this correct? Also, is there any hard in installing this ahead of getting my P2000, or shoudl i wait to get that, install it, then install Nvidia Unraid? Edited July 26, 20197 yr by tmchow
July 26, 20197 yr @tmchow it upgrades your current system from the pluping page, everything will be as it is when it rebooted but with the nvidia drivers installed, also plex only encodes videos using nvenc it still uses the cpu to decode videos, i believe emby uses full dec/enc. there is a script for nvdec but it has been know to be buggy, i had tried it and crashed my system twice with it before i stopped using it
July 26, 20197 yr 5 minutes ago, fr05ty said: @tmchow it upgrades your current system from the pluping page, everything will be as it is when it rebooted but with the nvidia drivers installed, also plex only encodes videos using nvenc it still uses the cpu to decode videos, i believe emby uses full dec/enc. there is a script for nvdec but it has been know to be buggy, i had tried it and crashed my system twice with it before i stopped using it since this is a plex server, the decoding isn't relevant is it? Or am i wrong here.
July 26, 20197 yr 3 hours ago, fr05ty said: @tmchow it upgrades your current system from the pluping page, everything will be as it is when it rebooted but with the nvidia drivers installed, also plex only encodes videos using nvenc it still uses the cpu to decode videos, i believe emby uses full dec/enc. there is a script for nvdec but it has been know to be buggy, i had tried it and crashed my system twice with it before i stopped using it Conversely, I've not had any issues running the Plex script at all (touch wood). 3 hours ago, fr05ty said: if you are transcoding the video yes, direct play no Presumably if one is always using direct play, the Nvidia card would be redundant, no? Your assumptions are correct - it's an easy install - install plugin, select version, install customised Unraid, reboot. Unraid will look and feel exactly the same. To my knowledge there's no harm installing it without a card, but there's also not much point.
July 26, 20197 yr On 5/4/2019 at 6:13 AM, maxse said: Hey guys, I need some pleaseeee! So I jumped on a Dell sale for a p2000 about a month ago and just didn't have a chance to set it up with unraid although I did install it into my server. Well I followed the instructions and I can't get the plugin to recognize it. "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. " I then typed lspci -v, and it wasn't even listed, so unraid doesn't see the card? I went into the BIOS on my relatively new motherboard that I just bought, and it was already set to use the PCIE as the main graphics card and multimonitor was set to disabled (I currently have an i8400 and was using the igpu to transcode before. Even doing this, still the same result... The fan on the card itself is spinning so I'm assuming that means the card is getting power? Could it be something wrong with my motherboard when both PCI slots are being used? (I'm using an IBM m1015 flashed to IT). I'm not sure what all this means. I would really appreciate some help guys. I'm running an ASRock H370M Pro4 board if that helps with the most recent BIOS I faced similar issue but I solved it. In my case, its a supermicro motherboard, and the motherboard was considering GPU as primary onboard card. No matter what I did, nothing could've solved the issue. After a while, I removed all the cards (GPU, HBA, NIC, etc.) off the motherboard and updated bios (reflashed it) and unchecked all preserve options. The issue disappeared. GPU is working and drivers are recognized. Maybe you should try this too?
July 28, 20197 yr Had issues with upgrading before (breaks Plex with driver 430.14 on my GTX 760 ti). I decided to give it another shot, and finding the same issue. Doing some digging, inside the plexinc/pms-docker:plexpass PlexMediaServer console doing echo on $NVIDIA_VISIBLE_DEVICES shows correctly and correlates to the right GPU. Nvidia-smi also displays the following: -----------------------------------------------------------------------------+ | NVIDIA-SMI 430.14 Driver Version: 430.14 CUDA Version: 10.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 760 Off | 00000000:01:00.0 N/A | N/A | | 0% 39C P0 N/A / N/A | 0MiB / 4036MiB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+ # nvidia-smi -L GPU 0: GeForce GTX 760 (UUID: GPU-0d08588b-ca46-2038-8a4a-e153e77972e6) # echo $NVIDIA_VISIBLE_DEVICES GPU-0d08588b-ca46-2038-8a4a-e153e77972e6 When trying to load any 4k video streams in Chrome via Plex (knowing it will require transcoding) it fails to load stating: An error occurred trying to play "XXXXXX". Error code: s1002 (Network) My TV that is left up also appears to flash, or reload, the screen every time I do this on the laptop. Going into the Plex settings and unchecking 'Use hardware acceleration when available' fixes the issue, but then I'm not using the GPU for transcoding and relying on my old 4790k processor. Any suggestions for debugging this? It works until I upgrade Unraid (really would prefer moving forward than staying unpatched). No configuration settings are changed. I verified the extra parameters are set as well. I am running the 'beta' version of Plex with the current installation being Version 1.16.3.1433 Edited July 28, 20197 yr by jbreed
July 28, 20197 yr 9 hours ago, jbreed said: Had issues with upgrading before (breaks Plex with driver 430.14 on my GTX 760 ti). I decided to give it another shot, and finding the same issue. Doing some digging, inside the plexinc/pms-docker:plexpass PlexMediaServer console doing echo on $NVIDIA_VISIBLE_DEVICES shows correctly and correlates to the right GPU. Nvidia-smi also displays the following: -----------------------------------------------------------------------------+ | NVIDIA-SMI 430.14 Driver Version: 430.14 CUDA Version: 10.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 760 Off | 00000000:01:00.0 N/A | N/A | | 0% 39C P0 N/A / N/A | 0MiB / 4036MiB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+ # nvidia-smi -L GPU 0: GeForce GTX 760 (UUID: GPU-0d08588b-ca46-2038-8a4a-e153e77972e6) # echo $NVIDIA_VISIBLE_DEVICES GPU-0d08588b-ca46-2038-8a4a-e153e77972e6 When trying to load any 4k video streams in Chrome via Plex (knowing it will require transcoding) it fails to load stating: An error occurred trying to play "XXXXXX". Error code: s1002 (Network) My TV that is left up also appears to flash, or reload, the screen every time I do this on the laptop. Going into the Plex settings and unchecking 'Use hardware acceleration when available' fixes the issue, but then I'm not using the GPU for transcoding and relying on my old 4790k processor. Any suggestions for debugging this? It works until I upgrade Unraid (really would prefer moving forward than staying unpatched). No configuration settings are changed. I verified the extra parameters are set as well. I am running the 'beta' version of Plex with the current installation being Version 1.16.3.1433 Your GPU doesn't support 4k hvec transcoding. https://developer.nvidia.com/video-encode-decode-gpu-support-matrix
July 29, 20197 yr On 2/11/2019 at 9:11 PM, MowMdown said: Just go to the docker screen, click at the bottom "add container" click your plex template and change the the name of the container to Plex(iGPU) and then just edit the parameters to the iGPU settings. Now you can have two containers with each gpu hardware transcoding capability. For some reason this dosent work anymore having two different dockers running? 1) Plex GPU (Works perfectly with the Nvidia P2000) 2) *Plex iGPU (But for some reason the iGPU have stopped working all is CPU transcoding) *I Use this when I have to use the GPU for my VM, stop one start the other one I saw someone in a different post saying that it was necessary to also define a video device in the docker conf. Like this with the: I still have the same GO changes like before... So have anything else changed? (Some time since I startet the iGPU version up 🙂
August 1, 20197 yr On 7/28/2019 at 3:26 AM, saarg said: Your GPU doesn't support 4k hvec transcoding. https://developer.nvidia.com/video-encode-decode-gpu-support-matrix hmm makes sense. What doesn't make sense is that it worked on 6.7.0 with 418.56 drivers and breaks when going to 6.7.1 or 6.7.2.
August 1, 20197 yr 3 hours ago, jbreed said: hmm makes sense. What doesn't make sense is that it worked on 6.7.0 with 418.56 drivers and breaks when going to 6.7.1 or 6.7.2. Change in the driver I suspect.
August 3, 20197 yr Hi everyone, I know it was mentioned to not discuss the nvidia decode scripts here, but I don't see another topic that covers this. I setup my new GPU (GTX 1660) and have added it to my Plex docker. When I enable hardware transcoding, I can see it is using the GPU to encode properly. I then tried the script here - Unraid Decode Script - and it appears to work correctly. I can see the patch in the container, as well as the new "Plex Transcoder" file (which has both h264 and hevc in the allowed codecs). The output from running the script says it applied successfully. But, when I try to transcode any h264 files, I still only see the hw for encoding and the CPU starts ramping up do to the decode. I also used top during a transcode and I see Plex Transcoder is being used, not Plex Transcoder2 (original). I've tried restarting the container, force updating the container and running the script again, reboot unraid server, etc but no luck. Any idea where I am going wrong? *Correction* Running nvidia-smi dmon -s u shows dec being used, but I do not see the decode hw in the Plex monitoring. Is that normal? Also, is CPU usage still supposed to be high? Thanks! Edited August 3, 20197 yr by MandalorePatriot
August 3, 20197 yr Hi everyone, I know it was mentioned to not discuss the nvidia decode scripts here, but I don't see another topic that covers this.If it was said not to discuss it here, why not create a new topic?
August 3, 20197 yr 18 minutes ago, tmchow said: If it was said not to discuss it here, why not create a new topic? And where would I create said topic that asks for help about a specific script that only applies to this plugin?
Archived
This topic is now archived and is closed to further replies.