365fa435c9
Without this change it segfaults when trying to play any media:
$ jellyfinmediaplayer
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libpng warning: iCCP: known incorrect sRGB profile
Logging to /home/bf/.local/share/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
Cannot load libcuda.so.1
Segmentation fault (core dumped)
The backtrace shows pipewire being at fault:
$ coredumpctl debug
[...]
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f711428c9bb in core_event_demarshal_remove_id () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so
[Current thread is 1 (Thread 0x7f6ffdc87640 (LWP 1360949))]
(gdb) bt
#0 0x00007f711428c9bb in core_event_demarshal_remove_id () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so
#1 0x00007f711428886c in process_remote () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so
#2 0x00007f7114288e68 in on_remote_data () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so
#3 0x00007f7114310efe in loop_iterate () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/spa-0.2/support/libspa-support.so
#4 0x00007f71266fe7f2 in do_loop () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/libpipewire-0.3.so.0
#5 0x00007f7128b08e86 in start_thread () from /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6
#6 0x00007f7128b8fce0 in clone3 () from /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6
(gdb)
Standalone mpv doesn't segfault (when directly playing the underlying
media files). I don't know why.
Fixes:
|
||
---|---|---|
.. | ||
agda-packages.nix | ||
aliases.nix | ||
all-packages.nix | ||
beam-packages.nix | ||
config.nix | ||
coq-packages.nix | ||
cubocore-packages.nix | ||
cuda-packages.nix | ||
darwin-packages.nix | ||
default.nix | ||
dhall-packages.nix | ||
dotnet-packages.nix | ||
emacs-packages.nix | ||
emscripten-packages.nix | ||
gnuradio-packages.nix | ||
haskell-packages.nix | ||
haxe-packages.nix | ||
impure.nix | ||
java-packages.nix | ||
kodi-packages.nix | ||
linux-kernels.nix | ||
lua-packages.nix | ||
make-tarball.nix | ||
metrics.nix | ||
nim-packages.nix | ||
nixpkgs-basic-release-checks.nix | ||
ocaml-packages.nix | ||
octave-packages.nix | ||
packages-config.nix | ||
perl-packages.nix | ||
php-packages.nix | ||
python-aliases.nix | ||
python-packages.nix | ||
python2-packages.nix | ||
qt5-packages.nix | ||
qt6-packages.nix | ||
release-alternatives.nix | ||
release-cross.nix | ||
release-cuda.nix | ||
release-haskell.nix | ||
release-lib.nix | ||
release-python.nix | ||
release-r.nix | ||
release-small.nix | ||
release.nix | ||
ruby-packages.nix | ||
splice.nix | ||
stage.nix | ||
unixtools.nix | ||
wine-packages.nix |