GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Larry (Mr.Optimization) (fast_code_r_us@floss.social)

  1. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Monday, 27-Jan-2025 07:35:54 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    I added a new example to my FastEPD library today. It's not 100% done, but you can start playing with it if you have a M5Stack PaperS3. Here's a short video of it in action:

    https://youtube.com/shorts/4gfZluva_18?feature=share

    It allows you to navigate the files on the SD card and view (some) image files.

    In conversation about 5 months ago from floss.social permalink
  2. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Monday, 20-Jan-2025 02:59:21 JST Larry (Mr.Optimization) Larry (Mr.Optimization)
    in reply to

    The video file is compiled into the code for this first demo; next I'll read it from the uSD card. This test is of a 22-second 320x240 30fps old Simpsons scene (1.8MB). It averages 2.7K bytes per frame (audio+video)

    In conversation about 5 months ago from floss.social permalink
  3. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Monday, 20-Jan-2025 02:58:49 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    I added an ESP32-S3 player Arduino example to the pl_mpeg repo for testing. It's nearly able to play 320x240 30fps video w/audio at full speed. The audio is the source of the slowdown now. It's the floating point samples and having to convert them to 16-bit integers. That's the next area to work on - getting rid of the floating point math.

    https://youtu.be/hO5Fm7-GFOo

    In conversation about 5 months ago from floss.social permalink
  4. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Friday, 17-Jan-2025 08:10:13 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    Some quick observations about the ESP32-P4 PCB:
    - The PSRAM is integrated into the SoC and is faster than other ESP32s.
    - The MIPI DSI (LCD) output is a new bit of hardware and software. It allocates the frame buffer in PSRAM and needs a new API to flush the cache properly.
    - It's faster than the ESP32-S3, but not dramatically. The STM32H7 is still much faster than the ESP32-P4
    - It has some new 2D DMA I need to explore; it might allow some interesting graphics acceleration.

    In conversation about 5 months ago from floss.social permalink
  5. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Friday, 17-Jan-2025 06:08:18 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    Here's a quick demo of what I achieved with my optimization of pl_mpeg. A 320x240 video running on the ESP32-S3 and averaging 74 FPS 👀

    https://youtu.be/j0QUj42GYQY

    The goal is to play any video this size at its rated speed (usually 24fps) on the ESP32-S3.

    In conversation about 5 months ago from floss.social permalink

    Attachments

    1. Latest mpeg-1 player is crazy fast. 320*240 avg FPS = 74.2!
      ESP32-S3 playing video from FLASH memory. Audio is decoded, but not sent to a speaker. Makerfabs 4" 480x480 RGB LCD.
  6. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Thursday, 16-Jan-2025 08:37:24 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    Thanks to a few helpful testers, my FastEPD library is rapidly supporting a lot more eink panels (8 and 16-bit parallel). One of the features I needed to add was the ability to flip the X and Y directions for certain (odd) panels. Here's a photo of the Y flip on a panel which doesn't need it.

    In conversation about 5 months ago from floss.social permalink

    Attachments


    1. https://cdn.masto.host/floss/media_attachments/files/113/833/921/798/251/117/original/43c3aab382c422ba.jpg
  7. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Saturday, 28-Dec-2024 11:28:44 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    My parallel e-paper library is nearly all fleshed out. This video shows the 3 main ways you can update the display (full update with flash black/white, faster regional update with flash and partial update with no flash).
    https://youtu.be/UInzMlpk8ks

    In conversation about 6 months ago from floss.social permalink

    Attachments

    1. Three types of updates in bb_epdiy: Full (slow), Full (fast, with region), Partial (fast, no flash)
      from tdfsoftware
      Different types of updates are needed for different situations. The flashing to black/white is needed to increase the mobility of the pigment grains and get ...
  8. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Tuesday, 24-Dec-2024 12:36:54 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    M5Stack PaperS3 running my (partially finished) bb_epdiy library:

    https://youtu.be/8-cR3clCKIk

    In conversation about 6 months ago from floss.social permalink
  9. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Tuesday, 24-Dec-2024 12:36:53 JST Larry (Mr.Optimization) Larry (Mr.Optimization)
    in reply to
    • Martin Fasani

    The same code also runs on @fasani 's EPDiy V7 PCB:

    https://youtu.be/7P4nBP8v6do

    In conversation about 6 months ago from floss.social permalink
  10. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Sunday, 22-Dec-2024 06:21:49 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    In case you haven't seen it, I'm helping with the ZeroWriter project. I optimized the Inkplate library for a couple of their epaper PCBs. ZeroWriter 1.0 will ship with the Inkplate5V2 inside. By optimizing the code, it now has acceptable latency to be used as an electronic typewriter:

    https://www.youtube.com/watch?v=Eu8y8mqh5r8

    In conversation about 6 months ago from floss.social permalink
  11. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Friday, 20-Dec-2024 10:45:22 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    Today I made use of a tool I wrote several years ago. I wrote it to test performance of my code.

    A new client is using an i.MX 6 (Cortex-A9) CPU for their product and my gcc_perf tool allowed them to see the direct benefit of being sensitive to the functioning of the CPU write buffer and in-cache vs DRAM latency:

    https://github.com/bitbank2/gcc_perf

    In conversation about 6 months ago from floss.social permalink

    Attachments


  12. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Friday, 20-Dec-2024 10:41:26 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    The first project (that I'm aware of) using my Group5 image compression has had some great success. The openepaperlink project from Aaron Christophel has successfully built the image decoder on a 8051 based electronic shelf label (a very constrained MCU). This reduced the image transmission time by 66% (same with the power). More details soon.

    #epaper
    #ESL

    In conversation about 6 months ago from floss.social permalink
  13. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Friday, 20-Dec-2024 06:51:41 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    Besides the cost and speed of e-paper hardware, how do you feel about the software? I see the value of Python for a lot of users, but the tradeoffs for me are not worth it. When experimenting with Python on the Raspberry Pi, I found the following:
    - Extra steps / problems encountered when setting up the environment
    - Slow speeds (could be several reasons)
    - Lack of features: the only exposed method is full refresh. This limits what you can do with e-paper.

    Thoughts?

    In conversation about 6 months ago from floss.social permalink
  14. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Sunday, 15-Dec-2024 02:45:04 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    Conway's game of life on e-paper? Sure, why not?

    https://youtu.be/mdOq_wnun_U

    In conversation about 6 months ago from floss.social permalink
  15. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Saturday, 14-Dec-2024 04:34:21 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    I added a similar web server example to my bb_epaper project. This one does image compression on the ESP32 through a self-hosted web interface. The user uploads a 1-bit per pixel Windows BMP file and gets back a Group5 (my compression) compressed file as either binary or C HEX values.

    https://github.com/bitbank2/bb_epaper

    The ESP32 is capable of doing quite a bit on its own. I'm sure I'll expand on this type of project in the near future.

    In conversation about 6 months ago from floss.social permalink

    Attachments


    1. https://cdn.masto.host/floss/media_attachments/files/113/304/822/185/108/518/original/1571767b64764697.png
  16. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Friday, 13-Dec-2024 03:57:51 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    I just added a new project to my "CYD_Projects" repo:

    https://github.com/bitbank2/CYD_Projects

    This one creates a web server on the ESP32 and allows you to upload JPEG images which get displayed on the LCD.

    In conversation about 6 months ago from floss.social permalink

    Attachments


    1. https://cdn.masto.host/floss/media_attachments/files/113/299/777/788/246/759/original/93e3deaf29d11df4.png
  17. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Wednesday, 13-Nov-2024 19:21:00 JST Larry (Mr.Optimization) Larry (Mr.Optimization)
    in reply to
    • Jan Wildeboer 😷:krulorange:

    @jwildeboer What software are you using to drive it? Would you be willing to try my bb_epaper library?

    In conversation about 7 months ago from floss.social permalink
  18. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Monday, 04-Nov-2024 10:41:03 JST Larry (Mr.Optimization) Larry (Mr.Optimization)

    For any #Pimoroni fans, I just confirmed that one of my bb_epaper configurations works on the InkywHAT 4.2" 400x300 B/W/R product. Now you can program your e-paper apps in native code. Try the rpi/examples/compressed_font example.
    https://github.com/bitbank2/bb_epaper

    In conversation about 8 months ago from floss.social permalink

    Attachments


    1. https://cdn.masto.host/floss/media_attachments/files/113/419/836/562/137/099/original/ec2d8f5f976bfef1.jpg
    2. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      GitHub - bitbank2/bb_epaper: A frustration-free library for working with all 24-pin eink panels
      A frustration-free library for working with all 24-pin eink panels - bitbank2/bb_epaper
  19. Embed this notice
    Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Saturday, 03-Aug-2024 03:57:54 JST Larry (Mr.Optimization) Larry (Mr.Optimization)
    • Chris Wiegman

    @chris "Right to work" = "employees are head-count / chair-warmers"
    Since interest rates rose about 18 months ago, big tech companies have had a convenient excuse to lay off 1000's even though they can easily afford to double the number of employees on payroll. "Shareholder perceived value" and "CEO compensation" are much more important to them these days.

    In conversation about 11 months ago from floss.social permalink

User actions

    Larry (Mr.Optimization)

    Larry (Mr.Optimization)

    I work with bits, bytes and pixels. I'm also pretty good at optimizing code. Lately I've been doing a lot of proof of concepts for clients. I share my personal projects on GitHub here: https://github.com/bitbank2I started programming as a teen in the late 70's with 8-bit micros.Knowledge is to be shared, not hoarded.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          274358
          Member since
          2 Aug 2024
          Notices
          19
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.