AstraExt / astra-monitor

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

Nvidia GPU sensors are missing in the Sensors panel #146

Open NickSkier opened 1 month ago

NickSkier commented 1 month ago

Description

Nvidia GPU sensors are shown in the GPU panel, but they do not appear in the Sensors panel and are not available as data sources there.

Additionally, I'm not sure if it's related, but the GPU panel sometimes alternates between displaying the GPU Temp sensor, the PCIe Link sensor, or both at once with full sensor data (most of the time, all data is displayed only on the first interaction with the panel). This change occurs at intervals of 1 to 10 seconds. You can see all the variations in the GPU panel screenshots.

Screenshots

GPU panel:

GPU sensors full GPU sensors PCIe GPU sensors Temp

Sensors panel:

Sensors panel

Dependencies:

Dependencies

Environment

ljuzig commented 1 month ago

The sensors menu shows only data provided by the selected source. Very likely hwmon. if Hwmon provides (as it does to me) gpu sensor informations, they will be shown. However, I agree that we need a way to be able to add gpu monitoring tools into the sensor sources as well, but it requires a refactoring of the sensors code, so it is something that will be added later.

NickSkier commented 1 month ago

Thanks for the clarification! However, what about the inconsistent behavior of the GPU panel sensors? Is this expected behavior, or am I misunderstanding how it should function? If needed, I can create a separate issue specifically for this.

ljuzig commented 1 month ago

No need to open any other issue, this issue is enough to track this matter. I already added it to my TODO list and eventually it will be addressed in the future.