AstraExt / astra-monitor

Resource Monitor for GNOME shell
GNU General Public License v3.0
267 stars 12 forks source link

GPU stats only updating when GPU is used? #136

Open l3ifk opened 1 month ago

l3ifk commented 1 month ago

It seems like the gpu graph and also the dropdown menu freeze every time I stop using my GPU, e.g. closing a game. Whenever I use it again, the graph updates and is working again. Is this intended behavior to not ping the GPU and waste energy consumption or is this not inteded? Would be interesting to know...

ljuzig commented 1 month ago

I'm not experiencing this issue. Can you help me naming some game and steps to reproduce it or provide a video? Thanks.

l3ifk commented 1 month ago

As you can see here the GPU stats are monitored if it is utilized by the game and the stats freeze when I close the game. This is not specific to one game, but happens every time when the GPU is not utilized any more. Maybe it has to do something with me having a Laptop and therefore using the iGPU most of the time and only the dedicated GPU for more intense tasks?

EDIT: I saw that the image quality is very bad and here is the proper video. https://github.com/user-attachments/assets/a3351418-de0a-4665-867d-8992e2cee4cf

ljuzig commented 1 month ago

I guess it happens when switching from the dedicated GPU to the integrated one. I don't have a configuration where I can test that right now, I need to find a way to test it.

l3ifk commented 1 month ago

Maybe a solution could be to give the option to show graphs of more than one GPU in the topbar. That way I would see when the system switches to my iGPU and vice versa. I don't know how hard it is to implement but I think it would be helpful.