Under Construction

WELCOME TO
SPOUT ON LINUX

Introduction

NOTE: You should have Proton newer than 10.0-4 and older than 11 and Pipewire installed and running for it to work

Spout on Linux is possible with Hoshinolina's Spout2PW (Spout to Pipewire) Github. Firstly you need Proton 10 newer than 10.0-4 and older than 11 (GE-Proton-10-xx is a good example), QPWGraph (For a UI to connect your Spout nodes), wget (So you could download the release), Pipewire, Steam (Maybe you don't need Steam), OBS with Hoshinolina's obs-pwvideo plugin Github (if you want to)

Installing deps

Make sure you have Steam installed (if needed) and Pipewire

For Debian/Debian-based distributions:

sudo apt update
sudo apt install wget qpwgraph

For Red Hat/Fedora-based distributions:

sudo dnf install wget qpwgraph

For Arch Linux/Arch Linux based:

sudo pacman -S wget qpwgraph

For openSUSE:

sudo zypper install wget qpwgraph
Setting up Spout2PW

Downloading and extracting Spout2PW's newest release

wget https://github.com/hoshinolina/spout2pw/releases/download/0.2.3/spout2pw-0.2.3-bin.tar.gz
tar xvf spout2pw-0.2.3-bin.tar.gz

You need to download a Proton version that is newer than 10.0-4 and older than 11, in this case I will use GE-Proton10-33-rtsp23-4 from GE-Proton10-33-rtsp23-4 Release

Launching a Windows Steam app or game with Spout2PW

You need to open the properties of the Steam app or game, go to "Compatibility", Check "Force the use of a specific Steam Play compatibility tool", in the drop down choose your Proton version (GE-Proton10-33-rtsp23-4 in my case), go back to "General" and set the launch options to

[environment variables or commands you already have] [path to Spout2PW]/spout2pw.sh %command% [your flags for the Steam app or game]

Without Steam

[environment variables] [path to Spout2PW]/spout2pw.sh [your Proton command]
With OBS (with obs-pwvideo)

NOTE: Spout2PW supports multiple Spout streams on the same prefix

Just click on the '+' icon in sources, choose "Pipewire Video" and choose the source that starts with "Spout2PW ([name of the app or game]): [name of the spout streamer]"

Fixing common issues with some apps or games (VRChat for example)

Sometimes if your "ulimit -n" is 1024 or a low number can lead to freezes or instant crashes (VRChat is an example) increase it to 524288 or 1048576 in /etc/security/limits.conf, put this at the end

* soft nofile [your choosen number]
* hard nofile [your choosen number]

Then reboot

If VRChat on Proton 10 or newer crashes instantly to the desktop even after the ulimit fix, add this to your launch options

[your environment variables] WINEDLLOVERRIDES="iyuv_32=" [rest of your launch options]