$ cat setup.txt 2025-04-04 streaming, a slightly over complicated setup ::components shrub - owncast https://owncast.online/ podman (rootless) - volumes: - ./data dir - ports - "10051:8080" - "extport:1935" - nginx revproxy podman (rootful) - volumes - etc/nginx - configs - http - server - 80 -> 443 - 443 proxied to 10051 - 502 redirect to mameau.com k3s - restream (nginx) podman (rootless) - ports - 1935 configs: - stream - server - rtmp >> owncast+streamkey >> twitch (disabled) >> yt (disabled) local - obs - config for local restream - fake a stream key capture - hdmi capture (opt) - cheap usb capture -> hdmi input over USB - gamescope (opt) - native gamescope package - used to wrap games in a 1920x1080 xwayland display server - flatpak - for steam, TBA - direct - games, windowed at 1920x1080 ::layout [gamescope] ---> game <--> obs ---> restream ---> owncast +--> [other service] :: games broken - ut99 - broken, fixes put in for ultraw are now messing with gamescope, need to review gamescope // 1920x1080 - flatpak - ut2004 - etl - q3a - ezquake - rtcw - heroicgl - rethawed - built - mame - packages - tba windowed // 1920x1080 - steam - session ::challenges - ultra wide 4k screens are crap for this, so use gamescope as a workaround