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

4 hours ago, Xaero said:

I was under the impression that Emby doesn't have this behavior?

To see if it does, and part of "why" run

watch nvidia-smi

Check the power state is not latched to P0.

Start a stream, verify the power state latches to P0

Stop the stream, verify the process has ended, and that the power state is stuck in P0

Run fuser -v /dev/nvidia* 

To see what processes are still using the driver.

Card is always at P0


Stream or no stream.

 

I will wait to see if someone creates a docker or script to fake the desktop to trick nvidia's cards into letting us not having to run P0 24/7

 

 

  • Replies 2.5k
  • Views 661.9k
  • Created
  • Last Reply
1 hour ago, Dazog said:

Card is always at P0


Stream or no stream.

 

I will wait to see if someone creates a docker or script to fake the desktop to trick nvidia's cards into letting us not having to run P0 24/7

 

 

Run fuser -vk /dev/nvidia* and see if the p state changes.

It should boot to a p8 state even with no X server, from playing with this. Chances are some process is not ending properly 

fuser -v lists open handles on the specified file(s) since devices are treated as files in Linux land, it can be used to see what process has a device open.

You can then either kill listed PIDs individually, or just specify the -k option to have fuser kill the processes on its own.

9 hours ago, Dazog said:

Card is always at P0


Stream or no stream.

 

I will wait to see if someone creates a docker or script to fake the desktop to trick nvidia's cards into letting us not having to run P0 24/7

 

 

I think you didn't enable the persistance-mode. Do that before testing with: nvidia-smi --persistence-mode=1

14 hours ago, Xaero said:

I was under the impression that Emby doesn't have this behavior?

To see if it does, and part of "why" run

watch nvidia-smi

Check the power state is not latched to P0.

Start a stream, verify the power state latches to P0

Stop the stream, verify the process has ended, and that the power state is stuck in P0

Run fuser -v /dev/nvidia* 

To see what processes are still using the driver.

I thought so too...I will try this out after work today. Gonna install emby and will have a closer look at the behavior.

19 hours ago, BRiT said:

Not useless at all when you don't own any nvidia hardware.

 

19 hours ago, Squid said:

Or if you only use the card for passthrough to a VM.

ohh well thanks for all the info.👍

Ok, I tested it with emby and it works like a charm there. The card goes back to P8 state in no time...so it's a plex problem only. That lets me think about switching. to emby..but the convenience of plex is so high...the struggle is real!

Edited by pappaq

7 minutes ago, pappaq said:

Ok, I tested it with emby and it works like a charm there. The card goes back to P8 state in no time...so it's a plex problem only. That let's me think about switching...but the convenience of plex is so high...the struggle is real!

From what ChuckPA said on the Plex Forums, it sounds like a major update to the transcoder is being finished up and hopefully deployed in the near future. I’m thinking they’ll address this, as well as finally provide official NVDEC support and fix the issues they’ve been having with 9th Gen Intel QuickSync. He made it seem like a significant change for the transcoder.

57 minutes ago, ramblinreck47 said:

From what ChuckPA said on the Plex Forums, it sounds like a major update to the transcoder is being finished up and hopefully deployed in the near future. I’m thinking they’ll address this, as well as finally provide official NVDEC support and fix the issues they’ve been having with 9th Gen Intel QuickSync. He made it seem like a significant change for the transcoder.

Don't get your hopes up too much. He's been saying that for years

30 minutes ago, aptalca said:

Don't get your hopes up too much. He's been saying that for years

Yeah, I'm on aptalca's side. I switched from emby to plex because it had a much better transcoding performance two years back. But it seems that this lead is no longer there. I'll be testing the next week and compare the two...

1 hour ago, pappaq said:

Yeah, I'm on aptalca's side. I switched from emby to plex because it had a much better transcoding performance two years back. But it seems that this lead is no longer there. I'll be testing the next week and compare the two...

I’m not currently on Plex Pass and was waiting to purchase whenever they get full Nvidia support on Linux. Is there anything I would be missing by simply switching to Emby? I never really gave it a whole lot of thought but I don’t see why I couldn’t try it out.

1 hour ago, ramblinreck47 said:

I’m not currently on Plex Pass and was waiting to purchase whenever they get full Nvidia support on Linux. Is there anything I would be missing by simply switching to Emby? I never really gave it a whole lot of thought but I don’t see why I couldn’t try it out.

I use both (paid versions too). Soon after I started trying emby out, I completely switched over to it for myself. The main reason was that Plex apps kept transcoding all the time (every time I turn on srt subtitles, if there is multi channel audio, Plex transcodes). Emby apps direct play or direct stream on the same hardware with subtitles.

 

I still have family and friends streaming off of plex. I figured it would be too hard to switch some of them over as they are not very technical. So I still run both, but emby for me, Plex for the legacy folk

18 hours ago, pappaq said:

I think you didn't enable the persistance-mode. Do that before testing with: nvidia-smi --persistence-mode=1

sorry, your right.

 

Once i run the command it works :)

 

I just have to set persistence mode on at each boot :0

 

* i justed tested emby, it latches to p0 for transcodes and goes back to p8 once trasncode stops!*

Edited by Dazog

2 hours ago, aptalca said:

I use both (paid versions too). Soon after I started trying emby out, I completely switched over to it for myself. The main reason was that Plex apps kept transcoding all the time (every time I turn on srt subtitles, if there is multi channel audio, Plex transcodes). Emby apps direct play or direct stream on the same hardware with subtitles.

 

I still have family and friends streaming off of plex. I figured it would be too hard to switch some of them over as they are not very technical. So I still run both, but emby for me, Plex for the legacy folk

I kind of regret paying for a plex pass, honestly. Emby seems like the development team is not only more active, but more responsive. 

4 hours ago, Xaero said:

I kind of regret paying for a plex pass, honestly. Emby seems like the development team is not only more active, but more responsive. 

Yeah, I visited the emby community yesterday to check out how far the development of a good emby image for the raspi has come and remembered how active that community and especially "luke" is. It's really good. Comparable to the unraid community.

Is there any way to roll back the driver version 'm getting the error my device is not compatible with this driver version. Do I have to rollback the whole Nvidia-unraid build?

 

** I should note the GPU appears to be working with-in my VM but am unable to Passthrough to any Dockers "No Cuda enabled devices available"

 

 

Using built-in stream user interface
-> Detected 24 CPUs online; setting concurrency level to 24.
WARNING: You do not appear to have an NVIDIA GPU supported by the 430.14 NVIDIA Linux graphics driver installed in this system.  For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.
-> Not installing a kernel module; skipping the "is an NVIDIA kernel module loaded?" test.
-> Installing NVIDIA driver version 430.14.
-> Skipping check for conflicting rpms.
WARNING: The nvidia-uvm module will not be installed. As a result, CUDA will not function with this installation of the NVIDIA driver.
WARNING: The nvidia-drm module will not be installed. As a result, DRM-KMS will not function with this installation of the NVIDIA driver.
WARNING: You specified the '--no-kernel-module' command line option, nvidia-installer will not install a kernel module as part of this driver installation, and it will not remove existing NVIDIA kernel modules not part of an earlier NVIDIA driver installation.  Please ensure that an NVIDIA kernel module matching this driver version is installed separately.

 

Edited by Fiservedpi

1 hour ago, Fiservedpi said:

Is there any way to roll back the driver version 'm getting the error my device is not compatible with this driver version. Do I have to rollback the whole Nvidia-unraid build?

 

** I should note the GPU appears to be working with-in my VM but am unable to Passthrough to any Dockers "No Cuda enabled devices available"

 

 

Using built-in stream user interface
-> Detected 24 CPUs online; setting concurrency level to 24.
WARNING: You do not appear to have an NVIDIA GPU supported by the 430.14 NVIDIA Linux graphics driver installed in this system.  For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.
-> Not installing a kernel module; skipping the "is an NVIDIA kernel module loaded?" test.
-> Installing NVIDIA driver version 430.14.
-> Skipping check for conflicting rpms.
WARNING: The nvidia-uvm module will not be installed. As a result, CUDA will not function with this installation of the NVIDIA driver.
WARNING: The nvidia-drm module will not be installed. As a result, DRM-KMS will not function with this installation of the NVIDIA driver.
WARNING: You specified the '--no-kernel-module' command line option, nvidia-installer will not install a kernel module as part of this driver installation, and it will not remove existing NVIDIA kernel modules not part of an earlier NVIDIA driver installation.  Please ensure that an NVIDIA kernel module matching this driver version is installed separately.

 

You have to use a previous build that uses an older driver.

Which card do you have?

1 hour ago, Fiservedpi said:

Is there any way to roll back the driver version 'm getting the error my device is not compatible with this driver version. Do I have to rollback the whole Nvidia-unraid build?

 

** I should note the GPU appears to be working with-in my VM but am unable to Passthrough to any Dockers "No Cuda enabled devices available"

 

 

Using built-in stream user interface
-> Detected 24 CPUs online; setting concurrency level to 24.
WARNING: You do not appear to have an NVIDIA GPU supported by the 430.14 NVIDIA Linux graphics driver installed in this system.  For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.
-> Not installing a kernel module; skipping the "is an NVIDIA kernel module loaded?" test.
-> Installing NVIDIA driver version 430.14.
-> Skipping check for conflicting rpms.
WARNING: The nvidia-uvm module will not be installed. As a result, CUDA will not function with this installation of the NVIDIA driver.
WARNING: The nvidia-drm module will not be installed. As a result, DRM-KMS will not function with this installation of the NVIDIA driver.
WARNING: You specified the '--no-kernel-module' command line option, nvidia-installer will not install a kernel module as part of this driver installation, and it will not remove existing NVIDIA kernel modules not part of an earlier NVIDIA driver installation.  Please ensure that an NVIDIA kernel module matching this driver version is installed separately.

 

We only build releases with the current version of nvidia driver available. If you want to roll back drivers, you'll need to roll back the unraid build, though this isn't something we recommend or support for obvious reasons.

On 7/12/2019 at 2:56 PM, Squid said:

diagnostics might be a clue if you catch them while the error happens, but I suspect it may be a transient thing

Gtx760, right I like to be in the most current build guess my card just isn't up to snuff

Edited by Fiservedpi

First of all. Thank you to those of you that have made this project a reality.

This is my 2nd trial to get this to work....

SuperMicro X9DA6
Asus Nvidia GTX1060 3gb
Nvidia Build 6.7.2

I've tried in the past to get Binhex's EMBY transcoding to work, but in the EMBY Preferred Hardware Decoders, it doesn't show any options for hardware decoding. Yes I am a premiere member.


Okay, I'll try Linuxserver's Jellyfin. It's what I'd eventually like to switch to when they get their clients on Android, Firestick, and IOS.

I previously had Binhex's Jellyfin, so I unstalled that, and went to install Linuxserver's.
So I entered the info needed(I think) to get my Nvidia card to work. But, got an error:
 

# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='jellyfin' --net='bridge' -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'NVIDIA_VISIBLE_DEVICES'='GPU-fbc079d3-5b53-7d3c-d6aa-90e0ef8532c9' -e 'NVIDIA_DRIVER_CAPABILITIES'='all' -e 'PUID'='99' -e 'PGID'='100' -p '8095:8096/tcp' -p '8920:8920/tcp' -p '1900:1900/udp' -v '/mnt/user/video/movies/':'/movies':'rw' -v '/mnt/user/video/TV/':'/tv':'rw' -v '/mnt/user/Music/':'/music':'rw' -v '/mnt/user/appdata/jellyfin':'/config':'rw' --runtime=nvidia 'linuxserver/jellyfin' 

66b1831b22f62bb8733972879fccf5b6ac270665f1b088665a7d2871220b8bc5
/usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint jellyfin (79b24634eba4eda02806cb82604376eec86365fb7d1356949d5285084c4dd893): Error starting userland proxy: listen tcp 0.0.0.0:8920: bind: address already in use.

I tried re-downloading, and re-installing Nvidia 6.7.2 to no avail.... Same error.... What am I doing wrong?

Capture - driver.PNG

Capture - error.PNG

On 7/9/2019 at 12:19 AM, ramblinreck47 said:

From what ChuckPA said on the Plex Forums, it sounds like a major update to the transcoder is being finished up and hopefully deployed in the near future. I’m thinking they’ll address this, as well as finally provide official NVDEC support and fix the issues they’ve been having with 9th Gen Intel QuickSync. He made it seem like a significant change for the transcoder.

looks like you were right since yesterday after i updated my plex docker my gpu goes back to p8 state as soon as its done transcoding. Now finally my core and mem clocks goes back to idle.

Edit: sorry i was wrong it's decode only thing, it only goes back to p8 state if it was being used for some decode only process which i guess is only when plex is generating video preview thumbnails but once u use it for transcoding or encoding then it never goes back p8 states.

once again im sorry for being stupid😅

On 7/14/2019 at 3:13 AM, Fiservedpi said:

Gtx760, right I like to be in the most current build guess my card just isn't up to snuff

and you know what the irony is with nvidia, my gtx 750 runs just fine probably because 750 runs on maxwell and 760 runs on kepler but isn't its supposed to be other way around.😅

5 hours ago, buellmule said:

First of all. Thank you to those of you that have made this project a reality.

This is my 2nd trial to get this to work....

SuperMicro X9DA6
Asus Nvidia GTX1060 3gb
Nvidia Build 6.7.2

I've tried in the past to get Binhex's EMBY transcoding to work, but in the EMBY Preferred Hardware Decoders, it doesn't show any options for hardware decoding. Yes I am a premiere member.


Okay, I'll try Linuxserver's Jellyfin. It's what I'd eventually like to switch to when they get their clients on Android, Firestick, and IOS.

I previously had Binhex's Jellyfin, so I unstalled that, and went to install Linuxserver's.
So I entered the info needed(I think) to get my Nvidia card to work. But, got an error:
 


# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='jellyfin' --net='bridge' -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'NVIDIA_VISIBLE_DEVICES'='GPU-fbc079d3-5b53-7d3c-d6aa-90e0ef8532c9' -e 'NVIDIA_DRIVER_CAPABILITIES'='all' -e 'PUID'='99' -e 'PGID'='100' -p '8095:8096/tcp' -p '8920:8920/tcp' -p '1900:1900/udp' -v '/mnt/user/video/movies/':'/movies':'rw' -v '/mnt/user/video/TV/':'/tv':'rw' -v '/mnt/user/Music/':'/music':'rw' -v '/mnt/user/appdata/jellyfin':'/config':'rw' --runtime=nvidia 'linuxserver/jellyfin' 

66b1831b22f62bb8733972879fccf5b6ac270665f1b088665a7d2871220b8bc5
/usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint jellyfin (79b24634eba4eda02806cb82604376eec86365fb7d1356949d5285084c4dd893): Error starting userland proxy: listen tcp 0.0.0.0:8920: bind: address already in use.

I tried re-downloading, and re-installing Nvidia 6.7.2 to no avail.... Same error.... What am I doing wrong?

Capture - driver.PNG

Capture - error.PNG

i wouldn't suggest going with jellyfin just a week i also gave it a try as with plex and emby you have to pay for hwacell but it was so glitchy for me that i uninstalled it in a matter of minutes. 

Edited by Max

3 hours ago, buellmule said:

First of all. Thank you to those of you that have made this project a reality.

This is my 2nd trial to get this to work....

SuperMicro X9DA6
Asus Nvidia GTX1060 3gb
Nvidia Build 6.7.2

I've tried in the past to get Binhex's EMBY transcoding to work, but in the EMBY Preferred Hardware Decoders, it doesn't show any options for hardware decoding. Yes I am a premiere member.


Okay, I'll try Linuxserver's Jellyfin. It's what I'd eventually like to switch to when they get their clients on Android, Firestick, and IOS.

I previously had Binhex's Jellyfin, so I unstalled that, and went to install Linuxserver's.
So I entered the info needed(I think) to get my Nvidia card to work. But, got an error:
 


# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='jellyfin' --net='bridge' -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'NVIDIA_VISIBLE_DEVICES'='GPU-fbc079d3-5b53-7d3c-d6aa-90e0ef8532c9' -e 'NVIDIA_DRIVER_CAPABILITIES'='all' -e 'PUID'='99' -e 'PGID'='100' -p '8095:8096/tcp' -p '8920:8920/tcp' -p '1900:1900/udp' -v '/mnt/user/video/movies/':'/movies':'rw' -v '/mnt/user/video/TV/':'/tv':'rw' -v '/mnt/user/Music/':'/music':'rw' -v '/mnt/user/appdata/jellyfin':'/config':'rw' --runtime=nvidia 'linuxserver/jellyfin' 

66b1831b22f62bb8733972879fccf5b6ac270665f1b088665a7d2871220b8bc5
/usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint jellyfin (79b24634eba4eda02806cb82604376eec86365fb7d1356949d5285084c4dd893): Error starting userland proxy: listen tcp 0.0.0.0:8920: bind: address already in use.

I tried re-downloading, and re-installing Nvidia 6.7.2 to no avail.... Same error.... What am I doing wrong?

Capture - driver.PNG

Capture - error.PNG

The port you chose is already in use, so choose a port that is not in use and it should work.

3 hours ago, Max said:

looks like you were right since yesterday after i updated my plex docker my gpu goes back to p8 state as soon as its done transcoding. Now finally my core and mem clocks goes back to idle.

and you know what the irony is with nvidia, my gtx 750 runs just fine probably because 750 runs on maxwell and 760 runs on kepler but isn't its supposed to be other way around.😅

i wouldn't suggest going with jellyfin just a week i also gave it a try as with plex and emby you have to pay for hwacell but it was so glitchy for me that i uninstalled it in a matter of minutes. 

Which docker do you use? Sounds very interesting with the P-states!

1 hour ago, pappaq said:

Which docker do you use? Sounds very interesting with the P-states!

sorry i was wrong it's decode only thing, it only goes back to p8 state if it was being used for some decode only process which i guess is only when plex is generating video preview thumbnails but once u use it for transcoding or encoding then it never goes back p8 states.

once again im sorry for being stupid😅

15 minutes ago, Max said:

sorry i was wrong it's decode only thing, it only goes back to p8 state if it was being used for some decode only process which i guess is only when plex is generating video preview thumbnails but once u use it for transcoding or encoding then it never goes back p8 states.

once again im sorry for being stupid😅

And I tried all plex dockers this evening to prove your point! Emby it is then! Thank you anyways!

hi having a few issues getting transcending to work with plex 

setup 

p400 

unraid 6.7.2

unraid nvidia

 1013876965_unriadnvidia.PNG.c48ad4c6160be4b7ebfeaa3841e687d3.PNG

 

plex parameters 

paramiters.thumb.PNG.093a95651f9fa1fa28c85ee656970168.PNG

 

Capture1.thumb.PNG.cac14289cce68faac94bff73c79dde6c.PNG

 

 

everything looks like it OK adding the parameters passes  

Capture.PNG.4b30d8e86202ad82ab50a9304b73ce46.PNG

 

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 

 

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.