3 ms·
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
by jchw 2mo ago
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/platform/linux/kmsgrab.cpp https://github.com/LizardByte/Sunshine/blob/master/src/platf...