moonlight-stream/moonlight-qt
Fork: 631 Star: 10881 (更新于 2024-11-21 10:41:14)
license: GPL-3.0
Language: C++ .
GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
最后发布版本: v6.1.0 ( 2024-09-17 11:56:03)
Moonlight PC
Moonlight PC is an open source PC client for NVIDIA GameStream and Sunshine.
Moonlight also has mobile versions for Android and iOS.
You can follow development on our Discord server and help translate Moonlight into your language on Weblate.
Features
- Hardware accelerated video decoding on Windows, Mac, and Linux
- H.264, HEVC, and AV1 codec support (AV1 requires Sunshine and a supported host GPU)
- YUV 4:4:4 support (Sunshine only)
- HDR streaming support
- 7.1 surround sound audio support
- 10-point multitouch support (Sunshine only)
- Gamepad support with force feedback and motion controls for up to 16 players
- Support for both pointer capture (for games) and direct mouse control (for remote desktop)
- Support for passing system-wide keyboard shortcuts like Alt+Tab to the host
Downloads
- Windows, macOS, and Steam Link
- Snap (for Ubuntu-based Linux distros)
- Flatpak (for other Linux distros)
- AppImage
- Raspberry Pi 4 and 5
- Generic ARM 32-bit and 64-bit Debian packages (not for Raspberry Pi)
- Experimental RISC-V Debian packages
- NVIDIA Jetson and Nintendo Switch (Ubuntu L4T)
Special Thanks
Hosting for Moonlight's Debian and L4T package repositories is graciously provided for free by Cloudsmith.
Building
Windows Build Requirements
- Qt 6.7 SDK or later (earlier versions may work but are not officially supported)
- Visual Studio 2022 (Community edition is fine)
- Select MSVC option during Qt installation. MinGW is not supported.
- 7-Zip (only if building installers for non-development PCs)
- Graphics Tools (only if running debug builds)
- Install "Graphics Tools" in the Optional Features page of the Windows Settings app.
- Alternatively, run
dism /online /add-capability /capabilityname:Tools.Graphics.DirectX~~~~0.0.1.0
and reboot.
macOS Build Requirements
- Qt 6.7 SDK or later (earlier versions may work but are not officially supported)
- Xcode 14 or later (earlier versions may work but are not officially supported)
- create-dmg (only if building DMGs for use on non-development Macs)
Linux/Unix Build Requirements
- Qt 6 is recommended, but Qt 5.9 or later is also supported (replace
qmake6
withqmake
when using Qt 5). - GCC or Clang
- FFmpeg 4.0 or later
- Install the required packages:
- Debian/Ubuntu:
- Base Requirements:
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
- Qt 6 (Recommended):
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
- Qt 5:
qtbase5-dev qt5-qmake qtdeclarative5-dev qtquickcontrols2-5-dev qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-window2 qml-module-qtquick2 qtwayland5
- Base Requirements:
- RedHat/Fedora (RPM Fusion repo required):
- Base Requirements:
openssl-devel SDL2-devel SDL2_ttf-devel ffmpeg-devel libva-devel libvdpau-devel opus-devel pulseaudio-libs-devel alsa-lib-devel libdrm-devel
- Qt 6 (Recommended):
qt6-qtsvg-devel qt6-qtdeclarative-devel
- Qt 5:
qt5-qtsvg-devel qt5-qtquickcontrols2-devel
- Base Requirements:
- Debian/Ubuntu:
- Building the Vulkan renderer requires a
libplacebo-dev
/libplacebo-devel
version of at least v7.349.0 and FFmpeg 6.1 or later.
Steam Link Build Requirements
- Steam Link SDK cloned on your build system
- STEAMLINK_SDK_PATH environment variable set to the Steam Link SDK path
Build Setup Steps
- Install the latest Qt SDK (and optionally, the Qt Creator IDE) from https://www.qt.io/download
- You can install Qt via Homebrew on macOS, but you will need to use
brew install qt --with-debug
to be able to create debug builds of Moonlight. - You may also use your Linux distro's package manager for the Qt SDK as long as the packages are Qt 5.9 or later.
- This step is not required for building on Steam Link, because the Steam Link SDK includes Qt 5.14.
- You can install Qt via Homebrew on macOS, but you will need to use
- Run
git submodule update --init --recursive
from withinmoonlight-qt/
- Open the project in Qt Creator or build from qmake on the command line.
- To build a binary for use on non-development machines, use the scripts in the
scripts
folder.- For Windows builds, use
scripts\build-arch.bat
andscripts\generate-bundle.bat
. Execute these scripts from the root of the repository within a Qt command prompt. Ensure 7-Zip binary directory is on your%PATH%
. - For macOS builds, use
scripts/generate-dmg.sh
. Execute this script from the root of the repository and ensure Qt'sbin
folder is in your$PATH
. - For Steam Link builds, run
scripts/build-steamlink-app.sh
from the root of the repository.
- For Windows builds, use
- To build from the command line for development use on macOS or Linux, run
qmake6 moonlight-qt.pro
thenmake debug
ormake release
- To create an embedded build for a single-purpose device, use
qmake6 "CONFIG+=embedded" moonlight-qt.pro
and build normally.- This build will lack windowed mode, Discord/Help links, and other features that don't make sense on an embedded device.
- For platforms with poor GPU performance, add
"CONFIG+=gpuslow"
to prefer direct KMSDRM rendering over GL/Vulkan renderers. Direct KMSDRM rendering can use dedicated YUV/RGB conversion and scaling hardware rather than slower GPU shaders for these operations.
- To build a binary for use on non-development machines, use the scripts in the
Contribute
- Fork us
- Write code
- Send Pull Requests
Check out our website for project links and information.
最近版本更新:(数据更新于 2024-11-22 12:15:00)
2024-09-17 11:56:03 v6.1.0
2024-06-30 10:12:29 v6.0.1
2024-06-06 12:58:32 v6.0.0
2023-11-02 12:47:33 v5.0.1
2023-10-18 15:17:50 v5.0.0
2022-11-03 13:17:23 v4.3.1
2022-10-28 10:04:23 v4.3.0
2022-09-12 14:33:14 v4.2.1
2022-09-11 05:54:06 v4.2.0
2022-05-25 09:29:57 v4.1.0
主题(topics):
gamestream, linux-app, macos-app, moonlight, nvidia, qt, sdl2, steam-link, windows-app
moonlight-stream/moonlight-qt同语言 C++最近更新仓库
2024-11-21 04:48:41 PCSX2/pcsx2
2024-11-20 09:02:24 dail8859/NotepadNext
2024-11-20 04:28:15 microsoft/terminal
2024-11-18 22:35:05 ClickHouse/ClickHouse
2024-11-18 14:36:13 cxasm/notepad--
2024-11-18 00:19:27 MaaAssistantArknights/MaaAssistantArknights