ich777 Posted January 21, 2021 Share Posted January 21, 2021 2 hours ago, benno87 said: I use 1 GPU for transcoding and 1 for VM. As @alturismo said that's not possible you can only view the GPU's that are not in use by a VM, since it's not exclusively available on the host and the GPU Statistics Plugin simply can't "see" it. 2 hours ago, benno87 said: Alternatively, how could I go about installing a second instance of gpustats? You can't install a second instance of the Plugin, the developer would need to make something like a drop down to see and switch between multiple cards, but I think that involves a lot of work for the dev since the Plugin has to change significantly in terms of the code and also think that wouldn't make much sense because the normal use case is that you use one Card or the iGPU for transocding and the other card(s) for VM(s). 2 Quote Link to comment
Pducharme Posted January 23, 2021 Share Posted January 23, 2021 @b3rs3rk, Hi, The GPU Statistic seems a bit strange on my Dashboard when transcoding PLEX... The PLEX display a big elongated logo 1 1 Quote Link to comment
mlapaglia Posted January 24, 2021 Share Posted January 24, 2021 the icon on my dashboard is weird too. also, i have more than plex running on my card, but that icon makes it appear as if they are all plex. Quote Link to comment
Glonch Posted January 24, 2021 Share Posted January 24, 2021 I've noticed the App Icon too but it is not correctly reporting the apps. In my case, it show 2 apps, both Plex. But I only had one thread for Plex and another for Folding@Home (which runs all the time). Quote Link to comment
jamerperson Posted January 25, 2021 Share Posted January 25, 2021 Running version 2021.01.21 and it now doesn't seem to work with my Quadro K4200. It was working before (before the ui updates, it worked fine) It still shows up in nvidia-smi. It shows up in the drop down menu in the settings. I can toggle between the GTX 750 (which works) and the Quadro. Im still running Unraid 6.3.0. Quote Link to comment
b3rs3rk Posted January 25, 2021 Author Share Posted January 25, 2021 On 1/23/2021 at 3:04 PM, Pducharme said: @b3rs3rk, Hi, The GPU Statistic seems a bit strange on my Dashboard when transcoding PLEX... The PLEX display a big elongated logo That's very odd. What version of UnRAID are you running? Do you have any custom themes/CSS? Quote Link to comment
b3rs3rk Posted January 25, 2021 Author Share Posted January 25, 2021 7 hours ago, jamerperson said: Running version 2021.01.21 and it now doesn't seem to work with my Quadro K4200. It was working before (before the ui updates, it worked fine) It still shows up in nvidia-smi. It shows up in the drop down menu in the settings. I can toggle between the GTX 750 (which works) and the Quadro. Im still running Unraid 6.3.0. Probably need some troubleshooting information from you unless you running 6.3.0 was a typo. Minimum version is 6.7.1. Quote Link to comment
b3rs3rk Posted January 25, 2021 Author Share Posted January 25, 2021 13 hours ago, Glonch said: I've noticed the App Icon too but it is not correctly reporting the apps. In my case, it show 2 apps, both Plex. But I only had one thread for Plex and another for Folding@Home (which runs all the time). Please explain. Screenshot? The number is a count of _all_ processes. The app icons will display to tell you which processes are using the GPU. You will be able to hover over each app to see how many instances each app is using, as well as the memory used for that app in the next push. Right now, I only show Plex, Jellyfin, or Emby icons. Haven't looked at Folding or any others yet. Quote Link to comment
b3rs3rk Posted January 25, 2021 Author Share Posted January 25, 2021 18 hours ago, mlapaglia said: the icon on my dashboard is weird too. also, i have more than plex running on my card, but that icon makes it appear as if they are all plex. It doesn't know every app yet. I will see if I can make it a bit clearer in the next release what you're looking at. Quote Link to comment
Pducharme Posted January 25, 2021 Share Posted January 25, 2021 17 minutes ago, b3rs3rk said: That's very odd. What version of UnRAID are you running? Do you have any custom themes/CSS? running the stock 6.9.0-rc2. No custom themes or CSS. Seems i'm not the only one if i read the next replies. Quote Link to comment
b3rs3rk Posted January 25, 2021 Author Share Posted January 25, 2021 2 minutes ago, Pducharme said: running the stock 6.9.0-rc2. No custom themes or CSS. Seems i'm not the only one if i read the next replies. I'm sure someone else is having the issue, but I can't guess as to what is causing it. These problems are particularly difficult for me to solve since I'm not a very good front end developer. What browser are you using? Can you take a screenshot of the developer console after right clicking the image and saying Inspect element? Quote Link to comment
JohnnyGrey Posted January 25, 2021 Share Posted January 25, 2021 10 hours ago, b3rs3rk said: I'm sure someone else is having the issue, but I can't guess as to what is causing it. These problems are particularly difficult for me to solve since I'm not a very good front end developer. What browser are you using? Can you take a screenshot of the developer console after right clicking the image and saying Inspect element? I am getting the stretched image too. It seems the vertical dimension is at the full 512 pixels. The icon is being displayed at 21x512. I am on Chrome. Quote Link to comment
Glonch Posted January 25, 2021 Share Posted January 25, 2021 11 hours ago, b3rs3rk said: Please explain. Screenshot? The number is a count of _all_ processes. The app icons will display to tell you which processes are using the GPU. You will be able to hover over each app to see how many instances each app is using, as well as the memory used for that app in the next push. Right now, I only show Plex, Jellyfin, or Emby icons. Haven't looked at Folding or any others yet. I checked Plex and there was only 1 transcode when this screenshot was taken. When I have no transcodes from Plex, the only other docker that is GPU aware is Folding@Home and it is using the GPU for modeling. Quote Link to comment
Pducharme Posted January 26, 2021 Share Posted January 26, 2021 13 hours ago, b3rs3rk said: I'm sure someone else is having the issue, but I can't guess as to what is causing it. These problems are particularly difficult for me to solve since I'm not a very good front end developer. What browser are you using? Can you take a screenshot of the developer console after right clicking the image and saying Inspect element? Here is the screenshot of the Inspect Element. Like @JohnnyGrey said, it seems the height is fixed at 512px, causing the issue. Quote Link to comment
b3rs3rk Posted January 26, 2021 Author Share Posted January 26, 2021 11 hours ago, Glonch said: I checked Plex and there was only 1 transcode when this screenshot was taken. When I have no transcodes from Plex, the only other docker that is GPU aware is Folding@Home and it is using the GPU for modeling. See how it says Total - Apps? Like the slider bars I was hoping it would be a little more apparent that the number shown is the total number of processes using the GPU, and then the apps would display for what those total processes are. My next release will allow you to hover over the apps and see how many processes there are for each app (as well as memory usage for each app). But for now, you are seeing it as intended. Quote Link to comment
b3rs3rk Posted January 26, 2021 Author Share Posted January 26, 2021 11 hours ago, JohnnyGrey said: I am getting the stretched image too. It seems the vertical dimension is at the full 512 pixels. The icon is being displayed at 21x512. I am on Chrome. 8 hours ago, Pducharme said: Here is the screenshot of the Inspect Element. Like @JohnnyGrey said, it seems the height is fixed at 512px, causing the issue. What theme settings are you two using? I can't seem to get it looking the same as yours with ThemeEngine enabled or disabled. Quote Link to comment
Pducharme Posted January 26, 2021 Share Posted January 26, 2021 2 hours ago, b3rs3rk said: What theme settings are you two using? I can't seem to get it looking the same as yours with ThemeEngine enabled or disabled. In my case, this is the default theme. I only choosed the Dynamix : Black. Quote Link to comment
JohnnyGrey Posted January 26, 2021 Share Posted January 26, 2021 6 hours ago, b3rs3rk said: What theme settings are you two using? I can't seem to get it looking the same as yours with ThemeEngine enabled or disabled. I'm not using any themes other than the ones built in. I too am using the Dynamix: Black. Although the icon looks the same no matter which I choose. Quote Link to comment
JohnnyGrey Posted January 26, 2021 Share Posted January 26, 2021 I was able to edit the gpustatus.page file to artificially limit the size of the png. I changed line 155 from: <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' src="/plugins/gpustat/images/plex.png"></span> to: <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' style="width:24px; height:24px;" src="/plugins/gpustat/images/plex.png"></span> I don't know why the table cell is stretching the png vertically and not horizontally. It looks like the cell is still a few pixels taller than the others, so this can probably be reduced to 20x20. Quote Link to comment
b3rs3rk Posted January 27, 2021 Author Share Posted January 27, 2021 18 hours ago, JohnnyGrey said: I was able to edit the gpustatus.page file to artificially limit the size of the png. I changed line 155 from: <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' src="/plugins/gpustat/images/plex.png"></span> to: <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' style="width:24px; height:24px;" src="/plugins/gpustat/images/plex.png"></span> I don't know why the table cell is stretching the png vertically and not horizontally. It looks like the cell is still a few pixels taller than the others, so this can probably be reduced to 20x20. I can probably set a maximum height and width as well as a minimum. I'd hate to do that though as it ruins the dynamic responsiveness. It's a strange problem that I can't seem to replicate despite disabling ThemeEngine and reverting to the defaults. Quote Link to comment
emersonicus Posted January 27, 2021 Share Posted January 27, 2021 20 hours ago, JohnnyGrey said: I was able to edit the gpustatus.page file to artificially limit the size of the png. I changed line 155 from: <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' src="/plugins/gpustat/images/plex.png"></span> to: <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' style="width:24px; height:24px;" src="/plugins/gpustat/images/plex.png"></span> I don't know why the table cell is stretching the png vertically and not horizontally. It looks like the cell is still a few pixels taller than the others, so this can probably be reduced to 20x20. Thanks, this solved the problem Quote Link to comment
bobokun Posted January 27, 2021 Share Posted January 27, 2021 23 hours ago, JohnnyGrey said: I was able to edit the gpustatus.page file to artificially limit the size of the png. I changed line 155 from: <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' src="/plugins/gpustat/images/plex.png"></span> to: <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' style="width:24px; height:24px;" src="/plugins/gpustat/images/plex.png"></span> I don't know why the table cell is stretching the png vertically and not horizontally. It looks like the cell is still a few pixels taller than the others, so this can probably be reduced to 20x20. I'm having this issue as well. Where is the location of gpustatus.page file? Thanks Quote Link to comment
JohnnyGrey Posted January 27, 2021 Share Posted January 27, 2021 3 hours ago, emersonicus said: Thanks, this solved the problem I wouldn't really call this "solving," more so "avoiding" lol. We have to figure what's causing this to truly solve it. 33 minutes ago, bobokun said: I'm having this issue as well. Where is the location of gpustatus.page file? Thanks I found the file inside this directory: /usr/local/emhttp/plugins/gpustat I SSH'd into my NAS and edited the gpustatus.page via nano. Here's a larger snippet of the section I modified. I don't use use any of the other platforms, so Plex is all I added the code to. <?php if($gpustat_cfg['DISPSESSIONS']) : ?> <tr class="dash_gpustat_toggle gpu-enviro"> <td></td> <td>Session Total - Apps</td> <td colspan="2"> <span class='gpu-sessions load'></span> <span class='gpu-img-span gpu-img-span-plex'><img class='gpu-image' style="width:24px; height:24px;" src="/plugins/gpustat/images> <span class='gpu-img-span gpu-img-span-jelly'><img class='gpu-image' src="/plugins/gpustat/images/jellyfin.png"></span> <span class='gpu-img-span gpu-img-span-emby'><img class='gpu-image' src="/plugins/gpustat/images/emby.png"></span> </td> <td></td> </tr> <?php endif; ?> Quote Link to comment
JohnnyGrey Posted January 27, 2021 Share Posted January 27, 2021 5 hours ago, b3rs3rk said: I can probably set a maximum height and width as well as a minimum. I'd hate to do that though as it ruins the dynamic responsiveness. It's a strange problem that I can't seem to replicate despite disabling ThemeEngine and reverting to the defaults. is there another file or section of code somewhere that shrinks the image down? I see your plugin comes with 512x512 pngs for the images. I'm still baffled that the icon is getting shrunk in only one dimension, but I know nothing about HTML or PHP. Quote Link to comment
ich777 Posted January 27, 2021 Share Posted January 27, 2021 This seems like a Chrome related problem tested both Chrome and Firefox with Jellyfin and Plex here are the results: Firefox: Chrome: Quote Link to comment
Recommended Posts
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.