esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
404 stars 26 forks source link

FabGL (+lvgl ?) display support #2733

Open docteurzoidberg opened 1 month ago

docteurzoidberg commented 1 month ago

Describe the problem you have/What new integration you would like

Actually we don't have analog display options available in ESPHome. Now there is a lvgl component. FabGL library support (which have lvgl support) would be great.

There is also another libraries doing composite or vga video but FabGL have supported esp boards.

Please describe your use case for this integration and alternatives you've tried:

Retrofitting existing monitors, TVs, terminals, etc. Thinking about RVs, arcade cabinets. hotels rooms, CCTV and more. mainly retrofitting purposes.

Additional context

FabGL's documentation:

http://www.fabglib.org/

nagyrobi commented 1 month ago

FabGL library support (which have lvgl support) would be great.

Not sure how that works, but likely it's about LVGL's own video driver talking directly to FabGL. That's not how ESPHome works. ESPHome has its own display drivers - completely independent from LVGL (you can use them with lambdas too), and LVGL talks to these.

It would be needed to implement a FabGL mod integrating under ESPHome as a display driver (pretty much like LibreTiny is generally), which would be usable either with lambdas, LVGL or anything else the future may bring.

docteurzoidberg commented 1 month ago

FabGL library support (which have lvgl support) would be great.

Not sure how that works, but likely it's about LVGL's own video driver talking directly to FabGL. That's not how ESPHome works. ESPHome has its own display drivers - completely independent from LVGL (you can use them with lambdas too), and LVGL talks to these.

It would be needed to implement a FabGL mod integrating under ESPHome as a display driver (pretty much like LibreTiny is generally), which would be usable either with lambdas, LVGL or anything else the future may bring.

Yes that would need a rewrite. but what i meant was the porting of the VGAbuffers classes and CVBS ones from FabGL. That's for me the missing link for composite/vga output for esphome