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.
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.
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.