mathoudebine / mathoudebine/turing-smart-screen-python

Display artifact/noise on the right edge of a 9.2-inch display (1920 x 462)

Open
#1,090 2 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
When I load a specific custom theme, the right edge of the display shows some random colored pixel noise. It seems the image does not fully overwrite the background on the far right edge, even though the dimensions are perfectly fine.

Image

To Reproduce
Steps to reproduce the behavior:

  1. Create a custom theme folder or use an existing project (such as AMD or Cyberpunk).
  2. Use the existing YAML file that has already been uploaded as a template.
  3. Use the attached background.png as the background.
  4. Run the python script to load the theme.
  5. Look at the right edge of the smart screen to see the colored noise.

Expected behavior
The screen should be perfectly filled with the background image from left to right without any noise, just like it does with other themes.

Logs

The script runs normally and does not output any crash logs or errors. It just renders the artifact on the screen.

Screenshots / photos of the Turing screen
The strange thing is that all the included themes exhibit this defect, except for one project: the Blue Technology theme. I have absolutely no idea why, but with this one, the image is perfectly aligned on the screen, unlike with Cyberpunk, the AMD theme, or my own attempts to copy the Blue themes.

BLUE:

Image Image [theme.txt](https://github.com/user-attachments/files/32065608/theme.txt) Image Image Image

AMD:

Image [theme.txt](https://github.com/user-attachments/files/32065575/theme.txt)

My:

Image

Environment:

  • Smart screen model: TURZX 1920x462 LCD
  • Revision of this project: main branch
  • OS with version: Ubuntu 26.04
  • Python version: Python 3.14.4
  • Hardware: Intel CPU and Nvidia GPU

Additional context
I tried to troubleshoot this myself to ensure it's not a hardware or YAML issue:

  1. If I take the Blue image (background.png) and put it into the AMD theme folder (without changing a single line of YAML code or x/y offsets), the display is 100% seamless and perfect.

  2. I checked both images with the Ubuntu file command to see if the dimensions differ. Both output the exact same specs: 1920 x 480, 8-bit/color RGBA, non-interlaced.

Since both images share the exact same resolution and RGBA format, but only the AMD one causes the noise, could it be related to some invisible/transparent pixels on the edge of the AMD image that are not being rendered with a solid color? I am not an expert with image decoding, so this is just a wild guess.

Any help is greatly appreciated!

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 Python theme loader with the supplied YAML and background.png, then compare the AMD and Blue Technology theme configurations and assets. Trace the display-rendering path for the 1920x462 screen and verify the fix by reproducing the theme with no colored noise at the right edge.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.