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

5.4beta2 vs 5.3.2 difference (IDFGH-14216) #15013

Open
3 tasks done
dannybackx opened this issue Dec 10, 2024 · 3 comments
Open
3 tasks done

5.4beta2 vs 5.3.2 difference (IDFGH-14216) #15013

dannybackx opened this issue Dec 10, 2024 · 3 comments
Assignees
Labels
Status: Opened Issue is new Type: Bug bugs in IDF

Comments

@dannybackx
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

5.4 beta 2 compared to 5.3.2

Espressif SoC revision.

Warning: ESP32-S3 has no Chip ID. Reading MAC instead. MAC: 48:27:e2:e7:4a:88

Operating System used.

Linux

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

ZX3D95CD01S

Power Supply used.

External 5V

What is the expected behavior?

I expected the image to be the same

What is the actual behavior?

Visual output shifted

Steps to reproduce.

https://sourceforge.net/p/esp32-s3-86-box-project-base/code/HEAD/tree/trunk/alarm

Compile with the two versions mentioned.
v5 3 2
v5 4b2

Debug Logs.

No response

More Information.

No response

@dannybackx dannybackx added the Type: Bug bugs in IDF label Dec 10, 2024
@github-actions github-actions bot changed the title 5.4beta2 vs 5.3.2 difference 5.4beta2 vs 5.3.2 difference (IDFGH-14216) Dec 10, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 10, 2024
@Lzw655
Copy link
Collaborator

Lzw655 commented Dec 19, 2024

Hi @dannybackx,

I'm sorry you encountered this issue and not sure what changes ESP-IDF 5.4 beta has compared to 5.3.2. But this is an RGB LCD screen drift issue that occurs with a high probability when using WIFI or erasing the flash. I reviewed the source code you provided, and the issue can be resolved with the following modifications:

  • Add new configuration options in sdkconfig to improve system performance:
    • CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
    • CONFIG_COMPILER_OPTIMIZATION_PERF=y
    • CONFIG_FREERTOS_HZ=1000
  • Set .bounce_buffer_size_px = 10 * 480, in the GC9503 LCD initialization configuration esp_lcd_rgb_panel_config_t (if the issue persists, try increasing it to 20 * 480).

@dannybackx
Copy link
Author

Thanks but these don't help

@Lzw655
Copy link
Collaborator

Lzw655 commented Dec 23, 2024

Sorry, I missed something. Please also add the CONFIG_SPIRAM_XIP_FROM_PSRAM=y configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

3 participants