mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-18 21:19:50 +02:00
fix(build): the guest carries the libraries Proton's media plugins need (#405)
**Problem.** Proton's GStreamer plugins link `libvpx`, `speex`, `libtheora`, `libvdpau` and `jsoncpp`, and neither Proton nor the guest image carries them. Boxes log: ``` Failed to load plugin '.../gstreamer-1.0/libgstlibav.so': libvpx.so.12: cannot open shared object file Failed to load plugin '.../gstreamer-1.0/libgstspeex.so': libspeex.so.1: cannot open shared object file ``` Wine's media stack then has no decoders, so a game whose videos go through it plays them as nothing. **Scope.** - Not new. The stock `11.0-20261005` Proton and the patched `-n1` build need exactly the same set. - The fleet logged it on 2026-10-10 and again on 2026-10-15. **Fix.** These five packages are added to the guest's runtime package list. - They were found by listing every `NEEDED` library of each published Proton against this image; they were the whole gap. - They track the sonames Proton was built against, as the new comment says. **Verification.** In progress: the image is building, and the library check is rerun against it for both Protons.
This commit is contained in:
@@ -396,11 +396,22 @@ RUN pacman -Syu --noconfirm --needed \
|
||||
pipewire pipewire-audio wireplumber opus \
|
||||
python libunwind sdl2-compat \
|
||||
python-xlib python-urllib3 python-pyzstd \
|
||||
libvpx speex libtheora libvdpau jsoncpp \
|
||||
strace lsof less \
|
||||
&& rm -f /usr/share/libalpm/hooks/dbus-reload.hook \
|
||||
&& pacman -Rdd --noconfirm systemd systemd-sysvcompat \
|
||||
&& pacman -Scc --noconfirm
|
||||
|
||||
# `libvpx`, `speex`, `libtheora`, `libvdpau` and `jsoncpp` are not ours at all:
|
||||
# they are what Proton's own GStreamer plugins link against, and Proton does
|
||||
# not carry them. Without them `libgstlibav.so` and `libgstspeex.so` fail to
|
||||
# load (`libvpx.so.12: cannot open shared object file`), so a game whose videos
|
||||
# go through Wine's media stack plays them as nothing. Measured 2026-10-15 by
|
||||
# listing every NEEDED library of the published Proton against this image;
|
||||
# these five were the whole gap, for the stock build and the patched one
|
||||
# alike. They track the sonames Proton was built against, so a Proton built
|
||||
# on a newer Arch can need this list rebuilt with it.
|
||||
#
|
||||
# `strace`, `lsof` and `less` are for the operator's shell (`neslet box exec`):
|
||||
# a root shell in a box that cannot trace a process, list what it has open or
|
||||
# page through a log is the situation that feature exists to get out of. They
|
||||
|
||||
Reference in New Issue
Block a user