mathoudebine / mathoudebine/turing-smart-screen-python

Alarmingly high CPU Usage

Open
#1,008 6 comments 0 reactions 0 assignees View on GitHub

@davidfdr is already working on this.

Since Aug 11, 2026.

  • #1049 by @davidfdr — open
bug
Dominant language
Rich Text Format
Stars
2.3k
Forks
412
Avg merge
21h 10m
Merged PRs (30d)
7

Description

Describe the bug
When the program it ends up using an alarming amount of my CPU (upwards of 20% on my 3950X)

To Reproduce
Attempt to run the tool and monitor CPU usage using a tool like btop

Expected behavior
Pretty low amounts of CPU usage for a monitoring program and not 25+% CPU usage from a python hardware monitor.

Logs
N/A

Screenshots / photos of the Turing screen
N/A

Environment:
-Debian 13 MINIMAL install (No GUI)
Turzx 5.2 Inch smart screen USB.

Additional context
See attached photos of btop from when my system is not running the script vs when it is (Of note is I run an entire minecraft server and multiple other things on this server and the smart screen tool is using more than ANY of those services)

Without Script Running
Image

With script running. Note the 20% CPU usage on a 16 core system as it loads just about every core quite heavily.
Image

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 tool on Debian 13 while monitoring it with btop, then profile or inspect the monitoring loop to identify why CPU usage rises across cores. Compare usage with the script stopped and running. Done means the monitor retains the expected display behavior while using substantially less CPU.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.