Just an FYI, it is worth putting a very visible warning somewhere in docs about nvidia-smi use on hybrid systems. Every time nvidia-smi is called it will wake the dGPU from sleep causing excess power draw.
An alternative would be to use the (limited) dbus interface of my supergfxctl. As I don't use i3 or similar myself I don't know if I will contribute this as a block - perhaps i can find someone in my discord to assist.
https://github.com/greshake/i3status-rust/blob/86213c7d1b808db043cfbf51cce74b133caff0e1/src/blocks/nvidia_gpu.rs#L11
Just an FYI, it is worth putting a very visible warning somewhere in docs about
nvidia-smi
use on hybrid systems. Every timenvidia-smi
is called it will wake the dGPU from sleep causing excess power draw.An alternative would be to use the (limited) dbus interface of my supergfxctl. As I don't use i3 or similar myself I don't know if I will contribute this as a block - perhaps i can find someone in my discord to assist.