AstraExt / astra-monitor

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

Nvidia GPU sensors are missing in the Sensors panel #146

Open NickSkier opened 2 months ago

NickSkier commented 2 months 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 2 months 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 2 months 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 2 months 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.

AshtakaOOf commented 2 weeks ago

I've also run into this, I'm currently using the Edge sensor (from my amd igpu) because it's usually close to my nvidia gpu with around a 2°C difference. I like this extension over Freon a lot more due to how much I can monitor, but they do have nvidia support there.