-
Notifications
You must be signed in to change notification settings - Fork 172
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
Hydrogen freezes upon saving audio system preferences (Jack) #1625
Comments
Hi, having same problem with: My aim is to connect hydrogen with jackaudio patchbay and using the pattern sequencer with redzeppelin Drumkit loaded on Carla. Thanks |
Could you provide a debug log? That would be very helpful for checking whether this is indeed some Hydrogen intrinsic problem or something related to the JACK server. Does the problem also occur when starting with the Did you start the JACK server before starting Hydrogen? Does this make a difference? |
Hi, and thanks for you response and support.
Hi, i configured the log file to debug but after choosing the jack audio driver i have only this:
I can't start jack2 from command line, on windows i'm using qjackctl that embed jack2 driver.
Do you know if there is another way to send you a log? I started Maybe this could help? jackaudio/jack2#648 |
You can open Windows command prompt (CMD) and enter the following commans (AFAIR this work in PowerShell as well)
That's fine too. Do you start QJackCtl before Hydrogen? Is the bug the same if you don't?
This looks indeed a bit weird and smells like a small bug. But it's most probably not the cause of your problems. |
Hi, thanks for your suggestion. I started qjacktl then i run hydrogen from cmd. Then i have to close Hydrogen and restart it. If you want i can do more tries if you guide me. So i'm here please use me to understand what happen Don't know if in windows system there is something like |
Hi, these are my windows event logs:
|
Hi again, see this jackaudio/jack2#714 If i run jackd from command line
Maybe is a problem related jackaudio and how it start on win? Or this db cache folder? |
Yeah. As someone who turns on an old Windows device only once per year this left me puzzled. Turns the log is only printed into a separate buffer when starting a debug build of Hydrogen using the command I posted. This was working for the Windows bundles I build myself but not for the artefacts we build automatically via AppVeyor. Anyhow. My bad. In newer versions of Hydrogen you can use the menu Debug > Open Debug File to display the whole debug log. Not quite sure if this is already supported in your version. Could open the debug file with a recent development version and post the content in here? It will hopefully give us some clues.
If there are other applications working properly with the JACK server, it's more likely this is a Hydrogen-specific problem and too early to get JACK people involved. I'll check whether I can reproduce these problems. But that might not happen before next week. |
Now that's the kind nice and unambiguous log one wishs to find!
Seem's like from the point of view of Hydrogen the JACK server is in a bad state. And other applications run properly when run right after that? Could you attach your QJackCtl configuration script and tell me the exact Jack version you are using (and from where you did install it)? I'll try to reproduce it during next week.
But, still, there is no audio driver present and Hydrogen is in a pretty useless state. |
:) :) :)
Installed this version from here:
Thanks again! |
JACK is pretty dependent on having the same versions of JACK in the client and the server processes. Hydrogen ships with one specific version, and if you have a separate JACK installation if the versions don't match that might be the cause. It might be worth trying copying the JACK DLL from your JACK install into We had thought about using WeakJACK to get around these issues but I don't think that went anywhere due to also having to apply the same thing to PortAudio. |
Hi, thaks for you help: In my jack2 folder: Sure hydorgen come with differnt jack client maybe but what could i overwrite in hydrogen folder? Maybe hydrogen, in windows like Carla, could come without a jack client embed in its folder? |
After much faffing about to get a working Windows VM, it looks like the JACK installer is installing libjack64.dll into the Windows directory. So you should be able to just rename the one in the Hydrogen dir to something else (XXXlibjack64.dll :D )
Doing this adds up to the same thing as incorporating WeakJack, with the same issues around PortAudio. But perhaps we could check for another JACK installation on startup, or something similar. Hmm... |
Okay, I just tried this on my VM. Installed Hydrogen 64-bit, got a freeze-up on trying to set JACK as the audio output. Moved the libjack64.dll in the Hydrogen directory to a different name, restarted Hydrogen, and successfully switched to JACK. Interestingly, the PortAudio DLL doesn't seem to reference a JACK dll, and the Windows qJackCtl suggests that JACK is actually using PortAudio as a back-end. So maybe worrying about PortAudio as another JACK client is a non-issue on Windows! That wolud be helpful. I'll look into it a bit more. |
Hi! So thanks! I confirm that if i copy the jackdrive in windows directory to hydrogen directory works! So this problem can be adjusted..now if i choose on midi system preferences input (my keyboard) output (something) the software frreze. If i select jackmidi driver withourt selecting input or output, i can se hydrogen on jack patchbay graph and see also it in Carla. I'd like to configurare hydrogen with jack and carla like this: https://www.youtube.com/watch?v=OeZWMjaAckA But one thing it's ok, so thanks so much for your effort!!! Gabriele |
Could you provide the log output for this new freeze too?
There is a checkbox
Because supporting (modern) plugins - yet alone different formats - is a massive task. After all, |
Which verbosity level of Hydrogen did you set when generating this log? I just see two lines logged by Hydrogen and the remainder was done by JACK itself (which seem to restart for some reason). Could you set the verbosity level to Does starting Hydrogen/setting its driver to Jack interrupt the audio of other Jack applications? |
Very strange now If i try to use jack i have this logs. I'm stuck! Sorry i don't to waste your time. Hydrogen log this is jack log: |
Hmm. Hydrogen log looks similar to the one generated before updating the JACK dll: Hydrogen is not able to connect to the JACK server, starts without an audio driver, and is in a pretty useless state.
The log of the JACK server seems to indicate that there was already another JACK instance running on your system which prevented the startup of a new one. |
Hydrogen version * : 1.1.1
Operating system + version : Win10 Pro 19043
Audio driver + version : Focusrite Scarlett 2i2
I'm attempting to connect my MIDI controller to Hydrogen via Jack. When I attempt to set the audio and/or MIDI system to Jack under Preferences and restart the audio driver, Hydrogen becomes unresponsive and I have to force quit. Setting it to PortAudio or PortMIDI works fine, however.
The text was updated successfully, but these errors were encountered: