From d332f11101f428249c3e595ba43a8f4c41c96ab2 Mon Sep 17 00:00:00 2001 From: loki-47-6F-64 Date: Sat, 25 Sep 2021 13:12:13 +0200 Subject: [PATCH 1/2] Update instructions in the config file --- assets/sunshine.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/sunshine.conf b/assets/sunshine.conf index 7ada209fc..d8a1f4b46 100644 --- a/assets/sunshine.conf +++ b/assets/sunshine.conf @@ -140,7 +140,7 @@ # You can find the name of the audio sink using the following command: # !! Linux only !! # pacmd list-sinks | grep "name:" if running vanilla pulseaudio -# pactl info | grep Source` if running pipewire +# pPipewire: Use `pactl info | grep Source`. In some causes you'd need to use the `sink` device. Try `pactl info | grep Sink`, if _Source_ doesn't work # audio_sink = alsa_output.pci-0000_09_00.3.analog-stereo # # !! Windows only !! From 4385014049b09e54a03d8105deab72e71e424e7d Mon Sep 17 00:00:00 2001 From: Hadi Charara Date: Sat, 25 Sep 2021 15:09:03 -0400 Subject: [PATCH 2/2] Added warning for low version of ffmpeg --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 69bf2c470..16723a10d 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,9 @@ KMS allows Sunshine to grab the monitor with lower latency then through X11 sudo apt install cmake gcc-10 g++-10 libssl-dev libavdevice-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libpulse-dev libopus-dev libxtst-dev libx11-dev libxrandr-dev libxfixes-dev libevdev-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev libdrm-dev libcap-dev ``` +#### Warning: +You might require ffmpeg version >= 4.3. Check the troubleshooting section for more information. + ### Compilation: #### X11 Only @@ -88,6 +91,9 @@ It's necessary to allow Sunshine to use KMS - If you get "Error: Failed to create client: Daemon not running", ensure that your avahi-daemon is running: - `systemctl status avahi-daemon` +- If you hardware acceleration on Linux using an Intel or an AMD GPU (with VAAPI), you will get tons of [graphical issues](https://github.com/loki-47-6F-64/sunshine/issues/228) if your ffmpeg version is < 4.3. If it is not available in your distribution's repositories, consider using a newer version of your distribution. + - Ubuntu started to ship ffmpeg 4.3 starting with groovy (20.10). If you're using an older version, you could use [this PPA](https://launchpad.net/%7Esavoury1/+archive/ubuntu/ffmpeg4) instead of upgrading. **Using PPAs is dangerous and may break your system. Use it at your own risk.** + ## Windows 10 ### Requirements: