Last active
March 4, 2025 15:11
-
-
Save madewokherd/538d0621e1f25835acba99e073fddd8f to your computer and use it in GitHub Desktop.
The customizations I make to my steam deck, primarily to run OBS in game mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
sudo steamos-readonly disable | |
sudo pacman-key --init | |
sudo pacman-key --populate | |
sudo steamos-unminimize | |
sudo pacman -S gstreamer-vaapi gst-plugin-pipewire libpulse gst-plugins-base-libs gst-libav gst-plugins-base gst-plugins-good gst-plugins-bad mednafen git fakeroot make patch cmake pkgconf obs-studio libva-mesa-driver onboard k3b python-aenum python-colorama python-aioconsole python-websockets | |
# packages that need to be repaired make compilation work: | |
# sudo pacman -S glibc sdl2 linux-api-headers libglvnd gstreamer glib2 libsysprof-capture pcre2 libffi libunwind libelf zlib zstd xz orc libxcb wayland libx11 xorgproto glslang libinih openal libusb spirv-tools | |
# git clone https://github.com/madewokherd/pkgbuilds | |
cd ~/pkgbuilds | |
for package in InputRedirection-SDL obs-vkcapture obs-gstreamer; do | |
if ! test -e $package; then | |
git clone https://aur.archlinux.org/${package}.git | |
fi | |
(cd $package && git fetch && git switch -f origin/HEAD --detach && git clean -fxd && makepkg --syncdeps && sudo pacman -U ./*.zst) | |
done | |
# For screen capture on OBS in game mode, create a GStreamer source with a pipeline of: | |
# pipewiresrc name=gamescope do-timestamp=true ! queue max-size-buffers=100 max-size-time=1000000000 ! video. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment