Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Linuxserver.io - Unraid Nvidia

Featured Replies

18 minutes ago, Dazog said:

Yea, now i cannot get nvidia-smi to work in telegraf :(

 

I do have everything set properly.

 

Ignore me. can't use alpine linux version :0

Got this working in netdata!
image.thumb.png.2bf79e1e66e96f36ca185a8aacda6f7c.png
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.

 

  • Replies 2.5k
  • Views 658.3k
  • Created
  • Last Reply
9 minutes ago, Xaero said:

Got this working in netdata!
image.thumb.png.2bf79e1e66e96f36ca185a8aacda6f7c.png
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.

 

Works :P. I had to specify my GPU.

I wonder if i can ask the person making this to add the nvidia_smi to his docker, so we don't have to do this every update :)

 

Still working on Telegraf then I am gonna post the dashboard for people.

Edited by Dazog

13 minutes ago, Dazog said:

Works :P. I had to specify my GPU.

I wonder if i can ask the person making this to add the nvidia_smi to his docker, so we don't have to do this every update :)

 

Still working on Telegraf then I am gonna post the dashboard for people.

Probably still best to ask if they can add support to their docker, since it should just "not work" if nvidia-smi isn't available. But, if they are opposed, have a user script you can run on a schedule:


#!/bin/bash

con="$(docker ps --format "{{.Names}}" | grep -i netdata)"

exists=$(docker exec -i "$con" grep -iqe "nvidia_smi: yes" /etc/netdata/python.d.conf >/dev/null 2>&1; echo $?)

if [ "$exists" -eq 1 ]; then
    docker exec -i "$con" /bin/sh -c 'echo "nvidia_smi: yes" >> /etc/netdata/python.d.conf'
    docker restart "$con" >/dev/null 2>&1
    echo '<font color="green"><b>Done.</b></font>'
else
    echo '<font color="red"><b>Already Applied!</b></font>'
fi

Installed this today.  Worked first time no problems.  I did notice the drives won't spin down again (which is a problem of RC4 that is fixed in RC5.  Hopefully An update to something else comes soon.

 

Edited by Marshalleq
Quote box erroneously added

We're still working on this and the Unraid updates, all is compiling fine, with drivers and kernel modules on host, but when starting containers stuff just isn't being carried through.

On the plus side, when we do figure it out, we'll have a much better understanding of how everything works under the hood I guess......



Sent from my Mi A1 using Tapatalk

1 minute ago, rix said:

Have you not read the big bold red letters telling you not post about this on unraid.net? 😱

i did right after i posted that, hence has been removed

 

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.

1 hour ago, 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.

Perhaps look into the DKMS version of the nvidia driver. It's been pretty rock solid through kernel versions for me.
Thanks for the update!

2 hours ago, 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.

How do I donate to the beer fund.

 

Seriously. let me know.

29 minutes ago, Dazog said:

How do I donate to the beer fund.

 

Seriously. let me know.

https://www.linuxserver.io/donate/   

 

doing the same right now! thank you for your time and efforts!

13 minutes ago, huntastikus said:

https://www.linuxserver.io/donate/   

 

doing the same right now! thank you for your time and efforts!

Done. Sent money for beers.

 

Too bad my CDN dollar is so bad that it's half with exchange ugh.

Same, great work guys.

 

 

Perhaps look into the DKMS version of the nvidia driver. It's been pretty rock solid through kernel versions for me.
Thanks for the update!
It's never really been an issue with getting the drivers installed rather an issue with runc and the modifications required to get the Nvidia runtime working.

The drivers have always been relatively straightforward.

Sent from my Mi A1 using Tapatalk

Do you guys know if this works with the PNY Quadro 4000 (VCQ4000-PB) 2GB?

It wasn't recognizing the card on rc-4 so i figured i would wait for rc-5.   I installed rc-5 last night but still doesn't work.

Before i go crazy troubleshooting i just want to see if it even should be working with this card?

10 minutes ago, suprjet44 said:

Do you guys know if this works with the PNY Quadro 4000 (VCQ4000-PB) 2GB?

It wasn't recognizing the card on rc-4 so i figured i would wait for rc-5.   I installed rc-5 last night but still doesn't work.

Before i go crazy troubleshooting i just want to see if it even should be working with this card?

You'll have to check the nvidia support list for the driver installed. We only have a handful of cards we can test in the group.

Thanks so much for all that the LinuxServer.Io team does... just got this working on 6.7.0-rc5 with my new 1660 ti and also tested with the Decode patch/script... all appear to be working as expected!

 

Sent a couple chits for donation...will add some more when I get more in my PayPal account!

 

-Sw2

2 hours ago, suprjet44 said:

Do you guys know if this works with the PNY Quadro 4000 (VCQ4000-PB) 2GB?

It wasn't recognizing the card on rc-4 so i figured i would wait for rc-5.   I installed rc-5 last night but still doesn't work.

Before i go crazy troubleshooting i just want to see if it even should be working with this card?

9 years old is a big NO.

 

if your card is NOT on this list, i't won't work.

 

https://developer.nvidia.com/video-encode-decode-gpu-support-matrix

Edited by Dazog

Thanks so much for all that the LinuxServer.Io team does... just got this working on 6.7.0-rc5 with my new 1660 ti and also tested with the Decode patch/script... all appear to be working as expected!
 
Sent a couple chits for donation...will add some more when I get more in my PayPal account!
 
-Sw2


Is the 1660 ti have a better encoder / decoder than a 1060? I mean quality-wise. More codecs?


Envoyé de mon iPhone en utilisant Tapatalk
2 hours ago, suprjet44 said:

Do you guys know if this works with the PNY Quadro 4000 (VCQ4000-PB) 2GB?

It wasn't recognizing the card on rc-4 so i figured i would wait for rc-5.   I installed rc-5 last night but still doesn't work.

Before i go crazy troubleshooting i just want to see if it even should be working with this card?

The Quadro 4000 does not, to my knowledge have nvenc or nvdec pipelines. Also, it's fermi based architecture so support was phased out with ~391.74. The driver installed with this plugin is 418.43, which is long after fermi was deprecated. I don't think this plugin should work with your card, to answer your question.

On 3/10/2019 at 12:14 AM, Dazog said:

Works :P. I had to specify my GPU.

I wonder if i can ask the person making this to add the nvidia_smi to his docker, so we don't have to do this every update :)

 

Still working on Telegraf then I am gonna post the dashboard for people.

I got it working in Telegraf. I couldn't figure out my issue as I was passing through the nvidia runtime like I did with Plex. My issue was that I was running the alpine version of telegraf. Changed my docker to telegraf:latest and the nvidia-smi plugin worked! Not sure if I will have any other issues running the non alpine version but it seems fine so far.

 

Have to play with my data a bit more but here is what I quickly threw together.grafana.jpg.afd643f95c0cbfee4a3af2f3acb83b28.jpg

27 minutes ago, dr_jared88 said:

I got it working in Telegraf. I couldn't figure out my issue as I was passing through the nvidia runtime like I did with Plex. My issue was that I was running the alpine version of telegraf. Changed my docker to telegraf:latest and the nvidia-smi plugin worked! Not sure if I will have any other issues running the non alpine version but it seems fine so far.

 

Have to play with my data a bit more but here is what I quickly threw together.grafana.jpg.afd643f95c0cbfee4a3af2f3acb83b28.jpg

Nice, I have a dashboard running too.

 

But a lot of metrics are missing.

 

I submitted a request to telegraf to expand the api calls, so we can get more info.

 

https://github.com/influxdata/telegraf/issues/5564

 

It's not ALL the missing api calls but its a start.

Edited by Dazog

Hi, I have version 6.6.6 with the nvidia plugins. I would like to upgrade to 6.6.7 since it is now available in the drop down list. How to I upgrade correctly without messing everything up?

47 minutes ago, darthjonathan12 said:

Hi, I have version 6.6.6 with the nvidia plugins. I would like to upgrade to 6.6.7 since it is now available in the drop down list. How to I upgrade correctly without messing everything up?

Choose 6.6.7, click download, click OK when it's downloaded and then reboot your server. 

On 3/10/2019 at 1:06 AM, Xaero said:

Got this working in netdata!
image.thumb.png.2bf79e1e66e96f36ca185a8aacda6f7c.png
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.

 

 

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.

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.

There's a sidebar entry titled nvidia smi. Click on that. Note that the command is "nvidia-smi" but the configuration option is "nvidia_smi: yes" 

If you have entered everything correctly, and restarted the docker per the instructions it should show. 

 

Alternatively, you could add my script from a couple posts ago to userscripts and run it.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.