moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.5k stars 326 forks source link

Is it possible to make use of drm lease protocol to run under wayland? #887

Open amazingfate opened 7 months ago

amazingfate commented 7 months ago

On rockchip platforms with weak cpu, moonlight-embedded has better performance than moonlight-qt. For example on rk3568 board, moonlight-qt has low framerate when streaming 4K, while moonlight-embedded work fine. But moonlight-embedded has to run under tty with arg -platform rk. I guess GPU of rk3568 is not powerful enough for SDL/EGL painting of 4K streaming, so drm zero-copy is necessory for lower-end platforms.

Wayland has DRM lease protocol, which should allow wayland client using drm resources to my understanding. And at the moment wayland compositors like wlroots, kwin has implemented it.

It will be nice if moonlight-embedded can run under wayland with drm zero-copy support.