logoalt Hacker News

jchwtoday at 10:01 AM0 repliesview on HN

Not that I'm aware of. I'm on my phone right now but any KMS driver that supports KMS and dma-bufs should work.

The basic idea is to enumerate the CRTCs to get the relevant framebuffer plane resources and then use dma-buf exports to pass them to an encoder. Reality can be a bit more complex due to the existence of overlay planes but that's the idea.

https://github.com/LizardByte/Sunshine/blob/master/src/platf...