Skip to content

Use nonswapped RGB888 for LT8912B HDMI output.#206

Open
TinyuZhao wants to merge 1 commit into
m5stack:developfrom
TinyuZhao:develop
Open

Use nonswapped RGB888 for LT8912B HDMI output.#206
TinyuZhao wants to merge 1 commit into
m5stack:developfrom
TinyuZhao:develop

Conversation

@TinyuZhao

Copy link
Copy Markdown
Member

No description provided.

@tobozo

tobozo commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

isn't that redundant with cfg.invert and cfg.rgb_order inherited from Panel_Device?

@TinyuZhao

Copy link
Copy Markdown
Member Author

isn't that redundant with cfg.invert and cfg.rgb_order inherited from Panel_Device?

cfg.invert controls color inversion, not RGB/BGR channel order.

cfg.rgb_order is a panel-level setting normally used by LCD/DSI command panels.

The LT8912B is driven through the ESP32-P4 DPI framebuffer path. In this case, the issue is that the RGB888 framebuffer layout does not match what the ESP32-P4 DPI/LT8912B scanout path expects, causing red and blue to be swapped across different drawing APIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants