mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 18:36:34 +00:00
build: add freebsd support
This commit is contained in:
+27
-1
@@ -8,7 +8,7 @@ and release artifacts may be missing when merging changes on a faster cadence.
|
||||
|
||||
## Binaries
|
||||
|
||||
Binaries of Sunshine are created for each release. They are available for Linux, macOS, and Windows.
|
||||
Binaries of Sunshine are created for each release. They are available for FreeBSD, Linux, macOS, and Windows.
|
||||
Binaries can be found in the [latest release][latest-release].
|
||||
|
||||
> [!NOTE]
|
||||
@@ -28,7 +28,27 @@ and [ghcr.io](https://github.com/orgs/LizardByte/packages?repo_name=sunshine).
|
||||
|
||||
See [Docker](../DOCKER_README.md) for more information.
|
||||
|
||||
### FreeBSD
|
||||
|
||||
#### Install
|
||||
1. Download the appropriate package for your architecture
|
||||
|
||||
| Architecture | Package |
|
||||
|---------------|----------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| amd64/x86_64 | [Sunshine-FreeBSD-14.3-amd64.pkg](https://github.com/LizardByte/Sunshine/releases/latest/download/Sunshine-FreeBSD-14.3-amd64.pkg) |
|
||||
| arm64/aarch64 | [Sunshine-FreeBSD-14.3-aarch64.pkg](https://github.com/LizardByte/Sunshine/releases/latest/download/Sunshine-FreeBSD-14.3-aarch64.pkg) |
|
||||
|
||||
2. Open terminal and run the following command.
|
||||
```sh
|
||||
sudo pkg install ./Sunshine-FreeBSD-14.3-{arch}.pkg
|
||||
```
|
||||
##### Uninstall
|
||||
```sh
|
||||
sudo pkg delete Sunshine
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
**CUDA Compatibility**
|
||||
|
||||
CUDA is used for NVFBC capture.
|
||||
@@ -522,6 +542,12 @@ All shortcuts start with `Ctrl+Alt+Shift`, just like Moonlight.
|
||||
* The "Desktop" app works the same as any other application except it has no commands. It does not start an application,
|
||||
instead it simply starts a stream. If you removed it and would like to get it back, just add a new application with
|
||||
the name "Desktop" and "desktop.png" as the image path.
|
||||
* The FreeBSD version of Sunshine is missing some features that are present on Linux.
|
||||
The following are known limitations.
|
||||
|
||||
* Only X11 and Wayland capture are supported
|
||||
* DualSense5 emulation is limited due to missing uhid features
|
||||
|
||||
* For the Linux flatpak you must prepend commands with `flatpak-spawn --host`.
|
||||
* If inputs (mouse, keyboard, gamepads...) aren't working after connecting, add the user running sunshine to the `input` group.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user