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

Fails to connect with JACK in 0.6 (flatpak version) #289

Closed moonshaadow closed 8 months ago

moonshaadow commented 8 months ago

Describe the bug Error when trying to play a cue with JACK :

Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/lisp/plugins/gst_backend/settings/jack_sink.py", line 62, in __init__
    self.__jack_client = jack.Client(
                         ^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/jack.py", line 213, in __init__
    raise JackOpenError(name, self._status)
jack.JackOpenError: Error initializing "LinuxShowPlayer_SettingsControl": <jack.Status 0x11: failure, server_failed>

To Reproduce Steps to reproduce the behavior: 1) choose JACK as output for a cue 2) play the cue

Expected behavior the JACK module is working as expected in last realease. New rc1 version doesn't work (flatpak version)

Linux Show Player version: 0.6.0.dev0

OS Version Mint 21.2

moonshaadow commented 8 months ago

No pipewire here.

FrancescoCeruti commented 8 months ago

Unfortunately "native" JACK is not supported by flatpak, see here for more details: https://github.com/flatpak/flatpak/issues/3622#issuecomment-631396070

We might be able to add a warning in the settings UI if we're running within a flatpak

moonshaadow commented 8 months ago

Thank you, that makes sense. Could you provide instructions to build/install from sources ?

FrancescoCeruti commented 8 months ago

I've added some guidelines to the docs here: https://linux-show-player-users.readthedocs.io/en/develop/installation.html

If you need more info, or help, feel free to open a new discussion :-)