FrancescoCeruti / linux-show-player

Linux Show Player - Cue player designed for stage productions
https://linux-show-player.org
GNU General Public License v3.0
204 stars 49 forks source link

Jack playback with pipewire is currently broken #286

Open radiomike opened 8 months ago

radiomike commented 8 months ago

Describe the bug If jack is set as the output, cues don't play and the below error is shown on adding cue and attempted playback

2023-11-03 15:14:35.604 lisp.plugins.gst_backend.gst_media ERROR GStreamer: Resource not found. lisp.plugins.gst_backend.gst_utils.GstError: ../gstreamer/subprojects/gst-plugins-good/ext/jack/gstjackaudiosink.c(308): jack_shutdown_cb (): /GstPipeline:pipeline0/GstJackAudioSink:sink: Jack server shutdown

To Reproduce Steps to reproduce the behavior:

  1. Add a cue

Expected behavior Cues should playback

Screenshots Screenshot from 2023-11-03 15-33-14 Screenshot from 2023-11-03 15-33-06

Linux Show Player version:

OS Version

Additional context Run from git using poetry run linux-show-player This was working previously, not sure if it's a pipewire or LISP update that's broken things. LISP debug log

FrancescoCeruti commented 8 months ago

It's some sort of incompatibility between the gstreamer jack-client and the pipewire jack-server implementation. Likely the same, or very similar to https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2324.

This time I can try to see if the gstreamer devs can fix the issue.

In the meantime, to avoid the issue you could try this: https://wiki.archlinux.org/title/PipeWire#Run_PipeWire_on_top_of_native_JACK

FrancescoCeruti commented 8 months ago

Issue for gstreamer: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3092