Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine Ati and Nvidia GPUs #68

Open
nickbabcock opened this issue May 23, 2019 · 5 comments
Open

Combine Ati and Nvidia GPUs #68

nickbabcock opened this issue May 23, 2019 · 5 comments

Comments

@nickbabcock
Copy link
Owner

For hardware types there are multiple GPU brands listed (ATI and Nvidia). This distinction is only for GPUs (ie: there is only one cpu hardware type -- it's not broken into amd and intel). The consequence of this distinction is that if one were to swap out their GPU for another brand, then all metric names would need to be migrated over or one would need the foresight to cover both use cases like:

SELECT * FROM ohm_stats
    WHERE hardware_type = 'GpuNvidia' OR
                 hardware_type = 'GpuAti'

A potential solutions would be to simply export both of these metrics under the single label of "gpu". This would be a breaking change to all users, something I try very hard to avoid.

So I'll leave this issue open and if there has been significant feedback or if it is bothersome, then I can look implement something (ie: a config flag).

@nickbabcock
Copy link
Owner Author

With the latest LibreHardwareMonitor renaming GpuAti to GpuAmd (a more intuitive change) this issue is still relevant. Though if one had two computers, one with Amd and the other with Nvidia it would be interesting to compare them, but since HDD and CPUs are not broken down further (other than by the hardware name) it would be better to consolidate the GPUs. Perhaps in a future release to introduce a config field normalize_units that is enabled by default that will convert names and units appropriately.

@swiffer
Copy link

swiffer commented Jan 9, 2023

i just noticed that some metrics have been empty in my grafana dashboard after switching my gpu (nvidia -> amd).

turns out there are currently some queries missing it's amd counterparts in the grafana dashboard query config.

i was able to add amd queries for memory and fan, data rate seems not to be available

grafik

having only one label with gpu would make running multiple queries (one per vendor) obsolete, right?

@nickbabcock
Copy link
Owner Author

Ah, you're right, it's an oversight that several of the gpu graphs leave off their amd counterpart.

Consolidating them could fix the issue, though data rate would still be blank. I think I've been hesitant to combine them for systems that run both amd and nvidia gpus simultaneously, but I think this situation would be exceedingly rare -- though probably possible to workaround with deterministic ordering (like nvidia gpus before amd).

@swiffer
Copy link

swiffer commented Jan 9, 2023

What Happens with Intel Arc gpus / when there is more than one Nvidia GPU installed?

@nickbabcock
Copy link
Owner Author

Intel arc gpus are currently unsupported LibreHardwareMonitor/LibreHardwareMonitor#792

But that is a great point, instead of exposing a third type of GPU when support is added, it would be nice if the dashboards were already generic over a consolidated GPU type, so nothing would need to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants