turing-smart-screen-python icon indicating copy to clipboard operation
turing-smart-screen-python copied to clipboard

Wrong CPU usage (HW_SENSORS: PYTHON)

Open FabioZumbi12 opened this issue 2 years ago • 2 comments

Describe the bug
I having some wrong CPU usages, most in games.

To Reproduce
Steps to reproduce the behavior: Open a game, open the taskmanager, compare two CPU usages. One shows +-50%, and the display shows +-3%. Using the sensors from Python on config.yaml: HW_SENSORS: PYTHON

Environment:

  • Smart screen model: Hardware Revision A (Turing Smart Screen 3.5")
  • Revision of this project: main
  • OS with version: Windows 11
  • Python version: 3.11.5
  • Hardware AMD Ryzen 5800/RTX 3060

On display: image On Taskmanager: image Note that the memory it matches exact, only CPU its wrong.

FabioZumbi12 avatar Oct 19 '23 21:10 FabioZumbi12

So to known, using HW_SENSORS: LHM show a more precise CPU usage with a difference of +-4% between screen and taskmanager

FabioZumbi12 avatar Oct 19 '23 22:10 FabioZumbi12

Thanks for investigating, I knew the Python sensor reading was less precise than LHM but it should not be that far from the "real" data. I will have a look into it and try to understand. Though it is probably an issue with the psutil Python package we get the data from.

mathoudebine avatar Oct 20 '23 08:10 mathoudebine