-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cadence doesn't see jack #55574
Comments
|
A temporary workaround is to call cadence like the following, I don't remember what the correct way to deal with .so libraries and python is; |
|
Libraries are generally patched like this: nixpkgs/pkgs/development/python-modules/python-vlc/default.nix Lines 22 to 27 in e1ce60a
The place to patch: https://github.com/falkTX/Cadence/blob/9324d24e065f23de4fd1036f1c760e8f1ed3d218/src/jacklib.py#L34 |
|
Is this held up because we don't know what to do or because we don't have time to do it? Also, is there known work-around? |
|
See my comment above for how to fix it. I use neither JACK or cadence so I cannot test it but I would expect it to work. Workaround is described in the second comment. |
|
Thanks! I didn't get the impression that it worked for @deliciouslytyped. |
|
I think we can close this after merging #81098 . The problem with cadence, author has not enough time and it's full of bug, you fix one you'll discover 2. |
|
I can confirm that, having tested your change (thanks very much!), it gets past the error dialog, but still has issues communicating with jack. However, this is only one of several jack clients in nixpkgs that exhibit the same issue. IOW, I believe this is a larger problem that just this instance. In general, I'm finding that some jack client pkgs work with the jack service and many others do not. Stated another way, jack functionality in NixOS seem largely (though not totally) to be broken in general. |
|
I'll add that, with this change, cadence is definitely able to communicate with the jack server. However, cadence is essentially a launcher. @bignaux likely did fix cadence, but the individual apps that it launches within the pkg remain broken. In particular, catia still seems to be broken. |
|
Yes, did you have some :
or Client name = xxxxx conflits with another running client Im not able to use jack anymore, but same with jack_control, i don't think it's cadence problem here. |
|
I did indeed. And I've seen that kind of thing with several other jack apps. I think you did fix the cadence issue, but I believe it's more widespread. My own experience is with jack1 (vs jack2/jackdbus) and that in Debian. I'm not very knowledgeable about jack2 and I wonder if there's some subtle differences in the way the clients interact with the respective jack versions that accounts for some working and others not. |
|
And it's works with pulseaudio bridge, renoise jack ... I think we have dirty bug in jack2/dbus yes, try to figure out what. |
|
Off-hand, I can say that ardour, hydrogen, bristol, patchage all work for me. Ingen and ecasound are examples of apps with similar issues to the above. I'm pretty new to NixOS, but I'd be happy to contribute in whatever way I can -- testing, etc. |
|
Move on #74742 :D |
|
I wonder if this long-standing issue is related #11079 |
|
The issue is a breaking ABI . The jack server and the clients have to be compiled against the same toolchain. So if you use a nixos cached client, like zynaddsubfx with a libjack2's jackdbus from nixpkgs cache, you'll get such errors : before : nixos cache /nix/store/7l573r73dqfisf6mjngsyg2xg3dsfvc9-zynaddsubfx-3.0.5/bin/zynaddsubfx after install from nixpkgs : /nix/store/sqb7cjb0gjv503k8nrpqjz0fi11r6qgq-zynaddsubfx-3.0.5/bin/zynaddsubfx |
|
Interesting.
I've had no trouble with zynaddsubfx. That's one that's worked for me.
How would the gcc version come into play here?
…On Fri, Feb 28, 2020 at 4:39 AM Bignaux Ronan ***@***.***> wrote:
I'd problem with zynaddsubfx, rebuild it fix the mess.
before :
Cannot read socket fd = 3 err = No such file or directory
CheckRes error
Could not read result type = 22
Client name = temp-client conflits with another running client
Cannot connect to the server
after :
Starting Audio: JACK
Jack buffer resized
Audio Started
So i you use package compiled with same gcc version, it would work, old
are break. I donno what to do now , i imagine mass rebuild for new release
would fix that all ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#55574?email_source=notifications&email_token=AABUYZ4D5TRMH3TEZWZMBHDRFDLV7A5CNFSM4GWTIPQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENH4YXY#issuecomment-592432223>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABUYZ4OONP77JGFWJJTLT3RFDLV7ANCNFSM4GWTIPQA>
.
--
"I have delusions of grandeur. I believe myself to be Steve Jones"
|
|
Sorry i didn't investigate more, i'd be interesting if people can fix theirs bugs with that, anyway, time to close this issue. |
Issue description
cc maintainer: @bignaux
Some of the tools included with cadence need jack.
For example catia.
When I run it, I get a dialog saying:
JACK is not available in this system, cannot use this application.Steps to reproduce
Technical details
"x86_64-linux"Linux 4.19.15-rt12, NixOS, 19.03pre168781.929cc78363e (Koi)noyesnix-env (Nix) 2.2"""nixos-19.03pre168781.929cc78363e"/nix/var/nix/profiles/per-user/root/channels/nixosThe text was updated successfully, but these errors were encountered: