Yoe Kiosk Browser on SPI connected LCD

Can the browser be output to an ILI9341 LCD connected via SPI on a Raspberry Pi? I presume hardware acceleration would only be possible by copying the HDMI framebuffer to the LCD display?

Qt has a software 2D renderer that can be used to render on frame buffer displays. We’ve had success with this in the past.

https://doc.qt.io/QtQuick2DRenderer/

I managed to get the display working by enabling drm support in the dtoverlay and then changing these few lines in /etc/default/eglfs.json to:

{
  "device": "/dev/dri/card2",
  "outputs": [
    {
      "name": "LVDS-1",
      "mode": "320x240"
    }
  ]
}

These were the changes in the config.txt for anyone playing at home:

dtparam=i2c_arm=on
dtparam=i2c1=on
dtparam=spi=on
dtoverlay=pitft28-capacitive,rotate=90,speed=64000000,fps=30,drm

Touch is working but not correctly so that will be next. This and the Yoe distro are looking like a good fit for our project!

2 Likes