gnome-shell-extension-system-monitor icon indicating copy to clipboard operation
gnome-shell-extension-system-monitor copied to clipboard

Gpu indicator

Open kriap139 opened this issue 1 year ago • 2 comments

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.

kriap139 avatar May 27 '23 08:05 kriap139

Nice job! :+1:

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.

elvetemedve avatar May 28 '23 19:05 elvetemedve

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.

kriap139 avatar May 29 '23 08:05 kriap139