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

Gpu indicator #94

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Gpu indicator #94

wants to merge 10 commits into from

Conversation

kriap139
Copy link

Added a GPU indicator with support for AMD and Nvidia GPUs, inspired from System-monitoring-center (https://github.com/hakandundar34coding/system-monitoring-center).

It has been tested both dicrete AMD and Nvidia GPUs on wayland + X11. However, integrated graphics has not been tested.

@elvetemedve
Copy link
Owner

Nice job! 👍

I've tested this with Intel integrated graphics (Intel UHD 620), but the file /sys/class/drm/card0/modalias does not exist, so all measured metrics displayed as 0.

@kriap139
Copy link
Author

Hm, the missing modalias file is wierd, it is present on my laptop that have UHD Graphics 630 (Coffe Lake). However Intel GPUs is not supported yet as they dosen't seem to support the hwmon interface. It seems that work is in progress on that front (https://www.phoronix.com/news/Linux-i915-HWMON-Linux), but i dont know if its only for their ARC line of GPUs or if it will be backported to older integrated graphics aswell. I haven't had time to see if there are any other means of doing this for Intel GPUs, it might be. If a discrete AMD or Nvidia gpu is precent, it should atomatically switch to that.

I am a little busy this week, but might have some time to look into it in the weekend.

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.

None yet

2 participants