Hello,
I am looking to use a commonly found ST7789v2 SPI display with a Raspberry Pi 5; I've done a quick scan through this thread:
viewtopic.php?t=366247
admittedly I was unable to parse through and actually understand how to get the display working via DRM
This is my kernel verison:The display is 240x280 resolution.
and my display is wired up as shown here:
![Image]()
I can confirm the wiring is correct and display is functional via demo python script that can write to the display.
However for my use case, I would rather abstract away and have a kernel driver handle display updates; as I want to create an SDL2 / OpenGL based gui that can interface with DRM/KMS backend natively.
How is this achievable at the moment? I'm unware of what kernel driver I need to use? fbtft? tinydrm? are this included?
I am looking to use a commonly found ST7789v2 SPI display with a Raspberry Pi 5; I've done a quick scan through this thread:
viewtopic.php?t=366247
admittedly I was unable to parse through and actually understand how to get the display working via DRM
This is my kernel verison:
Code:
6.1.77-v8-16k+
and my display is wired up as shown here:

I can confirm the wiring is correct and display is functional via demo python script that can write to the display.
However for my use case, I would rather abstract away and have a kernel driver handle display updates; as I want to create an SDL2 / OpenGL based gui that can interface with DRM/KMS backend natively.
How is this achievable at the moment? I'm unware of what kernel driver I need to use? fbtft? tinydrm? are this included?
Statistics: Posted by schoolpost — Thu Apr 11, 2024 8:51 pm — Replies 0 — Views 16