Repository navigation
Description
Refs #2304, #2227, #2306. Part of the Flatpak meta issue #2319. Depends on the identity research issue for the app id it will ship under.
Question
Once we have an id, how does an OBS-Studio-Rust Flatpak actually reach
users, and does it behave on a real desktop?
Part A — delivery path
Three candidate routes; pick one, or a staged combination:
- Flathub listing. Submit to
flathub/flathubunder our own id. Needs:
AppStream metainfo with our URLs (see packaging: the Linux AppStream metainfo sends bug reports and the project link to upstream OBS (obsproject/obs-studio) #2302), a source repo entry,
flathubbot builds or a release-tagged manifest, and passing Flathub's
sandbox/permission review. Note.github/workflows/publish.yamlhere is
upstream's Flathub publisher and is gated on
github.repository_owner == 'obsproject'(lines 19, 76, 235, 252), so it
does nothing for us — Flathub's own build infrastructure would do the work. - Release asset bundle. Build a
.flatpak/.flatpakrefin
release-rust.yamlnext to the .deb and AppImage, published on the GitHub
release like everything else. Needs: a bundle step, a repo/URI story for
updates (flatpak updateneeds a remote), and the README's
"every format we name must have an asset" test extended to cover it. - Our own flatpak repo (OCI or static repo) served from the release
feed, soflatpak remotes-add+flatpak updateworks without Flathub.
Deliverable: a recommendation with the update mechanism spelled out
(who publishes, how a user's install learns about a new beta, how that
interacts with the existing continuous AppImage updater feed).
Part B — sandbox and behavior verification
The manifest inherits upstream's finish-args
(--filesystem=host, --device=all, --share=network,
--filesystem=xdg-run/pipewire-0, --talk-name=org.freedesktop.Flatpak,
--talk-name=org.freedesktop.StatusNotifierWatcher, VST_PATH extension).
Answer, with evidence from a clean VM per desktop:
- What is the minimum permission set for: Wayland/X11 capture,
PipeWire screen capture, audio in/out, hardware encoding
(VA-API and QSV — sandbox device access is exactly where AnduinOS - Appimage build Missing Encoders linux ffmpeg_vaapi_tex, obs_qsv11_v2 #1720-class
problems appear), VST plug-ins, browser source if/when appimage: Ship the browser source (CEF) in the AppImage #1865 lands. - Does each hardware encoder initialize inside the sandbox? Record the
log lines, not "seemed to work". - Do per-user plug-ins (the folders the AppImage loads, per the README
FAQ) load inside the sandbox, or only the Flatpak extension points? - Same install, three desktops (GNOME/KDE/whatever is common), clean VM:
what fails? This is the Flatpak half of packaging: Flatpak and .deb installs misbehave on a plain Linux desktop #2227 — file one concrete bug
per failure rather than a "Flatpak is broken" comment. - Compare against the AppImage on the same VM: what does a Flatpak buy us
that the AppImage does not already give? If the honest answer is
"distribution-native install + auto-updates + sandbox", say that — it
is the justification for the work.
Definition of done
- A delivery route chosen, with the update path written down.
- A
finish-argsdiff (removed / kept / added, each justified). - A verification matrix (desktop × feature) with real logs, and one
filed issue per failure found. - Everything above feeds the plan issue named in the Flatpak meta issue.
Research only: no manifest edits, no publishing.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsReady
Activity
zackees commentedon Oct 25, 2026
Claiming Part A (delivery route + update path) and a source-level finish-args review. Part B's VM/hardware matrix stays open; I have no clean desktop VMs or encoders.
zackees commentedon Oct 25, 2026
Part A: delivery route (research, master 2026-10-25)
What exists already
build-project.yaml:824-829runsflatpak build-bundle(obs-studio-flatpak-<sha>.flatpak) on tags andrelease/*pushes. Nothing publishes it.release-rust.yamlships the .deb and the AppImage. The AppImage updates through the rollingcontinuousrelease and.zsync(lines 640-662).ci/test_readme_package_formats.pyalready mapsFlatpakto a.flatpak/.flatpakrefasset. Once the README names a Flatpak, a release has to carry one.The three routes
io.github.obs_rust.OBSStudioRust, beta throughflathub-beta)flathub/io.github.obs_rust.OBSStudioRustflatpak updateand GNOME Software/Discover, automaticallyio.githubid verification. Builds come from tagged sources, not our CI, so a nightly feed is impractical; betas only..flatpakbundlerelease-rust.yaml, by publishing the bundle CI already buildsflatpak updateagainst our remoteRecommendation: 2 now, 1 when the beta stabilises, never 3
release-rust.yamluploads the.flatpak(renamedOBS-Studio-Rust-<ver>-linux-x86_64.flatpak) beside the .deb and AppImage. Its README line says what's true: no auto-update, and to get the next beta you install the next bundle. It cannot collide with a Flathub OBS, because it uses its own id. Gate: the AGENTS.md packaging rule, i.e. install the bundle and start it with a saved profile, as the AppImage test does.flathub-betafor pre-releases. ThecontinuousAppImage feed stays the nightly channel. The two don't interact: different formats, different ids on disk.finish-args, from source (not yet verified on a VM)
Current list:
build-aux/com.obsproject.Studio.json:7-19.--socket=wayland,--socket=fallback-x11--socket=pulseaudio--filesystem=xdg-run/pipewire-0plugins/linux-pipewire)--device=all/dev/driVA-API/QSV, DeckLink/AJA.--device=drialone loses cameras. Flathub acceptsallfor OBS.--share=network,--share=ipc--filesystem=host--talk-name=org.freedesktop.Flatpakplugins/linux-v4l2/v4l2-output.c.h:48runsflatpak-spawn --hostto loadv4l2loopback(modprobe, through pkexec). Removing it breaks the virtual camera. That is the reason to give Flathub review.--talk-name=org.kde.StatusNotifierWatcher,org.freedesktop.Notifications,org.a11y.Bus--env=VST_PATH=...Not done here (Part B)
The desktop-by-feature verification matrix, hardware encoder logs, and per-user plug-in loading inside the sandbox need clean VMs and real GPUs. They stay open for someone with that hardware. Inside the sandbox, the per-user plug-in folder is
~/.var/app/<id>/data/obs-studio/plugins(see the #2317 findings).ci: Excuse appid-url-not-reachable for the branded Flatpak id (#2354)
packaging: Ship the Flatpak as io.github.obs_rust.OBSStudioRust (obs-…