NMGMarques Posted July 22, 2020 Share Posted July 22, 2020 Hi all. New to unRAID and even newer to Docker. And a total absolute wet ass newb when it comes to PLex HW transcoding using the NVIDIA cards. Just setup a new "server" last week and finally have working shares and Plex is running. Now I am trying to get the GPU to work as encoder / decoder using the instructions from the OP and also from this tutorial here: I managed to get as far as to see some decoding happening, but no transcoding. Here's a shot of my GPU when running video, as well as my docker settings: https://imgur.com/a/1NzfYbJ Things I have noticed: I renamed the Plex Transcoder file to Plex Transcoder2 as suggested and nano'd the new Plex Transcoder file. chmod was performed. However as you can see in the processes, the Plex Transcoder2 seems to be used and not the Plex Transcoder. Also, sometimes it simply doesn't touch the GPU and I see zero processes and zero usage for either edcoding or encoding. When playing some files, from time to time it will use the GPU to decode, but never to encode. My CPU gets pegged at high 80's most of the time. Can anyone help me troubleshoot? Link to comment
david279 Posted July 22, 2020 Share Posted July 22, 2020 5 minutes ago, NMGMarques said: Hi all. New to unRAID and even newer to Docker. And a total absolute wet ass newb when it comes to PLex HW transcoding using the NVIDIA cards. Just setup a new "server" last week and finally have working shares and Plex is running. Now I am trying to get the GPU to work as encoder / decoder using the instructions from the OP and also from this tutorial here: I managed to get as far as to see some decoding happening, but no transcoding. Here's a shot of my GPU when running video, as well as my docker settings: https://imgur.com/a/1NzfYbJ Things I have noticed: I renamed the Plex Transcoder file to Plex Transcoder2 as suggested and nano'd the new Plex Transcoder file. chmod was performed. However as you can see in the processes, the Plex Transcoder2 seems to be used and not the Plex Transcoder. Also, sometimes it simply doesn't touch the GPU and I see zero processes and zero usage for either edcoding or encoding. When playing some files, from time to time it will use the GPU to decode, but never to encode. My CPU gets pegged at high 80's most of the time. Can anyone help me troubleshoot? You do not have to do anything in that video anymore. Plex added support for encode/decode a while back. You just need to add the gpu variables to the docker and turn on hardware support in the plex settings. Link to comment
NMGMarques Posted July 22, 2020 Share Posted July 22, 2020 57 minutes ago, david279 said: You do not have to do anything in that video anymore. Plex added support for encode/decode a while back. You just need to add the gpu variables to the docker and turn on hardware support in the plex settings. You mean I only need to copy the GPU UUID? Link to comment
david279 Posted July 22, 2020 Share Posted July 22, 2020 (edited) Do everything from post #2. You do not have to make changes to that transcoder file. Add the extra paramater, the UUID and the other variables in post #2. This is how mine looks. Edited July 22, 2020 by david279 Link to comment
lytener Posted July 22, 2020 Share Posted July 22, 2020 11 hours ago, trurl said: Are you getting the Unraid boot menu? Thanks for responding. I was able to fix it with a new Unraid install using the legacy method. I reinstalled Unraid like 10x using the USB Creator. Definitely buggy on both Windows and MacOS. Between that and replacing the flash drive, my issue is resolved now and I got pretty much everything running ✅ Link to comment
ytddewqf Posted July 29, 2020 Share Posted July 29, 2020 (edited) Hello all, Firstly, thank you for another great release, unRaid just keeps getting better and better. I have PLEX, an MSI Nvidia 760 GTX and followed Spaceinvader's youtube tutorial and everything seemed to go well. My issue however is that when I am transcoding a video, the "watch nvidia-smi" command shows the below output. I've also included screenshots of my docker settings, I hope someone can point me in the right direction. Many thanks. ***Edit*** To complicate matters, I've just run command "nvidia-smi dmon -s u" and received the following message; Edited July 29, 2020 by LoneTraveler Link to comment
saarg Posted July 30, 2020 Share Posted July 30, 2020 12 hours ago, LoneTraveler said: Hello all, Firstly, thank you for another great release, unRaid just keeps getting better and better. I have PLEX, an MSI Nvidia 760 GTX and followed Spaceinvader's youtube tutorial and everything seemed to go well. My issue however is that when I am transcoding a video, the "watch nvidia-smi" command shows the below output. I've also included screenshots of my docker settings, I hope someone can point me in the right direction. Many thanks. ***Edit*** To complicate matters, I've just run command "nvidia-smi dmon -s u" and received the following message; Your card isn't support by the nvidia-smi tool. As long as you see hardware transcode in the movie playing in the activity section, it works. 1 Link to comment
ytddewqf Posted July 30, 2020 Share Posted July 30, 2020 5 hours ago, saarg said: Your card isn't support by the nvidia-smi tool. As long as you see hardware transcode in the movie playing in the activity section, it works. Many thanks for clarifying for me. I checked and it does say HW, so it must be working. Thanks again. Link to comment
flamegrilled Posted July 30, 2020 Share Posted July 30, 2020 I have a GT 730 model. Tried 6.83 and 6.82 versions and it does not show up on the plugin page after install and a reboot. The nvidia driver link page shows support for the card. Card too old or am I doing something wrong? Do I fall in to the old card category? IOMMU group 20:[10de:0f02] 03:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 730] (rev a1) [10de:0bea] 03:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1) IOMMU group 21:[10de:0f02] 01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 730] (rev a1) [10de:0bea] 01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1) Link to comment
Hoopster Posted July 30, 2020 Share Posted July 30, 2020 (edited) 7 hours ago, flamegrilled said: Card too old or am I doing something wrong? Do I fall in to the old card category? According to this chart of compatible cards, yes, the GT 730 is too old. At least a GTX 1050 is required. A GT 1030 will support decode only. Click on the complete list buttons to see all cards. Edited July 30, 2020 by Hoopster 1 Link to comment
JesterEE Posted July 30, 2020 Share Posted July 30, 2020 (edited) 3 hours ago, Hoopster said: According to this chart of compatible cards, yes, the GT 730 is too old. At least a GTX 1050 is required. A GT 1030 will support decode only. @Hoopster is right. If you had a Kepler based 730 instead of a Fermi 730, it would do some NVENC and NVDEC, but your card is a generation too old. Note the GF108 instead of GK208. Edited July 30, 2020 by JesterEE 1 Link to comment
DieFalse Posted July 30, 2020 Share Posted July 30, 2020 I have been loving Plex transcoding with my P1000 card, until today. I rebooted my server and Plex docker will not start. It halts at the nvidia card startup portion. docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "process_linux.go:432: running prestart hook 0 caused \"error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: cuda error: no cuda-capable device is detected\\n\""": unknown. The command failed. I have reinstalled the kernel drivers, checked the GPU UUID and rebuilt the docker from scratch. It will not start. Link to comment
Mikevipe Posted August 9, 2020 Share Posted August 9, 2020 (edited) Hello, I am running Unraid 6.8.3, I have installed the Unraid Nvidia plugin and installed the Nvidia 6.8.3. I have an onboard video card set in my bios as the default for Unraid. I have a second GT 710 installed which I am wanting to use for PLEX. I do not have any other VM trying to access the video card and my syslinux.cfg is stock. Unraid Nvidia has driver version 440.59 installed and that version shows compatibility with my GT 710. After rebooting the Unraid Nvidia settings show the following Nvidia Driver Version: 440.59 GPU 0 Model & BUs: No devices were found nvidia-smi: Unable to determine the device handle for GPU 0000:07:00.0: Unknown Error lspci -k shows: 07:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1) Subsystem: ZOTAC International (MCO) Ltd. GK208 [GeForce GT 710B] Kernel driver in use: nvidia Kernel modules: nvidia_drm, nvidia 07:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1) Subsystem: ZOTAC International (MCO) Ltd. GK208 HDMI/DP Audio Controller The only other errors I noticed in dmesg/syslog is: Aug 9 09:26:39 UNRAID kernel: NVRM: GPU 0000:07:00.0: RmInitAdapter failed! (0x23:0x56:515) Aug 9 09:26:39 UNRAID kernel: NVRM: GPU 0000:07:00.0: rm_init_adapter failed, device minor number 0 Aug 9 09:26:39 UNRAID kernel: NVRM: GPU 0000:07:00.0: RmInitAdapter failed! (0x23:0x56:515) Aug 9 09:26:39 UNRAID kernel: NVRM: GPU 0000:07:00.0: rm_init_adapter failed, device minor number 0 I know the video card works as it was previously the primary display card for my server. Also for reference I have tried booting UEFI as well as Legacy with no difference. Attached is my diagnostics. unraid-diagnostics-20200809-1646.zip Edited August 9, 2020 by Mikevipe Link to comment
saarg Posted August 10, 2020 Share Posted August 10, 2020 6 hours ago, Mikevipe said: Hello, I am running Unraid 6.8.3, I have installed the Unraid Nvidia plugin and installed the Nvidia 6.8.3. I have an onboard video card set in my bios as the default for Unraid. I have a second GT 710 installed which I am wanting to use for PLEX. I do not have any other VM trying to access the video card and my syslinux.cfg is stock. Unraid Nvidia has driver version 440.59 installed and that version shows compatibility with my GT 710. After rebooting the Unraid Nvidia settings show the following Nvidia Driver Version: 440.59 GPU 0 Model & BUs: No devices were found nvidia-smi: Unable to determine the device handle for GPU 0000:07:00.0: Unknown Error lspci -k shows: 07:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1) Subsystem: ZOTAC International (MCO) Ltd. GK208 [GeForce GT 710B] Kernel driver in use: nvidia Kernel modules: nvidia_drm, nvidia 07:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1) Subsystem: ZOTAC International (MCO) Ltd. GK208 HDMI/DP Audio Controller The only other errors I noticed in dmesg/syslog is: Aug 9 09:26:39 UNRAID kernel: NVRM: GPU 0000:07:00.0: RmInitAdapter failed! (0x23:0x56:515) Aug 9 09:26:39 UNRAID kernel: NVRM: GPU 0000:07:00.0: rm_init_adapter failed, device minor number 0 Aug 9 09:26:39 UNRAID kernel: NVRM: GPU 0000:07:00.0: RmInitAdapter failed! (0x23:0x56:515) Aug 9 09:26:39 UNRAID kernel: NVRM: GPU 0000:07:00.0: rm_init_adapter failed, device minor number 0 I know the video card works as it was previously the primary display card for my server. Also for reference I have tried booting UEFI as well as Legacy with no difference. Attached is my diagnostics. unraid-diagnostics-20200809-1646.zip 78.26 kB · 0 downloads Most likely hardware incompatibility. Try updating the bios or change the slot of the card. The card doesn't support much anyway, so I would buy a card that you can use. It only supports h264 4:2:0 Link to comment
Mike Howles Posted August 10, 2020 Share Posted August 10, 2020 (edited) Sorry if this has been answered recently, but searching hasn't given me anything too helpful. I have been using this plugin with no problem with my GTX 1080s, however I have a second Unraid build that I'd like to use an Nvidia Tesla K80 that I picked up for some machine learning use cases. Since this plugin did not seem to have an option/driver for Tesla GPUs from what I could see, I was wondering if there is a manual process to install the Tesla driver after installing the plugin? I've tried passing through the GPU to a Ubuntu VM however I'm having other driver install issues there (probably user error on my part) so I was just wondering if it was feasible to do in Unraid with any manual steps. Basically I just want to run some stuff in Docker containers, whether that be direct in Unraid's Docker or a VM with PCIe pass through. Anyone got any experience getting a Tesla to work in either approach in Unraid? EDIT: Just an update, the 'regular' NVidia drivers worked. My problem was that I was using an old motherboard/CPU that did not support IOMMU for PCIE passthrough. A new motherboard and CPU solved this. Edited August 25, 2020 by Mike Howles Link to comment
rojarrolla Posted August 11, 2020 Share Posted August 11, 2020 Hi, how can I passthrough my Nvidia card to ShinobiPro Docker ? Link to comment
Conson Droppa Posted August 12, 2020 Share Posted August 12, 2020 On 8/11/2020 at 10:41 AM, rojarrolla said: Hi, how can I passthrough my Nvidia card to ShinobiPro Docker ? It is explained in the second post on the ShinobiPro Support Thread. Also, (I know you didn't ask this but...) a Gpu can be assigned to a VM 'or' to Docker(s). Yes multiple dockers at once. And also to answer your question, you add the same parameters to the docker edit page as you would on Plex. 1 Link to comment
rojarrolla Posted August 13, 2020 Share Posted August 13, 2020 8 hours ago, rmeaux said: It is explained in the second post on the ShinobiPro Support Thread. Also, (I know you didn't ask this but...) a Gpu can be assigned to a VM 'or' to Docker(s). Yes multiple dockers at once. And also to answer your question, you add the same parameters to the docker edit page as you would on Plex. I can only say: Thank you, Thank you, Thank you!!! I Knew Edward was after this but I had not found it yet! Let me see If I can configure it ASAP!! Cheers! Link to comment
Mikevipe Posted August 14, 2020 Share Posted August 14, 2020 On 8/9/2020 at 11:24 PM, saarg said: Most likely hardware incompatibility. Try updating the bios or change the slot of the card. The card doesn't support much anyway, so I would buy a card that you can use. It only supports h264 4:2:0 The problem is I am limited to only (2) PCIE x1 slots. My other two slots are occupied by a raid card and 10gige card to serve the network file shares. Do you know any other x1 cards? I was unable to find any. I could dremmel out the back of the x1 slot and put in a later card I suppose. I suppose it would be better than no card even if it is scaling down. Link to comment
tjb_altf4 Posted August 15, 2020 Share Posted August 15, 2020 18 hours ago, Mikevipe said: The problem is I am limited to only (2) PCIE x1 slots. My other two slots are occupied by a raid card and 10gige card to serve the network file shares. Do you know any other x1 cards? I was unable to find any. I could dremmel out the back of the x1 slot and put in a later card I suppose. I suppose it would be better than no card even if it is scaling down. Do you happen to have any spare m.2 slots ? You can get adapters to from m.2 to PCIE x4 slot (direct mount or with riser) Link to comment
TheSkaz Posted August 17, 2020 Share Posted August 17, 2020 is it possible to pass the primary GPU (nvidia 1070) to dockers? specifically plex. It sometimes will show up here: but most of the time it doesnt. my system has 2x 1070 cards in it. running the new beta25 version. Link to comment
S3ppo Posted August 18, 2020 Share Posted August 18, 2020 (edited) Hi all, i am running a 1050ti, but since i installed the nvidia driver, the fan is really fast/loud.. in idle when nothing happens the fan runs at around 49% .. is there a way to control it? best regards s3ppo Edited August 18, 2020 by S3ppo Link to comment
Iker Posted August 19, 2020 Share Posted August 19, 2020 20 hours ago, S3ppo said: Hi all, i am running a 1050ti, but since i installed the nvidia driver, the fan is really fast/loud.. in idle when nothing happens the fan runs at around 49% .. is there a way to control it? best regards s3ppo Unfortunately no, i ran into the same problem, but the drivers included in the kernel do not allow you to control the fan, it requires another tool that although is present it cannot run properly because of the lack of and x server. Link to comment
SpuddyUK Posted August 21, 2020 Share Posted August 21, 2020 (edited) Is anyone able to assist with a P2000 that seems to want to stay in a P0 power state even when no transcoding in occurring? If I run the command nvidia-smi --persistence-mode=1 Then restart Plex container, it seems to put the card in P8, then P0 when transcoding but the transcoder crashes after about 5 seconds ending the playback? Therefore I have to put back to nvidia-smi --persistence-mode=0 and restart Plex container to get transcoding to work stable again. But stuck at P0 always, transcoding or not.. nvidia unRAID6.9.0 b25 It's not a huge issue, but I note I should be able to get idle card usage down from 17W to around 8W. Edited August 21, 2020 by SpuddyUK Link to comment
isvein Posted August 22, 2020 Share Posted August 22, 2020 How much pci-e bandwidth is really needed for gpu trans-coding? Is it enough to put an gpu in a 1x slot? Link to comment
Recommended Posts