b3rs3rk / gpustat-unraid

An UnRAID plugin for displaying GPU status
https://forums.unraid.net/topic/89453-plugin-gpu-statistics/?tab=comments#comment-830112
MIT License
50 stars 14 forks source link

[BUG] - N/A with unraid 6.11 #44

Closed martabal closed 2 years ago

martabal commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

Expected behavior Expect some values, but GPU Statistics prompts N/A with intel integrated graphics.

Screenshots image

Client:

Server:

Additional context Works perfectly when I restore Unraid 6.10.3. Issue discussed in Unraid forums

realizelol commented 2 years ago

Hi,

please consider to remove the plus here in Line#51 otherwise it will break AMD APUs (also: AMD GPUs ?).

I am actually using a AMD Ryzen 7 4800U APU which will work again after replacing the line by: $gpustat_data = (new AMD($gpustat_cfg))->getInventory();

I am not that confirm with php but wouldn't that add the AMD part to the newly added INTEL array Merge#45?


best regards

realizelol

Specs: OS: macOS 12.6.1 Browser: Firefox v107.0 Device: Physical Server OS Version: UnRAID v6.11.5 GPU: AMD Radeon RX Vega 8 (Renoir) [AMD Ryzen 7 4800U - Zen2]

b3rs3rk commented 2 years ago

@realizelol Can you create a separate issue for this and not piggyback off this one? What you are doing will break both Nvidia and Intel. This is a separate issue that I need to track and diagnose (with your help) as I don't know of anyone having the same issue.

b3rs3rk commented 2 years ago

@martabal After the latest plugin update (Dated 2022-11-29) has your issue been resolved?

martabal commented 2 years ago

Yep, completely resolved, thank you !

realizelol commented 2 years ago

@realizelol Can you create a separate issue for this and not piggyback off this one? What you are doing will break both Nvidia and Intel. This is a separate issue that I need to track and diagnose (with your help) as I don't know of anyone having the same issue.

Thanks a lot, next time I'll do so. My Problem is solved with the "nvidia"-fix (PR#46), so I won't open a new ticket at this time.

best regards realizelol