Quantcast
Viewing all articles
Browse latest Browse all 4909

Interfacing (DSI, CSI, I2C, etc.) • Re: RPI4 vs Zero 2W: SPI performances / stability (mipi-dbi-spi)

I don't see Gamma and VCOM settings -> I'm not surprised you claim bad performance.
Yes, might be working ... Somehow
Hi @aBUGSworstnightmare,

First thanks for your indications/directions. In fact i did try a lot (lot) of different vcom/gamma settings without never getting more than ~43 fps at 80mhz spi speed or more than 60 fps at 100mhz (with colors problems on the pi zero 2).

In the meantime, i did some experiments with the clock frequency and was able to see that the display can handle 90Mhz on the pi zero 2, but this is sill not enough (~55fps).

So i did look closer to the "drm-mipi-dbi" code and did find that it's (i'm) currently using "xrgb8888" color format, and so the pi zero 2 is "loosing" a lot of time on the "software" conversion (around 15 fps) here: https://github.com/raspberrypi/linux/bl ... dbi.c#L223

Today i will at least try to use an rgb565 "framebuffer", and/or maybe try to "improve" the conversion (threading + double buffering ?).

Statistics: Posted by cpasjuste — Tue Jan 14, 2025 7:23 am



Viewing all articles
Browse latest Browse all 4909

Trending Articles