LVGL's colorwheel color display has many bars

gkngao
Posts: 2
Joined: Wed Apr 16, 2025 5:59 am

LVGL's colorwheel color display has many bars

Postby gkngao » Wed Apr 16, 2025 6:30 am

Hello everyone, seniors! I have a project that uses the ESP32-C3 chip, paired with freertos and LVGL. The color display of the colorwheel ring in LVGL has many bars, and currently there is no solution to optimize it. The colorwheel ring color has many bars during transition changes, and there are gaps in some places. Please refer to the attached image for specific positions! The version of LVGL is 8.3. Please do not hesitate to give guidance, thank you in advance!
Attachments
533.png
The boxed part in the picture is easily visible with bars and gaps
533.png (25.86 KiB) Viewed 8481 times

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: LVGL's colorwheel color display has many bars

Postby Sprite » Thu Apr 17, 2025 2:50 am

Probably because the display is controlled in RGB565 mode: that only has 32 different values for the red and blue hues. You'd need to control the display in RGB888 mode to get rid of these, but note that that takes up 50% more bandwidth and RAM. (Either that or use dithering, but I don't think lvgl supports that by itself.)

gkngao
Posts: 2
Joined: Wed Apr 16, 2025 5:59 am

Re: LVGL's colorwheel color display has many bars

Postby gkngao » Thu Apr 17, 2025 7:13 am

I'm glad to receive your guidance. The display screen I am using is controlled in RGB565 mode: can I control the display screen in RGB888 mode without changing the display screen? If possible, would there be significant software changes? thank you!

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: LVGL's colorwheel color display has many bars

Postby Sprite » Sun Apr 20, 2025 5:22 am

I'm glad to receive your guidance. The display screen I am using is controlled in RGB565 mode: can I control the display screen in RGB888 mode without changing the display screen? If possible, would there be significant software changes? thank you!
That's kinda hard for me to say without knowing what display you have and what driver you use for that.

Who is online

Users browsing this forum: No registered users and 1 guest