mathoudebine / mathoudebine/turing-smart-screen-python

Wildly incorrect HW_SENSOR CPU Load readings.

Open
#574 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rich Text Format
Stars
2.3k
Forks
412
Avg merge
21h 10m
Merged PRs (30d)
7

Description

Describe the bug
The CPU load reading are extremely incorrect regardless of the HW_SENSORS settings (AUTO/LHM(since I'm on Windows) give between 3% to the amount in the screenshot, PYTHON gives between 0 and 5%)

To Reproduce
Steps to reproduce the behavior:

  1. Starting the script

Expected behavior
I expected the readings to be correct, but they show a random amount of load, from 3% to upwards of 1.5k%

Screenshot 2024-09-13 144239
Environment:

  • Smart screen model: Turing 3.5”
  • Revision of this project: 3.5.0, main branch, latest commit
  • OS with version: Windows 11
  • Python version: Python 3.12
  • Hardware: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.21 GHz, NVIDIA GeForce GTX 1070 with Max-Q Design

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the script on the reported Windows 11, Python 3.12 environment with HW_SENSORS set to AUTO, LHM, and PYTHON, then compare each reading with the system's expected CPU load. Trace the sensor-reading path to determine where values reach 1.5k% and verify corrected readings across the reported settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.