Bug 18657

Summary: clementine is missing jack support
Product: Mageia Reporter: Timothée Giet <animtim>
Component: RPM PackagesAssignee: Juan Luis Baptiste <juan.baptiste>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11, micheelsen, pkg-bugs, zen25000
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: clementine-1.3.1-1.mga6.src.rpm CVE:
Status comment:

Description Timothée Giet 2016-06-08 09:22:05 CEST
Description of problem:

Clementine package is missing jack support.
Please add it. (I know it's available in the sources since I use it with jack in other distributions... )
Rémi Verschelde 2016-06-08 09:25:10 CEST

CC: (none) => pkg-bugs
Assignee: bugsquad => juan.baptiste

Comment 1 Rémi Verschelde 2016-06-08 09:25:58 CEST
As you're an apprentice package, don't hesitate to provide a patch, that brings you closer to graduating ;)
Comment 2 Rémi Verschelde 2016-06-08 09:26:18 CEST
s/package/packager/ of course :)
Timothée Giet 2016-06-08 10:49:19 CEST

Summary: package clementine with jack support => clementine is missing jack support

Comment 3 Timothée Giet 2016-06-08 11:00:39 CEST
Ok, I tried a few things, but now I really don't understand why jack is not available in our version.

I tried re-building it with pkgconfig(jackit) and pkgconfig(libpulse), but no difference.

Then I looked at the arch pkgbuild (since I know it works there), but they don't even need jack dependencies.

Then I looked at https://github.com/clementine-player/Clementine/wiki/Compiling-from-Source , indeed jack is not needed for build.
But I see: 
libpulse (optional, for choosing output devices)

I tried to quickly compare pulseaudio packages, but it goes out of my reach now.

Of course, when testing, I do have a running jack server, just it is not in the list of output in clementine audio settings.
But note that on arch, even if no jack server is running, it is available in the list of output.

If anyone have an idea of what is happening/how to fix it.
Comment 4 Barry Jackson 2016-06-08 17:53:16 CEST
I see the same (not that I really have a clue how to use jack).

I find that with jack running the default output setting in clementine produces no audio in the system speakers. With jack stopped it plays fine.

One point to note, in Cauldron/Mga6 we now have realtime scheduling available in jack, so for jack to run properly you need to add yourself to the realtime group as well as audio, and log out/in before re-starting jack.
This was added for ardour to work properly.

Beyond that I don't think I can help but I will follow this bug with interest ;)

CC: (none) => zen25000

Comment 5 Timothée Giet 2016-06-08 18:44:59 CEST
Ah, my issue is a bit different since here clementine does produce sound with jack running, but only through pulseaudio bridge (you may need to install the pulseaudio jack module for this to work). 
I would prefer a lot to be able to connect it directly to jack without going though pulseaudio like I can in other distro...

I use Cadence to check/launch jack and pulseaudio bridge.

I didn't know I had to be in realtime group, I always used jack in realtime before without this. I usually use this to help configure my system for realtime audio:
https://github.com/raboof/realtimeconfigquickscan
(adding user to realtime group didn't have any effect about this anyway...)
Comment 6 Hans Micheelsen 2024-01-02 10:46:39 CET
Can this bug be closed? Its rather old and the last release of Clementine is of 2016 although still alive on https://github.com/clementine-player/Clementine.

CC: (none) => micheelsen

Comment 7 Marja Van Waes 2024-01-02 15:36:38 CET
(In reply to Timothée Giet from comment #0)
> Description of problem:
> 
> Clementine package is missing jack support.
> Please add it. (I know it's available in the sources since I use it with
> jack in other distributions... )

Is this bug still valid?

If so, maybe looking at the spec file of one of those distributions helps to figure out how to fix it?

Status: NEW => NEEDINFO
CC: (none) => marja11

Comment 8 Timothée Giet 2024-01-02 16:03:54 CET
Thanks for digging-out that old topic. I've checked again, and after investigation I finally figured out the solution.

It wasn't directly a problem with the clementine package: it's only that since it relies on gstreamer for the output, it needs the gstreamer-jack plugin to have the native-jack output option.

So I installed gstreamer1.0-jack package, and the option is now available.

Thanks to all who answered and tried to help on that topic, closing it as fixed :)

Resolution: (none) => FIXED
Status: NEEDINFO => RESOLVED