Get the latest tech news
Accessing a DRM Framebuffer to display an image
To test if a display interface works we often don't want to use a huge framework like GTK or Qt. This article shows an easy way on how we can use a framebuffer directly on a DRM graphics driver under Linux.
This shows random data on the display and a lot of gray, red, blue, and green dots appear. We can't just simply dump data to a character device to show it on a display. The goal of this article is to show a way on how we can write a simple application, which allows us to test a display in a similar way as when we had the old framebuffer device interface.
Or read this on Hacker News