-
-
Notifications
You must be signed in to change notification settings - Fork 225
Description
Feature Description
An option to choose which gpu to display the temperature of. The ability to display the temps of multiple gpus using the system monitor widget.
Why Is This Needed?
I've only used the widget on my desktop that has 2 nvidia gpus. The gpu temperature displayed is only for Device 0 under nvidia-smi. The gpu actually in use is Device 1 though but it's temp is not displayed.
It would be nice to see the temps for all gpus. Maybe it could just display the temp of the gpu that is actually being used too but a way to manually set it would be nice too.
Suggested Solutions
I dont really know how to add it.
Maybe for nvidia cards maybe using "nvidia-smi --query-gpu=index,name,memory.total,temperature.gpu --format=csv,noheader,nounits" could be used instead of "nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits" in SystemStatService.qml and tracking temps by index number. The other info might just be nice to have/display.
For finding the gpu in use maybe finding what gpu is running quickshell or a session could work. For nvidia nvidia-smi pmon -c 1 | grep qs works, I dont know if there's an equivalent for other vendors.
Additional Context
Add any relevant screenshots, links, or resources.