add sunshine and moonlight instructions

This commit is contained in:
2024-03-11 23:35:10 -04:00
parent 222ee258a7
commit 170eabb4db

View File

@@ -7,6 +7,10 @@
- [mangohud](#mangohud)
- [Streaming](#streaming)
- [FSR](#fsr)
- [Sunshine and Moonlight](#sunshine-and-moonlight)
- [Install Sunshine](#install-sunshine)
- [Install Moonlight](#install-moonlight)
- [Configuration](#configuration)
- [ProtonUp-QT](#protonup-qt)
- [VSCode](#vscode)
- [XWayland](#xwayland)
@@ -79,6 +83,8 @@ Exec=/usr/bin/mangohud /usr/bin/steam-native %U
### Streaming
See [Sunshine and Moonlight](#sunshine-and-moonlight) first! It's much better than steam streaming.
Works great from Arch hosts to Arch guests with a little configuration.
1. wifi
@@ -148,6 +154,37 @@ Works great from Arch hosts to Arch guests with a little configuration.
WINE_FULLSCREEN_FSR=1 WINE_FULLSCREEN_FSR_STRENGTH=2
```
## Sunshine and Moonlight
<https://docs.lizardbyte.dev/projects/sunshine/en/latest/>
Sunshine is desktop streaming service that leverages hardware encoding to provide near-zero latency
network streaming to any device that can run moonlight.
### Install Sunshine
<https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/setup.html#install>
I used the Archlinux pkg. Follow the instructions (including the autostart instructions).
### Install Moonlight
<https://github.com/moonlight-stream/moonlight-qt/releases>
I just used the flatpak installer.
### Configuration
Sunshine doesn't need a ton of config. For streaming to devices like the steam deck
and my computer I would recommend adding a new application that uses the `display_scale.py`
script to set the resolution of the host before connecting.
1. Copy `display_scale.py` to your host
2. Create a new application
3. Add command: `/home/ducoterra/display_scale.py 1920x1080 1`
4. Optionally add undo command: `/home/ducoterra/display_scale.py 3840x2160 1`
5. Save and connect!
## ProtonUp-QT
<https://davidotek.github.io/protonup-qt/>