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
CVBS output flickers/glitches when ESP32 SPIRAM is enabled #295
Comments
@alex1115alex When I run your sample code, glitching does indeed occur. Perhaps there is a difference in the MenuConfig settings. |
Hey @lovyan03, thanks for giving me a good starting point to work from. I'll poke around and report back if I'm able to find a fix... |
@lovyan03 I'm back with two solutions. The first (quick and dirty): Set The second (slightly better): Change the preferred core from 0 to 1 in Panel_CVBS.cpp:87. I've made a PR for this here. I'm not 100% certain why this works, but I got the idea from this issue which suggests that different cores use different sections of SPIRAM while using the EspIdf environment with older ESP32 revisions. I'll leave this issue open in case I stumble upon any new info in the next week or so... |
idea : add also add [edit] see implementation on this branch |
Thanks for your report ! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Thank you for your contributions. |
I apologize for the long wait. |
Environment ( 実行環境 )
Problem Description ( 問題の内容 )
Output becomes glitchy when "CONFIG_ESP32_SPIRAM_SUPPORT" is enabled and set to "CONFIG_SPIRAM_USE_MALLOC" or "CONFIG_SPIRAM_USE_CAPS_ALLOC".
Expected Behavior ( 期待される動作 )
Actual Behavior ( 実際の動作 )
Steps to reproduce ( 再現のための前提条件 )
// If possible, attach a picture of your setup/wiring here.
(TinyPico ESP32 + CVBS to USB capture card)
Code to reproduce this issue ( 再現させるためのコード )
https://github.com/alex1115alex/LovyanGFX-CVBS-Glitch
The text was updated successfully, but these errors were encountered: