Gaming setup
Guide to stream games from the windows VM to my living room TV.
- First stand up the Windows VM
- And the Raspberry Pi client for the TV
Windows streaming server and game platforms
- Install ViGEmBus
- Install Playnite
- Install ChangeScreenResolution.exe
- Install Sunshine
- Add Playnite as a cmd:
"C:\Users\jdoe\AppData\Local\Playnite\Playnite.FullscreenApp.exe" --hidesplashscreen - Run PowerShell cmds:
cd "C:\Program Files\Sunshine\scripts"
./add-firewall-rule.bat
./install-service.bat
- Install Moonlight on Mac, Raspberry Pi
- Install Oculus App
- Run as admin:
C:\Program Files\Oculus\Support\oculus-runtime\OVRServer_x64.exe - Start the App
- Enable mDNS reflection
- On Quest 2, Settings > System > Link, enable Air link, pair with computer
- Install Yuzu, Ryujinx
- Download keys and copy to correct folder location
- Import into Playnite
- Install Dolphin, import into Playnite
Raspberry Pi streaming client and controllers
- Enable HEVC, HDR
vim /Volumes/bootfs/config.txt
# may be outdated
dtoverlay=rpivid-v4l2
# dtoverlay=vc4-kms-v3d
dtoverlay=vc4-fkms-v3d
gpu_mem=128
- Install Moonlight QT (notes)
curl -1sLf 'https://dl.cloudsmith.io/public/moonlight-game-streaming/moonlight-qt/setup.deb.sh' | distro=raspbian codename=buster sudo -E bash
sudo apt install -y moonlight-qt vim less iproute2 git netcat
sudo apt update
sudo apt upgrade
sudo vim /etc/systemd/system/moonlight.service
sudo systemctl enable moonlight.service
-
In the Moonlight GUI, set resolution to 1080p, refresh rate to 60Hz
- Install xone driver
# Plugin in dongle
git clone https://github.com/dlundqvist/xone
cd xone
sudo ./install.sh --release
sudo xow-get-firmware.sh --skip-disclaimer
- Power on controllers, pair
- Put dongle into pairing mode
echo 1 | sudo tee /sys/bus/usb/drivers/xone-dongle/*/pairing