March 13, 20197 yr 3 hours ago, BLKMGK said: Where in Netdata are you finding this graph? I've got it passed through and can see nvidia-smi from the NetData console but cannot find this chart. I've run the command in the container etc. so I think I should be set but cannot find data in the interface. Use the script posted here and it will show up in Netdata. https://forums.unraid.net/topic/77813-plugin-linuxserverio-unraid-nvidia/?do=findComment&comment=728822
March 13, 20197 yr I posted this in the Good Deals forum but the P2000 is on sale @ Dell for $315. https://slickdeals.net/f/12919195-nvidia-quadro-p2000-gddr5-graphics-card-315-free-shipping-at-dell-sb?src=frontpage Thanks again to LSIO for the update!!!
March 13, 20197 yr On 3/10/2019 at 6:04 PM, CHBMB said: v6.6.7 and v6.7.0rc5 uploaded. If anyone pings me or @bass_rock and mentions the word Nvidia in the next week, we'll probably murder you and dispose of your body so well you'll never be discovered. It's been a slog for both of us. To say between us we've compiled this at least 50 times would be a conservative estimate, and the theories and conversations we've had have been numerous. Bottom line, we're not really sure how we got it to work for so many successive versions before hitting this wall. Hi guys, So with the new release of 6.6.7 NVIDIA. Is applying the script still necessary? I am just asking due to still having issues after I upgraded to Unraid and NVIDIA 6.6.7 and a lot of my movies are not playing when it needs to be transcoded. It seems to be ranging from 4k HEVC (x265) movies to regular 1080p x264 movies. Even playing at original quality is not working on a mobile device I know could play HEVC just fine. It would just freeze the player. Any help/guidance would be appreciated. Thank you ahead!
March 13, 20197 yr 7 minutes ago, Soldius said: Hi guys, So with the new release of 6.6.7 NVIDIA. Is applying the script still necessary? I am just asking due to still having issues after I upgraded to Unraid and NVIDIA 6.6.7 and a lot of my movies are not playing when it needs to be transcoded. It seems to be ranging from 4k HEVC (x265) movies to regular 1080p x264 movies. Even playing at original quality is not working on a mobile device I know could play HEVC just fine. It would just freeze the player. Any help/guidance would be appreciated. Thank you ahead! If direct play doesn't work, your problem is not the nvidia plugin. I don't know which script you mention, so can't answer.
March 13, 20197 yr 29 minutes ago, saarg said: If direct play doesn't work, your problem is not the nvidia plugin. I don't know which script you mention, so can't answer. Oh I was talking about this script: https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428 Thanks.
March 13, 20197 yr 2 minutes ago, Soldius said: Oh I was talking about this script: https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428 Thanks. I am also getting an error on my phone's plex "Conversion failed. The transcoder exited due to an error"
March 13, 20197 yr 9 minutes ago, Soldius said: Oh I was talking about this script: https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428 Thanks. That script (which looks familiar 😉) is a patch for Plex and is required until Plex formally release hardware decoding. Unless I've missed a big change, it has nothing to do with the Nvidia plugin (as in, the Nvidia version of Unraid has nothing to do with the apps you may be using). So, until Plex is upgraded, and you want hardware DEcoding, and you've got a Plex pass, you'll still need to run the script.
March 13, 20197 yr 2 minutes ago, Cessquill said: That script (which looks familiar 😉) is a patch for Plex and is required until Plex formally release hardware decoding. Unless I've missed a big change, it has nothing to do with the Nvidia plugin (as in, the Nvidia version of Unraid has nothing to do with the apps you may be using). So, until Plex is upgraded, and you want hardware DEcoding, and you've got a Plex pass, you'll still need to run the script. Wow, OK. Was a little confused on that. Thank you for the thorough explanation. So Plex hardware ENcoding (from unraid server) should still be working on the Nvidia plugin for 6.6.7 and unRAID 6.6.7?
March 13, 20197 yr 7 minutes ago, Soldius said: Wow, OK. Was a little confused on that. Thank you for the thorough explanation. So Plex hardware ENcoding (from unraid server) should still be working on the Nvidia plugin for 6.6.7 and unRAID 6.6.7? ENcoding should work with Unraid 6.6.7 Nvidia out the box, yes - if you've passed the card details through to Plex correctly (first / second post of this thread) and you've enabled hardware transcoding in Plex. The script just forces Plex to DEcode as well, which it doesn't officially do yet, and what does/doesn't play or why is way beyond my knowledge. (at least that's my understanding)
March 13, 20197 yr On 3/10/2019 at 6:06 AM, Xaero said: Got this working in netdata! So, don't worry about grabbing a special version, the version from Community Apps is fine. Steps to reproduce: Grab the docker from Community Apps. During the initial container install switch to advanced view, and add --runtime=nvidia to the end of the list. Add a new variable "NVIDIA_VISIBLE_DEVICES" with the value set to "all" Click done, and let the docker install. Open a console for the docker. echo "nvidia_smi: yes" >> /etc/netdata/python.d.conf Restart the docker. Enjoy. Just a quick note on this (which always trips me up) - if you're not getting it to work, manually type the commands into the docker template rather than copy/paste. That gets me every time! And to clarify - "switch to advanced view, and add --runtime=nvidia to the end of the list" means add it to the end of the "Extra Parameters" field. Got mine working now, and just spent 10 minutes wondering why all graphs were flat. Then realised that I was using Direct Play in Plex. D'OH!
March 15, 20197 yr I was able to install the plugin and get unraid Nvidia installed, after I reboot my system it hangs after this message: Freeing SMP alternatives memory: 32K I’ve disabled everything I can think of. I’m down to one processing core, one stick of ram, all PCH devices are disabled, hyperthreading disabled. Nothing gets me past that point. My system works fine with the standard version of unRAID. What am I doing wrong? Core system specs: CPU: 9980XE MB: Rampage VI Extreme Omega Cache: Samsung 970 Pro 1TB Memory: G.Skill Trident Z RGB 4x16GB DDR4-3200MHz 14-14-14-34
March 15, 20197 yr Anyone tested/gotten this plugin working with a Quadro RTX 4000? Thinking about picking one up.
March 15, 20197 yr Had it working, had to re-install plex, no I can't get the GPU to transcode. Lost my plex library, deleted docker, CA template and started fresh. Re-followed the install instructions for plex, variables etc. enabled hardware within plex menu etc... rebooted. Still can't get it to work. Testing on mobile phone, HEVC to x264 over Internet. Even playing .avi files I'm not seeing it convert like it did previously. Rebooted the server, checked nvidia plugin's there etc.... what else can I do to try and figure out why? Unraid nvidia plugin is on the rc5. Edited March 15, 20197 yr by mkyb14
March 15, 20197 yr 3 minutes ago, CHBMB said: @mkyb14 Docker run command please for Plex not super familiar with docker commands... what specifically am I doing... within the command line of unraid or console of plex, running "docker run image ID?"
March 15, 20197 yr not super familiar with docker commands... what specifically am I doing... within the command line of unraid or console of plex, running "docker run image ID?" There's a link in my signature or a post in the Docker FAQ post in the docker forumSent from my Mi A1 using Tapatalk
March 15, 20197 yr 9 minutes ago, CHBMB said: There's a link in my signature or a post in the Docker FAQ post in the docker forum Sent from my Mi A1 using Tapatalk think this is what you're asking for? Edited March 15, 20197 yr by mkyb14
March 16, 20197 yr This might be completely unrelated, but I thought I would share: I have a p2000 and I added the patch for both decode and encode. When parity check started running, I was getting random failures in plex. Sometimes it would buffer endlessly. Sometimes it would start and then stop video. Remote users were unable to view libraries. However, the moment I stopped the parity check, everything went back to normal. I wouldn't report this here, but this setup has been running fine with the same users, devices, and with parity check every month without issues for 2 years. The only new things are the patch and the latest build of unraid. I hope this is helpful. Thank you so much for all your hard work.
March 16, 20197 yr 11 hours ago, mkyb14 said: think this is what you're asking for? That looks ok, on the off chance, just delete all the nvidia params and type them in manually rather than copy/paste. I know that sounds weird, but I have a theory.
March 16, 20197 yr 10 hours ago, CHBMB said: That looks ok, on the off chance, just delete all the nvidia params and type them in manually rather than copy/paste. I know that sounds weird, but I have a theory. ok, so manually typing everything in worked.... I even made sure after pasting it in previously to delete and spacing and re-type the last letter to make sure there were no spaces... ok, back in business! Thank you.
March 17, 20197 yr 15 hours ago, CHBMB said: That looks ok, on the off chance, just delete all the nvidia params and type them in manually rather than copy/paste. I know that sounds weird, but I have a theory. I just did a first time install and transcoding was not working. Went to last page and found this suggestion. Manually typed in all the parameters in the plex docker and BAM, now up and running. Many many thanks for the hard work on this capability.
March 17, 20197 yr 8 hours ago, pilgrimHK said: I just did a first time install and transcoding was not working. Went to last page and found this suggestion. Manually typed in all the parameters in the plex docker and BAM, now up and running. Many many thanks for the hard work on this capability. Yeah I think the reason is, when people copy/paste from a code block on the forum, it adds another character that isn't visible. @SpaceInvaderOne has also noticed it, and I had encountered the issue previously from looking at the Nextcloud upgrade CLI instructions I wrote.
March 17, 20197 yr On 2/27/2019 at 9:55 PM, Xaero said: #!/bin/bash #This should always return the name of the docker container running plex - assuming a single plex docker on the system. con="`docker ps --format "{{.Names}}" | grep -i plex`" echo "" echo "<b>Applying hardware decode patch...</b>" echo "<hr>" #Check to see if Plex Transcoder2 Exists first. exists=`docker exec -i $con stat "/usr/lib/plexmediaserver/Plex Transcoder2" >/dev/null 2>&1; echo $?` if [ $exists -eq 1 ]; then # If it doesn't, we run the clause below docker exec -i $con mv "/usr/lib/plexmediaserver/Plex Transcoder" "/usr/lib/plexmediaserver/Plex Transcoder2" docker exec -i $con /bin/sh -c 'printf "#!/bin/sh\nexec /usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "\""\$@"\""" > "/usr/lib/plexmediaserver/Plex Transcoder";' docker exec -i $con chmod +x "/usr/lib/plexmediaserver/Plex Transcoder" docker exec -i $con chmod +x "/usr/lib/plexmediaserver/Plex Transcoder2" docker restart $con echo "" echo '<font color="green"><b>Done!</b></font>' #Green means go! else echo "" echo '<font color="red"><b>Patch already applied or invalid container!</b></font>' #Red means stop! fi Is there a quick script to reverse this? Not really a linux guy and I want to remove it for testing. Edit: Ok i'm dumb. Editing any property on the docker container seems to reset the patch. Edited March 17, 20197 yr by fr0stbyt3
March 17, 20197 yr 33 minutes ago, fr0stbyt3 said: Is there a quick script to reverse this? Not really a linux guy and I want to remove it for testing. Edit: Ok i'm dumb. Editing any property on the docker container seems to reset the patch. Yep - just force an update of the docker to reset it to stock.
March 18, 20197 yr 12 hours ago, fr0stbyt3 said: Is there a quick script to reverse this? Not really a linux guy and I want to remove it for testing. Edit: Ok i'm dumb. Editing any property on the docker container seems to reset the patch. I'd also suggest using the copy on the gist I linked:https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428 It checks for a couple of things that could happen now. Like if you start a VM with the card passed through with the old version, all transcodes would stop working until the VM was stopped. Now it will simply fall back on CPU decoding. It also ignores files that use the mpeg4 AVI container, as they have problems with the ffmpeg build used by plex thus far. And yeah, force update, or changing any property of the docker will use a fresh copy of the docker, making this very easy to rollback from.
Archived
This topic is now archived and is closed to further replies.