[PLUGIN] GPU Statistics


Recommended Posts

5 hours ago, sittingmongoose said:

Think you could add more detail on the vram usage?  Instead of just a percentage, the actual amount used/available would be amazing to have.  Plex transcodes are often limited by vram so knowing that would be helpful.

 

And, maybe as a stretch goal, the ability to customize what shows up?  Like for example I wouldn't care to see clock speeds.

I've had people request usage per session.  What I imagine will happen is the amount of data I show on the dash widget will slowly become less detailed and the finer details will be pushed to a secondary page.  Kind of like how Disk Location works.  Nifty little display on the dash giving you the heads up info and then a link to the status page where the full monty is.

Link to comment
2 hours ago, sittingmongoose said:

I posted about this plugin on reddit, got tons of people asking to be able to select which gpu is displaying.  So if you have two nvidia gpus like a 1030 and a P2000, they cant choose which is shown.  Think you can add that?  Also, lots of requests for intel iGPU support.

I would love Intel iGPU support independent of the UnRaid Nvidia build.  My servers have the Intel iGPUs so I do not have to rely on UnRaid Nvidia (not that there is anything wrong with it 😁)

 

Perhaps by using intel_gpu_top or other elements of intel-gpu-tools.  Although it is not nearly as useful as nvidia-smi

Edited by Hoopster
  • Like 3
Link to comment
I posted about this plugin on reddit, got tons of people asking to be able to select which gpu is displaying.  So if you have two nvidia gpus like a 1030 and a P2000, they cant choose which is shown.  Think you can add that?  Also, lots of requests for intel iGPU support.

I already looked at how to do this and have a plan. Planning it for the next release.


Sent from my iPhone using Tapatalk
  • Like 1
Link to comment
I would love Intel iGPU support independent of the UnRaid Nvidia build.  My servers have the Intel iGPUs so I do not have to rely on UnRaid Nvidia (not that there is anything wrong with it )
 
Perhaps by using intel_gpu_top or other elements of intel-gpu-tools.  Although it is not nearly as useful as nvidia-smi

I’ve got one guy on reddit enlisted to send me some sample data from the intel-gpu-tools package. If it is workable I will try to add it. There’s a build for Slackware 14.2 so it’s not like the binaries aren’t there. I just have Xeons in my box so I can’t test it at all.


Sent from my iPhone using Tapatalk
  • Like 3
Link to comment

Can you add an option to select a different gpu to be displayed please (even if we have to add the id manually in a text box) 

 

I have 3 gpu's installed at the moment 1 for each vm and 1 for plex

I would like to at least see what the plex one is doing but at the moment i only get the one i know is mostly idle.

If i could just see all 3 that would be even better i guess.

 

This will be super handy if i can get it working, thanks for making it.

  • Like 1
Link to comment
root@THE-BEAST:~# nvidia-smi -q -x
-bash: nvidia-smi: command not found
root@THE-BEAST:~# cd /usr/local/emhttp/plugins/gpustat/ && php ./gpustatus.php
which: no nvidia-smi in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin)
GPU vendor set to NVIDIA, but nvidia-smi was not found.root@THE-BEAST:/usr/local/emhttp/plugins/gpustat# 

 

Link to comment

Is there anyway I can stress test the gpu to see if this is working. I tried installing handbrake with gpu encoding but see no response in activity. I don't use plex or emby so cannot use that. From the looks of it it's working just wanted something to throw some stress at it to see.

1949150322_ScreenShot2020-03-13at1_23_09PM.thumb.png.cc612d3f192ec4da3dbc661f5bf4e8ed.png

Link to comment
1 hour ago, JaseNZ said:

Is there anyway I can stress test the gpu to see if this is working. I tried installing handbrake with gpu encoding but see no response in activity. I don't use plex or emby so cannot use that. From the looks of it it's working just wanted something to throw some stress at it to see.

1949150322_ScreenShot2020-03-13at1_23_09PM.thumb.png.cc612d3f192ec4da3dbc661f5bf4e8ed.png

You need to present the GPU to the Handbrake container, set the runtime, and assign the NVIDIA environment variables.  Then tell handbrake to use it before you trigger an encode.  Probably will ask if you want to use the NVENC selection.  Not that familiar with it, but it probably won't be an option if you don't have it presented properly.  Anything further assistance will need to come from another thread as it is outside the scope of plugin support.

Link to comment
1 hour ago, ibasaw said:

root@THE-BEAST:~# nvidia-smi -q -x
-bash: nvidia-smi: command not found
root@THE-BEAST:~# cd /usr/local/emhttp/plugins/gpustat/ && php ./gpustatus.php
which: no nvidia-smi in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin)
GPU vendor set to NVIDIA, but nvidia-smi was not found.root@THE-BEAST:/usr/local/emhttp/plugins/gpustat# 

 

Did you install the Unraid-Nvidia plugin and install an Unraid-Nvidia build then reboot UnRAID?  If you did, you should have this command.  If you still don't have it, you need to seek assistance in their support thread here.  My plugin depends on first installing and activating theirs.

Link to comment
2 hours ago, mdrodge said:

Can you add an option to select a different gpu to be displayed please (even if we have to add the id manually in a text box) 

 

I have 3 gpu's installed at the moment 1 for each vm and 1 for plex

I would like to at least see what the plex one is doing but at the moment i only get the one i know is mostly idle.

If i could just see all 3 that would be even better i guess.

 

This will be super handy if i can get it working, thanks for making it.

Just pushed this to my dev branch.  Works fine on my machine, but I only have one GPU.  It should allow you to select and save your GPUID to your config on the settings page once it's merged and repackaged.  If you're offering, I can walk you through installing a build from this branch to test.

Link to comment
I’ve got one guy on reddit enlisted to send me some sample data from the intel-gpu-tools package. If it is workable I will try to add it. There’s a build for Slackware 14.2 so it’s not like the binaries aren’t there. I just have Xeons in my box so I can’t test it at all.

 

 

Sent from my iPhone using Tapatalk

I am happy to test if you need me to. I have two servers with iGPU; an i5-4590 and a Xeon E-2288G.

 

 

Sent from my iPhone using Tapatalk

  • Like 1
Link to comment
6 hours ago, b3rs3rk said:

Just pushed this to my dev branch.  Works fine on my machine, but I only have one GPU.  It should allow you to select and save your GPUID to your config on the settings page once it's merged and repackaged.  If you're offering, I can walk you through installing a build from this branch to test.

Yes Please!!

  • Like 1
Link to comment

If anyone would like to test multi-gpu --

 

Remove the current version of my plugin and then manually install:

 

https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/dev-multi-gpu/pkg/gpustat-multi-gpu-2020.03.13-x86_64.txz

 

Then go to GPU statistics settings page and select options as desired and select Apply. If the apply button doesn't activate it's because you are selecting the defaults which are already stored. Plugin should just work after that. When you're done testing remove the plugin and re-install the CA one.

Link to comment
2 hours ago, b3rs3rk said:

If anyone would like to test multi-gpu --

 

Remove the current version of my plugin and then manually install:

 

https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/dev-multi-gpu/pkg/gpustat-multi-gpu-2020.03.13-x86_64.txz

 

Then go to GPU statistics settings page and select options as desired and select Apply. If the apply button doesn't activate it's because you are selecting the defaults which are already stored. Plugin should just work after that. When you're done testing remove the plugin and re-install the CA one.

 

Hi - I get the following error:

 

image.png.df1588406b541cacca3578a142d467eb.png

  • Like 1
Link to comment

Such a great app! Exactly what I was looking for last week. What great timing!

I love all the suggestions here. My suggestion/request would be a graphical percentage output - to match the rest of the dash board. I love having the percentages, but sometimes being able to tell where I stand with a glance is invaluable.

Just a thought. Great work! Thanks for all you do!

  • Like 1
Link to comment
11 minutes ago, mattekure said:

I'm getting the numbers scrunched up for Encoder and Decoder Utilization

 

Screenshot_1.jpg.06664e2f37710b33b7aceb742d5d05d7.jpg

You're the first one reporting that.  Is there anything you would consider unique about your setup?  What theme are you using?  What display resolution is your client that's connecting to the UI?

Link to comment
2 hours ago, b3rs3rk said:

You're the first one reporting that.  Is there anything you would consider unique about your setup?  What theme are you using?  What display resolution is your client that's connecting to the UI?

I'm getting the same scrunching. Default UI, 1920x1080

Link to comment

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.