Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colors invert randomly #1984

Closed
1 task done
Alerymin opened this issue Jan 19, 2024 · 15 comments · Fixed by #2046
Closed
1 task done

Colors invert randomly #1984

Alerymin opened this issue Jan 19, 2024 · 15 comments · Fixed by #2046
Labels
bug Something isn't working
Milestone

Comments

@Alerymin
Copy link

Alerymin commented Jan 19, 2024

Verification

  • I searched for similar bug reports (including closed issues) and found none was relevant.

What happened?

Colors inverted for no apparent reason

What should happen instead?

Colors should stay the same

Reproduction steps

?

More details?

Looks similar to #1022 but did not happen when charging
Happened on 2 different Infinitime watches
IMG_20240119_193153_564
IMG_20240119_193202_507

Version

1.14.0

Companion app

No response

@Alerymin Alerymin added the bug Something isn't working label Jan 19, 2024
@KaffeinatedKat
Copy link
Contributor

yea i'm really not sure why this happens, and i've seen it occur multiple times while working with the display driver. My best guess is there is some issue with how we are writing to the LCD control register, and accidentally (perhaps an overflow) writing the command to invert the colors. I'll have to do some investigation to be sure though

@riban-bw
Copy link

I have seen this happen. Would a (temporary) work-around be to assert the flag to not invert colours when accessing a screen, e.g. watchface / info.

@DEPSUT
Copy link

DEPSUT commented Jan 31, 2024

This has happened to me, but I know a way of reproducing this issue.

You need to turn on lower wrist to put the watch to sleep and go to the paint app, then just keep holding the screen and lower it until the screen turns off, and after you turn the screen on again, all the colors are inverted, I have attached a video showing it.

It may have something to do with the issue #1992

20240131_175223_1.mp4

@KaffeinatedKat
Copy link
Contributor

I can reproduce this as well. This issue seems to also be the roots of the issue we're experiencing with #1869 (#1869 (comment)). There is some kind of issue with how the display is being controlled (SPI), which is causing unexpected behavior with the display

@mark9064
Copy link
Member

Having a consistent repro is amazing, thanks!!!!

@Alerymin
Copy link
Author

Alerymin commented Apr 8, 2024

I managed to trigger this bug by turning off and on multiple times the watch. I never managed to reproduce it though.

@JF002
Copy link
Collaborator

JF002 commented May 1, 2024

I've just merged @2046 #2046 ! This issue will hopefully not occur again :)
Thanks to @mark9064 for their great work!

@JF002 JF002 added this to the 1.15.0 milestone May 1, 2024
@Saarsk
Copy link

Saarsk commented Jun 4, 2024

I've just merged @2046!

I think maybe you didn't intend to @ the user 2046 but instead refer to #2046? :)

@JF002
Copy link
Collaborator

JF002 commented Jun 9, 2024

I think maybe you didn't intend to @ the user 2046 but instead refer to #2046? :)

You're right, thanks for letting me know about this typo (and sorry to user 2046 for the unexpected ping :) ).

@mark9064 mark9064 mentioned this issue Nov 5, 2024
1 task
@Ghoelian
Copy link

Ghoelian commented Dec 2, 2024

I just ran into this issue for the first time, running on the latest commit on main right now (commit 79ee886). Looks like it's not entirely fixed yet.

@Ghoelian
Copy link

Ghoelian commented Dec 2, 2024

Actually sorry nevermind, I didn't validate the firmware so it reverted back to some other commit I don't remember.

@Ghoelian
Copy link

Hey it's me again. The issue just resurfaced, this time on 1.15.0 (my own fork though).

Here's some pictures:

Image

Image

@KaffeinatedKat
Copy link
Contributor

KaffeinatedKat commented Feb 25, 2025 via email

@Ghoelian
Copy link

OTOH I added 2 settings related to vibration, and added a weather controller to a watchface. Could that have anything to do with this bug?

I'll look at the diff when I get home to be sure.

@9cxndy
Copy link

9cxndy commented Mar 5, 2025

I got hit by this as well. didn't happen when charging, lower wrist is turned on. I am running 728da0f with the background heartrate PR (#1718)

edit: repro method in this issue doesn't work. there probably is another way to trigger this bug. this just happened randomly to me so i don't know how this happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants