Skip to content

OLED Display Driver

The OLED is exposed through the standard DRM/KMS interface as /dev/dri/card0. It has a fixed 128 by 96 pixel mode; applications should use DRM rather than a framebuffer device.

Use modetest to perform a basic modeset test:

modetest -M ssd130x -s 32:128x96

The libretouch-gif-player application plays an animated GIF through the same DRM/KMS interface:

libretouch-gif-player animation.gif

Pass a DRM device explicitly when it is not /dev/dri/card0:

libretouch-gif-player animation.gif /dev/dri/card0