Nearly. There is an extra library called libliftoff that can sit alongside wlroots and will allow offload of suitable resources to the DRM driver as overlay planes. Anything that libliftoff can't render live will be composed through OpenGL first. I'd hope that would cope with spreading one suitable object over multiple displays with cropping rectangles, but I'd need to check with colleagues.The trick to play videos smoothly across two displays is to decode them into a DRM framebuffer and the playing that single FB into cropped planes on each display. That way everything should be zero copy and as fast as possible. My software can do this. I’m not sure there’s any other that does that?
Would the same be possible within wayland? Or does that necessarily compose into its own buffer and spreads that across displays? In that case, placing a single playback window across displays would involve an extra copy.
Statistics: Posted by 6by9 — Thu May 09, 2024 7:57 am