Skip to main content

Moonlight PC

Moonlight PC is an open-source PC client for NVIDIA GameStream and Sunshine, hereinafter referred to as "Moonlight".

info

Due to GPU driver limitations, Moonlight can only be experienced with the RK3588 series of products using the Radxa OS Bookworm operating system. Other products can be tested at your own discretion, but the results may be unsatisfactory.

Compile and install rockchip-ffmpeg

Refer to RTSP Streaming, there is no need to follow the entire documentation. Just follow the instructions up to Compile and Install ffmpeg-rockchip to install rockchip-ffmpeg.

tip

If you build ffmpeg-rockchip yourself for Moonlight, make sure the ffmpeg-rockchip ./configure arguments include --enable-shared. Otherwise Moonlight may pick the static libavcodec.a during linking and fail with missing system library errors such as undefined reference to symbol 'inflateEnd'.

Install Moonlight build dependencies

sudo apt-get update
sudo apt-get install libegl1-mesa-dev libgl1-mesa-dev libopus-dev libsdl2-dev libsdl2-ttf-dev libssl-dev \
libavcodec-dev libavformat-dev libswscale-dev libva-dev libvdpau-dev libxkbcommon-dev wayland-protocols \
libdrm-dev qt6-base-dev qt6-declarative-dev libqt6svg6-dev qml6-module-qtquick-controls qml6-module-qtquick-templates \
qml6-module-qtquick-layouts qml6-module-qtqml-workerscript qml6-module-qtquick-window qml6-module-qtquick

Clone Moonlight source code

git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git submodule update --init --recursive

Add rockchip-ffmpeg path and dependency parameters

echo 'LIBS += -L/usr/lib -lavformat -lavcodec -lavutil -lswscale' >> app/app.pro
echo 'QMAKE_LIBS += -lswresample -lx264 -lx265 -lrockchip_mpp -lrga -lz -llzma' >> app/app.pro

Compile Moonlight

qmake6 moonlight-qt.pro
make release -j$(nproc)

Run Moonlight

app/moonlight

    You need to be logged into GitHub to post a comment. If you are already logged in, please ignore this message.

    Radxa-docs © 2026 by Radxa Computer (Shenzhen) Co.,Ltd. is licensed under CC BY 4.0