AstraExt / astra-monitor

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

Hwmon sensors info drowned in irrelevant data #145

Open goc9000 opened 1 month ago

goc9000 commented 1 month ago

Description

(This continues the discussion I started in another issue as this one is related, but nevertheless separate)

On my machine at least, the sensors display is unusable when selecting the hwmon source. An enormous number of sensors is reported, and there is too much data to fit on screen, but in fact most of the values are not sensors at all and should be organized differently.

I've included screenshots and some specific observations:

Steps to Reproduce

  1. Have a recent machine with a decent number of sensors accessible by Linux (e.g. about 6-10 temperature sensors and 4-5 fan sensors is typical).
  2. Configure 'hwmon' as a sensors source
  3. Enable the sensors icon and hover over it to see the info

Screenshots

1. Sensor categories 2. IT8688 sensors 3. NZXT sensors 4. SSD sensors

Environment

ljuzig commented 1 month ago

I added a way to filter sensors with regex. While this does not really fix this bug, it might help to alleviate the problem in the meantime. The optimal solution requires a lot of work, and I do not think it is feasible at the present time.

This is before filtering: Screenshot from 2024-09-25 02-31-16

The regex I added: Screenshot from 2024-09-25 02-31-53

The result: Screenshot from 2024-09-25 02-31-34

This will be available in the next release. I keep this issue open until the issue is resolved with a final and better solution.