Skip to content
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

Problems with JACK #67

Open
TheTrustedComputer opened this issue Sep 14, 2020 · 2 comments
Open

Problems with JACK #67

TheTrustedComputer opened this issue Sep 14, 2020 · 2 comments

Comments

@TheTrustedComputer
Copy link

Hello, I am a heavy user of both the ADLplug and OPNplug programs on Windows. Recently, I decided to give it a try on Linux Mint 20--unsuccessfully.

After installing from the deb files, an error message pops up reading "Could not create a new audio client. Please start the JACK server and try again." I did not have JACK beforehand, so I installed it, (re)started the server, and tried again as the message told. However, that did not solve my problem. Logs from qjackctl do show the server received requests from the two programs, but the same error occurs before any further execution proceeds.

I honestly do not know much about JACK itself. Are there any steps I missed to get these to work properly on my system? If so, please enlighten me like I am a Linux newbie.

As I could not resolve the previous issue after many attempts, I went on to build without using the JACK flag (-DADLplug_Jack=OFF). Unfortunately, the build fails with a compiler error stating "cannot bind packed field", which points to a JUCE issue. This error has been reported by other users building with JUCE as far as I know, and my GCC version is 9.3.0.

@jpcima
Copy link
Owner

jpcima commented Sep 16, 2020

Hello @TheTrustedComputer

This error indicates that connecting to Jack was impossible, a failure at the most basic step.
Usually it's a result of Jack not being started.

I honestly do not know much about JACK itself. Are there any steps I missed to get these to work properly on my system? If so, please enlighten me like I am a Linux newbie.

It needs to install the jack software, and some graphical software that acts like a control panel (personnally I have Qjackctl).
Then it has some additional setup to do at system level for enabling real-time.

Usually musician will pick a preconfigured Linux distribution and not deal with this (kxstudio, librazik, ubuntu studio..), but you can follow some steps to make it work.

There is a document that explains system-level setup.
https://jackaudio.org/faq/linux_rt_config.html
(for short, you want to adding your user account in the Unix group "audio", if not already, and assign this group real-time processing privileges)

After a fresh boot, you can change a few things in the Qjackctl settings panel, press its "start" button and you'll be good to go.
In settings, some things you want to change probably are "buffer size/sample rate" for the latency control, and "priority" in the advanced tab set to some high value (such as 90).

I hope this helps. You can request advice in freenode IRC #lau if you have trouble (linux-audio-users)

@TheTrustedComputer
Copy link
Author

I have followed the steps provided in the attached link, and it helped to fix my issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants