How to debug flickering/vertical vibration? #39
-
Good afternoon, could please anyone provide some guidance on how to debug and fix the problem with uncontrolled flickering and line position of the screen. I'm porting the code that worked fine on TFT display of LilyGo T-GO to the composite-video driven device and I ran into the issue where the text is jumping left-right (actually, up-down because 270 rotation) without any apparent reason: video_2022-10-02_19-03-51.mp4(don't mind the color lines-this is just camera artifact) When running examples provided with the library, everything seem to be fine and text or pictures remain in place. Some explanations: That also forces me to call |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
First suggestion is to narrow down the scope of the problem by testing different variables.
|
Beta Was this translation helpful? Give feedback.
-
Also, try different models of board in the Arduino IDE. I had a problem like this once and it turned out to be the model of esp32 selected. |
Beta Was this translation helpful? Give feedback.
-
Apologies for the long reply, I had to test out many things to get to the root cause. Turned out the problem is with Platformio's compiler which caused this flickering, and that was the reason why your basic Arduino examples on the other hand were working just fine For those who wondering, add these lines to your
Update: another flag might cause waving distortion effects to the output, so be aware of setting |
Beta Was this translation helpful? Give feedback.
Apologies for the long reply, I had to test out many things to get to the root cause. Turned out the problem is with Platformio's compiler which caused this flickering, and that was the reason why your basic Arduino examples on the other hand were working just fine
For those who wondering, add these lines to your
platformio.ini
file:Update: another flag might cause waving distortion effects to the output, so be aware of setting
build_type = debug