I rewrote the USBridge-KVM 2.0 video pipeline to integrate Moonlight/Sunshine and achieved smooth operation.
Historically, Sunshine lacks native support for Rockchip MPP/RGA.
I delved into the Sunshine code and reworked the video pipeline. Now, the raw YUYV422 stream from the capture card is fed to the Rockchip RGA 2D engine, which converts it to NV12 in microseconds. From there, the NV12 frames are passed to the H.264 MPP (Media Process Platform) hardware encoder.
It runs on the chip via a DMA buffer. The result? Stable 1080p @ 60 FPS streaming using Moonlight's built-in FEC function to suppress connection dropouts.
#Moonlight #KVM #Rockchip #EmbeddedLinux #Hardware #OpenSource #Sunshine #HomeLab #DIY








