Jump to content
linuxserver.io

[Plugin] Linuxserver.io - Unraid Nvidia

2142 posts in this topic Last Reply

Recommended Posts

I have the same as you, my graphic cards is too old, its not in the latest drivers of nvidia or any other drivers that are currently available through this plugin.

Share this post


Link to post

I think you'd have to rollback to earlier version of Nvidia unRaid that has that particular version.

Share this post


Link to post

Problem for me was that the unraid version that had my driver version in there isnt available in the unraid nvidia plugin.

So i couldnt download it, and i believe the versions for unraid nvidia start at 4xx i didnt saw anything with 3xx in the version.

Share this post


Link to post
5 hours ago, BrunoX said:

Is there a way to downgrade the driver version?

 

I have an older Nvidia card (GTX 460) and the latest driver (440.59) doesn't support it, however, Linux driver 390.132 from Nvidia does.

 

 

2 hours ago, Diondk said:

Problem for me was that the unraid version that had my driver version in there isnt available in the unraid nvidia plugin.

So i couldnt download it, and i believe the versions for unraid nvidia start at 4xx i didnt saw anything with 3xx in the version.

I suspect your older cards won't support NVENC or NVDEC either so even if you could get it to run on unraid, you wouldn't get transcoding via emby/plex/etc

Share this post


Link to post
18 hours ago, j0nnymoe said:

 

I suspect your older cards won't support NVENC or NVDEC either so even if you could get it to run on unraid, you wouldn't get transcoding via emby/plex/etc

You are correct. It won't. The GTX 460 is a Fermi architecture, which predates NVENC and NVDEC so even if there were drivers, it can't be utilized for transcoding.

Share this post


Link to post
1 hour ago, ClunkClunk said:

You are correct. It won't. The GTX 460 is a Fermi architecture, which predates NVENC and NVDEC so even if there were drivers, it can't be utilized for transcoding.

I am trying to get a GTX 1050 used for this.  Is this also the case?  I am struggling to even get it to work for a VM.

 

Share this post


Link to post
On 3/26/2020 at 4:46 PM, BRiT said:

I think you'd have to rollback to earlier version of Nvidia unRaid that has that particular version.

 

On 3/26/2020 at 7:31 PM, Diondk said:

Problem for me was that the unraid version that had my driver version in there isnt available in the unraid nvidia plugin.

So i couldnt download it, and i believe the versions for unraid nvidia start at 4xx i didnt saw anything with 3xx in the version.

I thought so as well but as Diondk said, the problem is that none of the older Nvidia Unraid versions have a Nvidia driver before version 400.

Share this post


Link to post
21 hours ago, j0nnymoe said:

 

I suspect your older cards won't support NVENC or NVDEC either so even if you could get it to run on unraid, you wouldn't get transcoding via emby/plex/etc

Thanks, that's good to know. Although I'm more interested in getting it to work for Folding@Home which I believe doesn't utilize NVENC/NVDEC - could be wrong though.

Share this post


Link to post
1 minute ago, BrunoX said:

Thanks, that's good to know. Although I'm more interested in getting it to work for Folding@Home which I believe doesn't utilize NVENC/NVDEC - could be wrong though.

I have no trouble using NVENC/NVDEC using a 1050 with Folding@Home

Share this post


Link to post

Updated to Nvidia 6.8.3 from previous versions, but it looks like my card is not being used anymore based on the info stating it is power = 0, and my cpu is running very high on 5 streams. Based on the below output, shouldn't I be seeing some use, not just memory?  Plex pas with HW Transcoding on, Tautulli cofirmed HW Transcodes, 1050 Ti installed.  I did try and removed Bionic previously, otherwise at a loss. 

 

 

Screenshot 2020-03-27 at 8.48.47 PM.png

Share this post


Link to post

Looks like you do have 5 streams going. The CPU useage is probably due to audio transcode. Not sure why your power and other metrics are not reporting properly...

Share this post


Link to post
12 hours ago, Jhp612 said:

Looks like you do have 5 streams going. The CPU useage is probably due to audio transcode. Not sure why your power and other metrics are not reporting properly...

The only other thing I can think of is I added a script awhile ago to return the care to the P0 state after it was done, as it was hanging at full power and not returning. i copied down a script that checks to see if there are any active transcodes, and if not returns it to P0. 

 

#!/bin/bash
TOKILL=""
CPT_TRANSCODE=-1
CPT_SERVER=-1

for ELEMENT in $(lsof /dev/nvidia0 | awk '{print $1 "@" $2}')
do
 IFS='@' read -r -a array <<< "$ELEMENT"
 if [ "${array[0]}" != "Xorg" ] && [ "${array[0]}" != "ffmpeg" ]
 then
  if [ "${array[0]}" = "Plex\x20T" ]
  then
  ((CPT_TRANSCODE++))
  fi
  if [ "${array[0]}" = "Plex\x20M" ]
  then
   ((CPT_SERVER++))
   TOKILL="${array[1]}"
  fi
 fi
done

if [ $CPT_SERVER -gt 0 ] && [ $CPT_TRANSCODE -lt 1 ] && [ "$1" != "test" ]
then
 kill -9 "$TOKILL"
fi
if [ "$1" == "test" ]
then
 echo "$TOKILL"
fi

 

not sure if this is having an affect also. 

Share this post


Link to post
19 hours ago, itimpi said:

I have no trouble using NVENC/NVDEC using a 1050 with Folding@Home

My problem is that my card (460) isn't detected at all with the latest drivers which results in Folding@Home only using the CPU.

Share this post


Link to post
22 hours ago, mgranger said:

I am trying to get a GTX 1050 used for this.  Is this also the case?  I am struggling to even get it to work for a VM.

 

A GTX 1050 is fairly recent, supports NVENC/NVDEC, and should work with this plugin (though I don't have one to try - spec wise it seems totally fine).

Share this post


Link to post
14 hours ago, dewlite said:

Updated to Nvidia 6.8.3 from previous versions, but it looks like my card is not being used anymore based on the info stating it is power = 0, and my cpu is running very high on 5 streams. Based on the below output, shouldn't I be seeing some use, not just memory?  Plex pas with HW Transcoding on, Tautulli cofirmed HW Transcodes, 1050 Ti installed.  I did try and removed Bionic previously, otherwise at a loss. 

 

 

 

Could you try `nvidia-smi dmon` while you're transcoding, and post a few second of output?

Share this post


Link to post
Posted (edited)
On 3/28/2020 at 11:35 AM, ClunkClunk said:

Could you try `nvidia-smi dmon` while you're transcoding, and post a few second of output?

only one transcode happening now, will try to grab when there are more. It almost seems like it is barley transcoding?

 

 

 

 

Screenshot 2020-03-29 at 12.35.16 PM.png

Screenshot 2020-03-29 at 12.34.40 PM.png

Edited by dewlite
corrected upload

Share this post


Link to post
23 hours ago, dewlite said:

only one transcode happening now, will try to grab when there are more. It almost seems like it is barley transcoding?

 

Looks OK to me - 'dec' (the decoder) is showing a percent or two of utilization, and 'enc' (the encoder) is showing a percent or two of utilization.

 

A GTX 1050 4GB has enough horsepower to handle about 14 simultaneous 1080p transcodes though it's software locked to 2 transcodes, so if this was doing just one stream, and it filled Plex's buffer already, only a percent or two would be needed to maintain said buffer.

 

A couple more things I've noticed from my Quadro P400 (I don't have a GTX 1050 to test so I'm just guessing): Pwr:Usage doesn't necessarily populate even when the card is running; P0 is almost always on; and fan speeds may drop to 0 if the card is totally unused.

 

To really push your card, try setting Plex's buffer to something huge - like 3600 seconds, so it tries to encode an entire hour at a time. Then launch two transcodes and see how your card reacts.

Share this post


Link to post

Hello guys

 

I have a question for my GeForce GTX 1070 the fan dosen't seem to be working.

 

I'm pretty sure it's working on another pc.

 

Is there something i can check or is it a bug ?

 

Unraid 6.8.3

Nvidia Driver Version:440.59

GPU 0 Model & Bus:GeForce GTX 1070      01:00.0

 

 

Thx

unraid-diagnostics-20200330-2001.zip

Share this post


Link to post

Is it possible to use the Nvidia runtime Docker container instead of the plugin? 

Share this post


Link to post

Hi all,

 

Since updating to 6.8.3, my remote Plex clients are getting unsufferable buffering. Was working prior to updating.  

When i turn off hardware transcoding, the buffering goes away

Using a Quadro P400.

Any ideas?

Share this post


Link to post

I have multiple entries like this before the system becomes unresponsive:

 

Apr 1 08:06:30 MASTER kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window]
Apr 1 08:06:30 MASTER kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs

 

Removed the GPU Statistics Plugin, and the log entries reduced.

Will see if it crashes again.

Share this post


Link to post
On 3/7/2020 at 7:40 PM, ZooMass said:

Unmanic is another good container. It's dead simple, you just point it at a directory and it converts x264 video files to HEVC.

Does it support nvidia now?

Share this post


Link to post

haven't found in the forum if 6.9.0-beta1 is already supported by the nvidia plugin ?

 

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.