embear-engineering / drm-framebuffer

A simple application which can be used to test a Linux DRM device
GNU General Public License v3.0
55 stars 21 forks source link

Cool stuff for drm connectors on same framebuffer #8

Open davidgirard opened 5 months ago

davidgirard commented 5 months ago

Hey there,

I ran into your code by chance, compiled it for my pi, it works great!

Reason why I'm here: I have 2 displays on a headless raspberry pi, I just couldn't get fbi to send its output to a specific drm connector, as both screens appear under the same framebuffer with the default raspberry pi driver. Your code did the trick.

I was thinking, wouldn't it be nice if drm-framebuffer could refresh the framebuffer as soon as a new image is passed to it? Right now it collects the framebuffer data, displays it, and then wait until it gets killed. I'll try to see if I can tweak your code and do a pull when I get a chance.

Thanks.

eichenberger commented 2 months ago

Hi @davidgirard

Sorry for the late response. I think your proposal makes sense and would be nice. If you have a MR let me know, if not maybe I can do the change at one point.