Closed Kool-Whipp closed 1 year ago
@6by9 Any advice on this one? I have no idea if/how you could make DRM work with a panel like this... Thanks!
What is this TFT display? DPI, DSI, SPI, I2C, or some other interface? What resolution?
DSI, DPI, HDMI, and composite video all go through the Pi's HVS and therefore support numerous source formats (including YUV420). They should all work with Picamera2.
SPI and I2C displays tend to only be RGB only, frequently have no DRM driver, and are very slow to update. Picamera2 could theoretically produce RGB for the preview stream (I don't know if that selection mechanism is implemented), but it would also need to select the primary DRM plane rather than an overlay plane on these displays.
Display info:
Largely not a hope then.
I'm guessing https://www.adafruit.com/product/4484 which is 1.3" 240x240 - there is no DRM driver for it.
There is a DRM driver for the 2.8" and 3.5" PITFT displays that also connect over SPI, but I've not tried them with Picamera. I suspect that they would also not be able to find a compatible plane for the reasons I'd listed above.
That would be correct. That's a shame then... Thank you for the quick turnaround on the issue!
I'm attempting to display the camera's preview on a TFT using the DRM preview. I run the below python script:
I get the following Error:
It operates fine when an HDMI display is plugged in but not the TFT display.