Skip to content

packaging: Flatpak and .deb installs misbehave on a plain Linux desktop #2227

Closed

Description

@zackees

From the Hacker News thread on OBS Studio 33 (https://news.ycombinator.com/item?id=50218430). Part of the meta issue.

Needs research.

What users said

A user found the Flatpak "not behaving nicely" and hit problems with the .deb packages, possibly missing xdg libraries.

Comments: 50224337

Question to answer

Install each Linux artifact (AppImage, Flatpak, .deb) on a clean VM of the common desktops and record what fails; file a concrete bug per failure.

Activity

  1. added
    bug
    on Oct 24, 2026
  2. rdoupe commented on Oct 25, 2026

    @rdoupe
    Collaborator

    Claiming: #2227. I'll install the current release's AppImage, .deb and Flatpak on clean, headless containers of the common distros, launch them under Xvfb, and file a concrete bug for each failure.

  3. added
    claimed
    on Oct 25, 2026
  4. moved this from Triage to In progress in obs-rust Multiviewon Oct 25, 2026
  5. moved this from In progress to Triage in obs-rust Multiviewon Oct 25, 2026
  6. rdoupe commented on Oct 25, 2026

    @rdoupe
    Collaborator

    Linux packages test results for OBS-Studio-Rust 0.1.0-beta.20261023 (the Latest release), on clean containers. Refs #2227.

    Short answer: the AppImage runs on all six distributions. The .deb installs and runs only on Ubuntu 26.04, and on 26.04 it can't sit next to Ubuntu's own obs-studio. obs-rust ships no Flatpak, so the Flatpak complaint in #2227 is about upstream's Flathub OBS.

    Matrix

    Distribution Artifact Install Launch Problems
    Ubuntu 22.04 .deb FAIL n/a 35 unmet deps (libc6 >= 2.43, Qt ≥ 6.10, FFmpeg 8, t64 names, …)
    Ubuntu 24.04 .deb FAIL n/a 21 unmet deps (libc6 >= 2.43, Qt ≥ 6.10, FFmpeg 8, libpython3.14, mbedtls 3.6, …)
    Debian 12 .deb FAIL n/a 31 unmet deps (as Ubuntu 22.04)
    Debian 13 .deb FAIL n/a 13 unmet deps (libc6 >= 2.43, Qt ≥ 6.10, FFmpeg 8, libpython3.14). Forced in, the binary dies with GLIBC_2.43 not found
    Ubuntu 26.04 (control) .deb OK OK Can't co-install with Ubuntu's obs-studio (/usr/bin/obs-nvenc-test overwrite error). No Recommends, so no xdg-utils or xdg-desktop-portal on a minimal install. Package version is 33.0.0-beta6-1902-g582a4c3ed
    Ubuntu 22.04 AppImage OK* OK** Needs host libwayland-egl.so.1, not checked by the preflight
    Ubuntu 24.04 AppImage OK* OK** same, plus a cosmetic fontconfig warning
    Debian 12 AppImage OK* OK** same, plus a cosmetic fontconfig warning
    Debian 13 AppImage OK* OK** same, plus a cosmetic fontconfig warning
    Fedora 41 AppImage OK* OK** same, plus a cosmetic fontconfig warning
    Arch Linux AppImage OK* OK none (mesa pulls in libwayland-egl). Cosmetic fontconfig warnings
    any Flatpak n/a n/a obs-rust ships no Flatpak (no bundle, no .flatpakref, no Flathub app). The README implies there is one

    * AppImage "install" means chmod +x and running it. In the containers (no /dev/fuse) a plain run fails with the AppImage runtime's own message: "Cannot mount AppImage, please check your FUSE setup … run it with the --appimage-extract option". That names FUSE correctly, so it is the container, not a bug. With /dev/fuse and fuse3 (fusermount3) available, a plain run works. libfuse2 isn't needed: the static type-2 runtime only needs a fusermount binary.

    ** With the host's libwayland-egl missing, the result is FAIL: an "Error" dialog saying "Failed to initialize video: Graphics module not found" and no main window. After installing libwayland-egl1 / libwayland-egl alone, the main window and first-run wizard come up and render. Every real desktop install checked pulls that library in (GTK 3/4 depend on it, and so does even i3 + xorg), so this only bites stripped-down hosts.

    How it was tested

    • Artifacts from the release, checked against SHA256SUMS (both OK).
    • Stock ubuntu:22.04/24.04/26.04, debian:12/13, fedora:41, archlinux:latest images.
      • .deb: apt install ./file.deb on a pristine image, then ldd on every binary, library, module and scripting .so (forced install where apt refused).
      • AppImage: run on the pristine image (no FUSE, no GL), then on an image with only test infrastructure (Xvfb, xdotool, ImageMagick, D-Bus, a font) and Mesa as the host GPU driver. Plus a static ldd sweep of every ELF in the AppImage payload.
    • Launch: unprivileged user, fresh HOME, private Xvfb, dbus-run-session, --network none, no audio server. Command: --multi --minimize-to-tray, then again without --minimize-to-tray. The main window was detected with xdotool search, the screen captured with import, and the logs read from ~/.config/obs-studio-rust/logs. One run per launch used LD_DEBUG=libs.
    • Every launch that reached the GUI loaded all modules except the ones that can't work in a container: DeckLink (no driver), NVENC (no NVIDIA), no DRM render node (software GL, so the GPU light is RED), no portal (org.freedesktop.portal.Settings returned an invalid reply), no network. Qt's xcb plugin loaded on every distribution. No missing Qt platform plugin and no missing module library apart from libwayland-egl.
    • --minimize-to-tray shows the main window anyway, because there is no system tray in the test session (expected).
    • .deb desktop integration on 26.04: the desktop entry, hicolor icons (128/256/512 + scalable), the icon cache and the metainfo are installed. desktop-file-validate and appstreamcli validate --no-net pass. No MimeType= is declared (same as upstream). The metainfo's bug tracker and source links point to upstream.

    Issues to file

    Issue Severity One line
    #2296 High The .deb and the distribution's obs-studio both ship /usr/bin/obs-nvenc-test (and upstream's own .deb ships obs-ffmpeg-mux there too), so dpkg refuses to install either one next to the other
    #2297 Medium The .deb only installs on Ubuntu 26.04. The asset name and README don't say so, and on 22.04/24.04/Debian apt prints 13–35 unmet deps
    #2298 Low libwayland-egl.so.1 is unbundled but missing from host-libs.json, so a host without it gets "Graphics module not found" instead of the preflight's install hint. CI always installs it
    #2299 Low (latent Medium) The .deb version is upstream's git-describe string, not 0.1.0-beta.X, and it sorts as a downgrade once a 33.0.0 tag is reachable
    #2301 Low No Recommends:, so minimal installs get no xdg-utils (xdg-open) and no xdg-desktop-portal
    #2302 Low The AppStream bug tracker, source link and developer point to obsproject/obs-studio
    #2303 Low The release notes say Linux keeps the obs-studio-rust websocket CLI, but no Linux package ships it
    #2304 Low (docs) No obs-rust Flatpak exists. The README implies one, and the in-tree manifest still uses upstream's Flathub id

    Notes, not filed

    • AppImage --appimage-extract-and-run drops SIGTERM. kill <AppImage pid> makes the runtime exit while OBS keeps running (no clean shutdown). Sending SIGTERM to AppRun directly, or running in normal FUSE mode, shuts OBS down cleanly. This is the third-party AppImage type-2 runtime, and only affects users who use extract-and-run because they have no FUSE.
    • Fontconfig warnings from the AppImage. The bundled fontconfig reads the host's /etc/fonts and warns about newer syntax (unknown element "reset-dirs" on Debian/Ubuntu 24.04/Fedora, invalid attribute 'xsi:nil' on Arch). These go to stderr only. Fonts render.
    • The .deb's chrome-sandbox is mode 0644 (not setuid), which is harmless: obs-browser runs CEF with no_sandbox = true. obs-browser.so's RUNPATH lacks the private lib dir, so ldd reports libobs.so.30 "not found", but it loads fine at run time because libobs is already mapped.
  7. added
    ready
    and removed
    claimed
    on Oct 25, 2026
  8. moved this from Triage to In progress in obs-rust Multiviewon Oct 25, 2026
  9. moved this from In progress to Ready in obs-rust Multiviewon Oct 26, 2026
  10. zackees commented on Oct 27, 2026

    @zackees
    MemberAuthor

    The requested clean-container Linux artifact survey is complete in the results above. It produced concrete package and AppImage issues #2296-#2304; the Flatpak delivery and real-desktop matrix are tracked separately in #2318/#2319 because obs-rust does not yet ship a Flatpak. Closing this research umbrella; fixes stay with those issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugready

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions