Skip to content

Conversation

@Tbusk
Copy link
Contributor

@Tbusk Tbusk commented Nov 19, 2025

Closes #503

This PR addresses the attached issue by iterating through all the GPUs in the serialize method in Resources and shows the usage percentage of the most used one.

Here is a screenshot of it during a stress test before it was patched:
image

Here is a screenshot of it working and syncing where it otherwise wouldn't:
image

@stsdc
Copy link
Member

stsdc commented Nov 20, 2025

Would this also fix the Indicator?

@Tbusk
Copy link
Contributor Author

Tbusk commented Nov 20, 2025

Haven't tested the indicator before.

So from the main branch, this is what it looks like with it running under a load test. Doesn't work by default with my setup.

image

With this change, it fixes it since it also uses the same method to get serialized resources.

image

@Tbusk Tbusk changed the title Switch to using most active gpu in statusbar Switch to using most active gpu in statusbar and indicator Nov 20, 2025
@stsdc stsdc merged commit 57842ed into elementary:main Nov 20, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

GPU statusbar item uses only the first found GPU rather than select actively used one

2 participants