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

Is it by design that libXxf86vm.so.1 is missing?

It prevents use of nvidia-settings

nvidia-settings: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory

 

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

Is it by design that libXxf86vm.so.1 is missing?

It prevents use of nvidia-settings


nvidia-settings: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory

 

You should be providing that library in your docker container if you need nvidia-settings. 

 

If you are running nvidia-settings in unraid itself (not sure why you would need to) then you would need to grab slackware packages for that library. That library is part of the Xorg project, and has nothing to do with Nvidia driver function, outside of the gui tool.

Is it by design that libXxf86vm.so.1 is missing?
It prevents use of nvidia-settings
nvidia-settings: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory

 

Yeah, exactly what@xaero says, you've got to understand that we're installing what are essentially desktop drivers onto a server.

To do so I did remove one bit that wouldn't compile without a full GTK and X11 stack iirc.

libnvidia-gtk I believe it was.



Sent from my Mi A1 using Tapatalk

8 hours ago, CHBMB said:

Yeah, exactly what@xaero says, you've got to understand that we're installing what are essentially desktop drivers onto a server.

To do so I did remove one bit that wouldn't compile without a full GTK and X11 stack iirc.

libnvidia-gtk I believe it was.



Sent from my Mi A1 using Tapatalk
 

Thank you both, that explains now for what area that tool is specifically for.

The reason I was seeking nvidia-settings is to see/change GPU performance settings, I have Quadro P4000 that is consuming 27W/150W while system is idle and docker is not running, so was trying to find a a ways to poke it other than nvidia-smi to see if I can reduce it's idle power consumption. Thanks!

Hi, silly question, I just installed a P2000 and configure LSIO Plex, how do I force Plex to transcode so I can see HW in action, now that I want to test transcoding, all my content plays direct? (I tried playing from Chrome, Edge, and IE11, and Plex on iOS)

@ptr727 just go in chrome and select a lower quality and it will transcode to it. Make sure to put the checkbox in plex settings to use hardware decoding if available.  I assume you did the settings in your docker (from page 1).

3 minutes ago, Pducharme said:

@ptr727 just go in chrome and select a lower quality and it will transcode to it. Make sure to put the checkbox in plex settings to use hardware decoding if available.  I assume you did the settings in your docker (from page 1).

Got it, thx, web player debug settings, disable direct play, and now I see HW transcoding working.

Yeah, thank you LSIO and Nvidia plugin team!

8 hours ago, Auxilium said:

Thank you both, that explains now for what area that tool is specifically for.

The reason I was seeking nvidia-settings is to see/change GPU performance settings, I have Quadro P4000 that is consuming 27W/150W while system is idle and docker is not running, so was trying to find a a ways to poke it other than nvidia-smi to see if I can reduce it's idle power consumption. Thanks!

@CHBMB I too see this high power consumption. I know why it's happening, too. 

Basically, the nvidia driver doesn't initialize power management until an Xorg server is running. The only way to force a power profile on Linux currently is to use nvidia-smi like so:
nvidia-settings --ctrl-display :0 -a "[gpu:0]/GPUPowerMizerMode=2"

Which requires a running Xorg display. I've been trying to dig around in sysfs to see if there is another place that this value is stored, but there doesn't seem to be. It looks like the cards are locked into performance mode... Perhaps this is worth bringing up to nvidia?

In the meantime, I'm going to continue digging to see if I can find a way (perhaps an nvidia-settings docker?) to force the power state.

I have Updated to the newest version (6.7.1-rc1) but in (6.7.0) too. and booth Plex and ember don't use hw decoding or encoding. 
i even can't use nvidia-smi it get the error: 

root@Server:~# nvidia-smi
Unable to determine the device handle for GPU 0000:04:00.0: Unknown Error

I'm using a gtx 1050 ti and I know that it was working before. 

 

and from unraid logs all seems to be ok: 
 

May 27 22:39:47 Server kernel: nvidia: module license 'NVIDIA' taints kernel.
May 27 22:39:47 Server kernel: Disabling lock debugging due to kernel taint
May 27 22:39:47 Server kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 246
May 27 22:39:47 Server kernel: nvidia 0000:04:00.0: enabling device (0100 -> 0103)
May 27 22:39:47 Server kernel: nvidia 0000:04:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
May 27 22:39:47 Server kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  430.14  Wed May  8 01:10:53 UTC 2019
May 27 22:39:47 Server kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  430.14  Tue May  7 19:58:01 CDT 2019
May 27 22:39:47 Server kernel: [drm] [nvidia-drm] [GPU ID 0x00000400] Loading driver

 

Edited by Wuast94

Does all the relevant info appear on the plugin screen? Post a screenshot

Also are you using that damned Plex script?

If you are try without otherwise we won't help unless it's removed from the equation.

Sent from my Mi A1 using Tapatalk

2 minutes ago, CHBMB said:

Does all the relevant info appear on the plugin screen? Post a screenshot

Also are you using that damned Plex script?

If you are try without otherwise we won't help unless it's removed from the equation.

Sent from my Mi A1 using Tapatalk
 

yes as you see :)

now I don't use any script or is it a standard that is activated or installed by default ? 
and in emby shouldnt be any Plex script I think ? :)

Bildschirmfoto.png

yes as you see [emoji4]

now I don't use any script or is it a standard that is activated or installed by default ? 
and in emby shouldnt be any Plex script I think ? [emoji4]


Bildschirmfoto.thumb.png.03cbfd802e05597d0acdec7189b740d8.png
That tells me nvidia-smi is working though as that's how I get the information displayed there.


watch nvidia-smi is the command and it runs on Unraid not in the docker container.

Sent from my Mi A1 using Tapatalk

off topic sry. but can this be leveraged to passthrough the GPU to a VM?  that way you dont have to a VBIOS etc? 

 

6 hours ago, ToXIc said:

off topic sry. but can this be leveraged to passthrough the GPU to a VM?  that way you dont have to a VBIOS etc? 

 

No, not what it was designed for at all.

ok thanks just checking. 

So a quick note, every time my plex container gets updated, p2000 starts to spin the fan at 70%. The workaround is to start encoding something, then it resets back to normal.

 

Cheers.

Edited by ezhik

That tells me nvidia-smi is working though as that's how I get the information displayed there.


watch nvidia-smi is the command and it runs on Unraid not in the docker container.

Sent from my Mi A1 using Tapatalk



I had the same issue with my Quadro K2000. The solution for me was to change my PCI-e port to ”Gen 2” in bios, default it was ”Gen 3”. I can add that I use a Supermicro motherboard.

Good luck :).

Just to clarify, this plugin only installs version 418.56 of the drivers? Any further updates that are scheduled?

 

Cheers.

1 hour ago, ezhik said:

Just to clarify, this plugin only installs version 418.56 of the drivers? Any further updates that are scheduled?

 

Cheers.

This is covered in the first two posts

25 minutes ago, CHBMB said:

This is covered in the first two posts

A gentle RTFM. I see...

 

The answer was:

--
6.  We will produce one Nvidia build per Unraid release, we will not be updating the drivers multiple times for each Unraid version, unless there is a critical bug that demands this.  So please don't ask.

--

3 minutes ago, ezhik said:

A gentle RTFM. I see...

 

The answer was:

--
6.  We will produce one Nvidia build per Unraid release, we will not be updating the drivers multiple times for each Unraid version, unless there is a critical bug that demands this.  So please don't ask.

--

Ha!  You found it.... ;)

 

On 5/27/2019 at 11:59 AM, Xaero said:

@CHBMB I too see this high power consumption. I know why it's happening, too. 

Basically, the nvidia driver doesn't initialize power management until an Xorg server is running. The only way to force a power profile on Linux currently is to use nvidia-smi like so:
nvidia-settings --ctrl-display :0 -a "[gpu:0]/GPUPowerMizerMode=2"

Which requires a running Xorg display. I've been trying to dig around in sysfs to see if there is another place that this value is stored, but there doesn't seem to be. It looks like the cards are locked into performance mode... Perhaps this is worth bringing up to nvidia?

In the meantime, I'm going to continue digging to see if I can find a way (perhaps an nvidia-settings docker?) to force the power state.

 

I'm not exactly sure how much extra power my GTX 1050 is chewing sitting idle without being in a power saving mode, but my guess (based on readings from a "Kill A Watt" with the GTX installed vs. not.) is around 15 to 20 watts.  15 to 20w x $0.15 per kwh = ~ $20 to $25 per year.

 

I'd certainly be willing to donate at least that much towards getting this done.

 

Edited by brainbone

I'm planning on buying a GPU for use with this plugin and a Plex container. Can I buy any GPU listed here and be pretty much assured it will work, or is there any kind of compatibility list to watch out for?

3 hours ago, knalbone said:

I'm planning on buying a GPU for use with this plugin and a Plex container. Can I buy any GPU listed here and be pretty much assured it will work, or is there any kind of compatibility list to watch out for?

Make sure you pay attention to what's highlighted in green/yes.  The 1030, for example, is a GPU you should NOT get. 

 

This list has more detailed information on GPUs with Plex.

34 minutes ago, brainbone said:
Make sure you pay attention to what's highlighted in green/yes.  The 1030, for example, is a GPU you should NOT get. 
 
This list has more detailed information on GPUs with Plex.

Wow, that site is great. Thank you so much!

Edit: sorry for breaking the rules.

Sent from my Pixel 2 XL using Tapatalk
 

Edited by knalbone

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.