Giter VIP home page Giter VIP logo

Comments (4)

TCB13 avatar TCB13 commented on June 18, 2024 1

Thank your for the patience and detailed answer. It makes perfect sense now. I'm going to try the framebuffer driver route and see how it goes.

from luma.lcd.

rm-hull avatar rm-hull commented on June 18, 2024

No plans to write a driver for it, but if there is a Linux framebuffer driver for this device, you could use https://luma-core.readthedocs.io/en/latest/device.html#luma.core.device.linux_framebuffer instead

from luma.lcd.

TCB13 avatar TCB13 commented on June 18, 2024

Interesting, so I can get a PIL.ImageDraw out of the core device and use it to draw stuff in the same way I do with supported screens?

Side question, this library seems to support ILI9341 and there's also fb_ili9341 for it. Why is supported "natively" by the library and the other is via framebuffer? Or it all comes down to nobody with the skills and time to implement it on the library needs it?

Thank you.

from luma.lcd.

rm-hull avatar rm-hull commented on June 18, 2024

Interesting, so I can get a PIL.ImageDraw out of the core device and use it to draw stuff in the same way I do with supported screens?

Yes, exactly

Side question, this library seems to support ILI9341 and there's also fb_ili9341 for it. Why is supported "natively" by the library and the other is via framebuffer?

The original ILI9341 driver was quite slow - pushing out a lot of pixels in python on a RPi was "challenging". We made some improvements to the diff to previous framebuffer, so it only drew changes since last time - this immensely improves FPS.

The framebuffer luma driver is universal (and was implemented after the ili9341 IIRC), and obviously there exists a number of different fb kernel drivers, so adding the framebuffer luma impl opened up to more devices.

Also framebuffer driver is likely to be better performance for larger screen resolutions

Or it all comes down to nobody with the skills and time to implement it on the library needs it?

I guess it mostly boils down to that yes, plus needing to acquire a device to test against

from luma.lcd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.