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

Hydrogen freezes upon saving audio system preferences (Jack) #1625

Open
masonfeduccia opened this issue Jul 31, 2022 · 21 comments
Open

Hydrogen freezes upon saving audio system preferences (Jack) #1625

masonfeduccia opened this issue Jul 31, 2022 · 21 comments

Comments

@masonfeduccia
Copy link

masonfeduccia commented Jul 31, 2022

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.

@queengab
Copy link

queengab commented Nov 5, 2022

Hi,

having same problem with:
Hydrogen: Hydrogen version * : 1.1.1
OS: Windows 11 pro 22h2
Jack audio: 0.97

My aim is to connect hydrogen with jackaudio patchbay and using the pattern sequencer with redzeppelin Drumkit loaded on Carla.

Thanks

@theGreatWhiteShark
Copy link
Contributor

having same problem with

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 -d jack option via the command line?

Did you start the JACK server before starting Hydrogen? Does this make a difference?

@queengab
Copy link

queengab commented Nov 7, 2022

Hi,

and thanks for you response and support.

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.

Hi, i configured the log file to debug but after choosing the jack audio driver
image

i have only this:

Start logger(E) PortAudioDriver::connect Can't use device '', using default stream�[0m
(E) PortAudioDriver::connect Can't use device '', using default stream�[0m
(E) PortAudioDriver::connect Can't use device '', using default stream�[0m
(E) PortAudioDriver::connect Can't use device '', using default stream�[0m
(E) PortAudioDriver::connect Can't use device '', using default stream�[0m

Does the problem also occur when starting with the -d jack option via the command line?

I can't start jack2 from command line, on windows i'm using qjackctl that embed jack2 driver.

Did you start the JACK server before starting Hydrogen? Does this make a difference?
Sure i always started jack for first. Using Carla have no problems with jack, i think maybe sometinhg wrong after choosign jack driver on hydrogen.

Do you know if there is another way to send you a log? I started hydrogen --verbose debug but haven't something important.

Maybe this could help? jackaudio/jack2#648

@theGreatWhiteShark
Copy link
Contributor

Do you know if there is another way to send you a log?

You can open Windows command prompt (CMD) and enter the following commans (AFAIR this work in PowerShell as well)

start /b "" "c:\Program Files\Hydrogen\hydrogen.exe" --verbose "DEBUG"

I can't start jack2 from command line, on windows i'm using qjackctl that embed jack2 driver.

That's fine too. Do you start QJackCtl before Hydrogen? Is the bug the same if you don't?

Start logger(E) PortAudioDriver::connect Can't use device '', using default stream�[0m
(E) PortAudioDriver::connect Can't use device '', using default stream�[0m
(E) PortAudioDriver::connect Can't use device '', using default stream�[0m
(E) PortAudioDriver::connect Can't use device '', using default stream�[0m
(E) PortAudioDriver::connect Can't use device '', using default stream�[0m

This looks indeed a bit weird and smells like a small bug. But it's most probably not the cause of your problems.

@queengab
Copy link

queengab commented Nov 8, 2022

Hi,

thanks for your suggestion.
This is my situation

image

I started qjacktl then i run hydrogen from cmd.
But i can't see nothing in CMD after launch the verbose option.

Then i have to close Hydrogen and restart it.
If i see my log file i find the same bug reported in the previous post.

If you want i can do more tries if you guide me.
Carla for example works without problem after starting jack.
Maybe it's omething related to how hydrogen comunicate with jack2 on windows? Maybe this version won't work with jack2?

So i'm here please use me to understand what happen

Don't know if in windows system there is something like journalctl

@queengab
Copy link

queengab commented Nov 8, 2022

Hi,

these are my windows event logs:
The folders are all empty!

Bucket errato 1368462783438581949, tipo 5
Nome evento: AppHangB1
Risposta: Non disponibile
ID CAB: 0

Firma problema: 
P1: hydrogen.exe
P2: 0.0.0.0
P3: 00000000
P4: b626
P5: 134217728
P6: 
P7: 
P8: 
P9: 
P10: 

File allegati:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.a0d41e01-d4cd-46a7-807e-bb2c45e17447.tmp.WERInternalMetadata.xml
WPR_initiated_DiagTrackMiniLogger_OneTrace_User_Logger_20220920_1_EC_0_inject.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.93a5af87-6f99-4ecc-8c59-77628855187e.tmp.etl
WPR_initiated_DiagTrackMiniLogger_WPR System Collector_inject.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.7f2051f1-270c-4e2c-a1bc-80ffbb929a3c.tmp.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.aaa75779-a044-4f02-ac8e-1e166f027730.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.886b651f-86db-4e66-aef1-ec2107d6be76.tmp.txt
\\?\D:\Users\myuser\AppData\Local\Temp\WER.36bedfb6-a1f6-4e07-941e-3e255b0e5d29.tmp.appcompat.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.7e2fb515-55ce-4151-beb5-3e1dcc0a18b5.tmp.xml

I file potrebbero essere disponibili qui:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppHang_hydrogen.exe_a84a9abda6e111f98bd25b115ee2dad705cd7f_18c53fcf_de186d39-4b65-45b5-a576-de06a8a236da

Simbolo analisi: 
Nuova ricerca di soluzioni: 0
ID rapporto: 2b0500c0-3c2d-4a18-91c3-912699ec1e38
Stato rapporto: 268435456
Bucket con hash: fbc2ed72c8c8fe8232fdc1a6af32f0bd
GUID CAB: 0

@queengab
Copy link

queengab commented Nov 8, 2022

Hi again,

see this jackaudio/jack2#714

If i run jackd from command line

C:\Program Files\JACK2>jackd -dportaudio
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Drivers/internals found in : C:\Program Files\JACK2
Drivers/internals found in : C:\Program Files\JACK2
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Cannot connect to named pipe after wait = \\.\pipe\server_jack_default_0 err = 2
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Open error: is JACK server running?
jack_deactivate called with a NULL client
jack_deactivate called with a NULL client
jack_client_close called with a NULL client
Allocate: named semaphore already exist name = jack_pipe.default_system
Allocate: named semaphore already exist name = jack_pipe.default_freewheel

Maybe is a problem related jackaudio and how it start on win? Or this db cache folder?
Maybè @falkTX know something?

@theGreatWhiteShark
Copy link
Contributor

But i can't see nothing in CMD after launch the verbose option.

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.

Maybe is a problem related jackaudio and how it start on win? Or this db cache folder?
Maybè @ falkTX know something?

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.

@queengab
Copy link

queengab commented Nov 9, 2022

Hi!

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.

Thanks for you work, for hydrogen, it's not really a problem! I want to help as i can.
Anyway finally with your development version (bravo! Gui is improved and it's very pretty), i recorded the debug log:

image
I can then choose midijack output with my master keyboard, but jack is not initialised.
In this case the software don't freeze.

Thanks very much!

This is my log:

(I) Filesystem::check_sys_paths system wide data path C:/Program Files/Hydrogen/data/ is usable.←[0m
(I) Filesystem::path_usable create user directory : D:/Users/myuser/AppData/Local/Temp/hydrogen/←[0m
(I) Filesystem::check_usr_paths user path D:/Users/myuser/.hydrogen/data/ is usable.←[0m
(I) Filesystem::info Tmp dir                    : D:/Users/myuser/AppData/Local/Temp/hydrogen/←[0m
(I) Filesystem::info Click file                 : C:/Program Files/Hydrogen/data/click.wav←[0m
(I) Filesystem::info Empty song                 : D:/Users/myuser/.hydrogen/data/emptySong.h2song←[0m
(I) Filesystem::info Demos dir                  : C:/Program Files/Hydrogen/data/demo_songs/←[0m
(I) Filesystem::info Documentation dir          : C:/Program Files/Hydrogen/data/doc/←[0m
(I) Filesystem::info System drumkit dir         : C:/Program Files/Hydrogen/data/drumkits/←[0m
(I) Filesystem::info Empty sample               : C:/Program Files/Hydrogen/data/emptySample.wav←[0m
(I) Filesystem::info Default config             : C:/Program Files/Hydrogen/data/hydrogen.default.conf←[0m
(I) Filesystem::info Internationalization dir   : C:/Program Files/Hydrogen/data/i18n/←[0m
(I) Filesystem::info Images dir                 : C:/Program Files/Hydrogen/data/img/←[0m
(I) Filesystem::info XSD dir                    : C:/Program Files/Hydrogen/data/xsd/←[0m
(I) Filesystem::info drumkit pattern XSD        : C:/Program Files/Hydrogen/data/xsd/drumkit_pattern.xsd←[0m
(I) Filesystem::info drumkit XSD                : C:/Program Files/Hydrogen/data/xsd/drumkit.xsd←[0m
(I) Filesystem::info drumkit XSD                : C:/Program Files/Hydrogen/data/xsd/playlist.xsd←[0m
(I) Filesystem::info User config                : D:/Users/myuser/.hydrogen/hydrogen.conf←[0m
(I) Filesystem::info User Click file            : C:/Program Files/Hydrogen/data/click.wav←[0m
(I) Filesystem::info Cache dir                  : D:/Users/myuser/.hydrogen/data/cache/←[0m
(I) Filesystem::info Reporitories Cache dir     : D:/Users/myuser/.hydrogen/data/cache/repositories/←[0m
(I) Filesystem::info User drumkit dir           : D:/Users/myuser/.hydrogen/data/drumkits/←[0m
(I) Filesystem::info Patterns dir               : D:/Users/myuser/.hydrogen/data/patterns/←[0m
(I) Filesystem::info Playlist dir               : D:/Users/myuser/.hydrogen/data/playlists/←[0m
(I) Filesystem::info Plugins dir                : D:/Users/myuser/.hydrogen/data/plugins/←[0m
(I) Filesystem::info Scripts dir                : D:/Users/myuser/.hydrogen/data/scripts/←[0m
(I) Filesystem::info Songs dir                  : D:/Users/myuser/.hydrogen/data/songs/←[0m
(I) Preferences::loadPreferences Loading preferences file (SYS) [C:/Program Files/Hydrogen/data/hydrogen.default.conf]←[0m
(W) XMLNode::read_bool Using default value 1 for showExportDrumkitLicenseWarning←[0m
(W) XMLNode::read_bool Using default value 1 for showExportDrumkitCopyleftWarning←[0m
(W) XMLNode::read_bool Using default value 1 for showExportDrumkitAttributionWarning←[0m
(I) Preferences::loadPreferences Loading preferences file (USER) [D:/Users/myuser/.hydrogen/hydrogen.conf]←[0m
(I) ::int main(int, char**) Using QT version 5.15.7←[0m
(I) ::int main(int, char**) Using data path: C:/Program Files/Hydrogen/data/←[0m
(I) ::int main(int, char**) Warning: No Qt translation for locale it_IT found.←[0m
(I) ::int main(int, char**) Using locale: C:/Program Files/Hydrogen/data/i18n/←[0m
(I) Hydrogen::Hydrogen [Hydrogen]←[0m
(I) Effects::getPluginList *** [getPluginList] reading directory: D:/Users/myuser/.hydrogen/data/plugins/←[0m
(I) Effects::getPluginList Loaded 0 LADSPA plugins←[0m
(I) AudioEngine::startAudioDrivers ←[0m
(I) AudioEngine::createAudioDriver Creating driver [JACK]←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) AudioEngine::createAudioDriver Error code [-1] while initializing audio driver [JACK].←[0m
(I) JackAudioDriver::disconnect disconnect←[0m
(E) AudioEngine::startAudioDrivers Couldn't start audio driver [JACK], falling back to NullDriver←[0m
(I) AudioEngine::createAudioDriver Creating driver [NullDriver]←[0m
(I) NullDriver::connect connect←[0m
(I) PortMidiDriver::open [open]←[0m
(I) PortMidiDriver::open Midi input device not found.←[0m
(I) PortMidiDriver::open Midi output device not found.←[0m
(I) Drumkit::load [GMRockKit] loaded from [C:/Program Files/Hydrogen/data/drumkits/GMRockKit]←[0m
(I) Drumkit::load [TR808EmulationKit] loaded from [C:/Program Files/Hydrogen/data/drumkits/TR808EmulationKit]←[0m
(I) Drumkit::load [Flac_GSCW-1] loaded from [D:/Users/myuser/.hydrogen/data/drumkits/Flac_GSCW-1]←[0m
(I) Song::load Reading C:/Program Files/Hydrogen/data/demo_songs/GM_kit_Diddley.h2song←[0m
(I) Song::load Trying to load a song [C:/Program Files/Hydrogen/data/demo_songs/GM_kit_Diddley.h2song] created with a different version [1.2.0] of hydrogen. Current version: 1.1.1-'189e00c5'←[0m
(I) Song::Song INIT 'Diddley'←[0m
(W) XMLNode::read_child_node XML node song->isPatternEditorLocked should exists.←[0m
(W) XMLNode::read_bool Using default value 0 for isPatternEditorLocked←[0m
(W) XMLNode::read_child_node XML node song->isTimelineActivated should exists.←[0m
(W) XMLNode::read_bool Using default value 0 for isTimelineActivated←[0m
(W) XMLNode::read_child_node XML node pattern->category should not be empty.←[0m
(W) XMLNode::read_string Using default value unknown for category←[0m
(W) XMLNode::read_child_node XML node pattern->category should not be empty.←[0m
(W) XMLNode::read_string Using default value unknown for category←[0m
(W) XMLNode::read_child_node XML node pattern->category should not be empty.←[0m
(W) XMLNode::read_string Using default value unknown for category←[0m
(W) XMLNode::read_child_node XML node pattern->category should not be empty.←[0m
(W) XMLNode::read_string Using default value unknown for category←[0m
(W) XMLNode::read_child_node XML node pattern->category should not be empty.←[0m
(W) XMLNode::read_string Using default value unknown for category←[0m
(W) XMLNode::read_child_node XML node pattern->category should not be empty.←[0m
(W) XMLNode::read_string Using default value unknown for category←[0m
(W) XMLNode::read_child_node XML node pattern->category should not be empty.←[0m
(W) XMLNode::read_string Using default value unknown for category←[0m
(I) AudioEngine::setSong Set song: Diddley←[0m
(E) TransportPosition::computeFrameFromTick Not properly initialized yet←[0m
(E) AudioEngine::updateBpmAndTickSize [Transport] Something went wrong while calculating the tick size. [oldTS: 400.000000, newTS: 0.000000]←[0m
(E) TransportPosition::computeFrameFromTick Not properly initialized yet←[0m
(E) AudioEngine::updateBpmAndTickSize [Transport] Something went wrong while calculating the tick size. [oldTS: 400.000000, newTS: 0.000000]←[0m
(I) Preferences::savePreferences Saving preferences file D:/Users/myuser/.hydrogen/hydrogen.conf←[0m

@theGreatWhiteShark
Copy link
Contributor

Now that's the kind nice and unambiguous log one wishs to find!

[...]
(I) AudioEngine::startAudioDrivers ←[0m
(I) AudioEngine::createAudioDriver Creating driver [JACK]←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) AudioEngine::createAudioDriver Error code [-1] while initializing audio driver [JACK].←[0m
[...]

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.

In this case the software don't freeze.

But, still, there is no audio driver present and Hydrogen is in a pretty useless state.

@queengab
Copy link

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?

:) :) :)
Yes for example carla last version work with no problem.
The .jackdrc report: C:/Program Files/JACK2/jackd.exe -S -X winmme -p512 -dportaudio -c32 -i16

This is my qjacktl version:
image

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.

Installed this version from here:
https://jackaudio.org/downloads/

But, still, there is no audio driver present and Hydrogen is in a pretty useless state.
If i choose jack in preferences than i restart and with jack driver selected...than also this version freeze...so.
We need your help :)

Thanks again!
Bye

@cme
Copy link
Contributor

cme commented Nov 10, 2022

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 \Program Files\Hydrogen.

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.

@queengab
Copy link

Hi,

thaks for you help:
In my hydrogen folder i have:
libjack64.dll 2.387kb and date 15/04/2022 and Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5Widgets Qt5Xml Qt5XmlPatterns all .dll

In my jack2 folder:
libjacknet64 2.537kb 15/04/2022 and qt5 files inside a sub folder with different "weight"
inside C:\Program Files\JACK2\lib
libjack64.dll.a and some other files with different values

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?
I don0t know but thanks for your suggestion!

@cme
Copy link
Contributor

cme commented Nov 12, 2022

Sure hydorgen come with differnt jack client maybe but what could i overwrite in hydrogen 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 )

Maybe hydrogen, in windows like Carla, could come without a jack client embed in its folder?

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...

@cme
Copy link
Contributor

cme commented Nov 12, 2022

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.

@queengab
Copy link

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.
image

If i select jackmidi driver withourt selecting input or output, i can se hydrogen on jack patchbay graph and see also it in Carla.
But have also the output L/R to system ouput...

I'd like to configurare hydrogen with jack and carla like this: https://www.youtube.com/watch?v=OeZWMjaAckA
I just figured it out. Don't know why hydrogen have no plugn in to attach red drum and use hydrogen sequencer.

But one thing it's ok, so thanks so much for your effort!!!

Gabriele

@theGreatWhiteShark
Copy link
Contributor

now if i choose on midi system preferences input (my keyboard) output (something) the software frreze.

Could you provide the log output for this new freeze too?

But have also the output L/R to system ouput

There is a checkbox Connect to default JACK output ports in the Audio preferences you can uncheck in case you do not want Hydrogen to automatically connect to your system's defaults.

Don't know why hydrogen have no plugn in to attach red drum and use hydrogen sequencer.

Because supporting (modern) plugins - yet alone different formats - is a massive task. After all, Carla is a full application with quite some lines of source code, which does nothing except of hosting plugins. We do not have sufficient resources to support it ourselves.

@queengab
Copy link

Hi!

now if i choose on midi system preferences input (my keyboard) output (something) the software frreze.

Could you provide the log output for this new freeze too?

Hi this is the log when i try to create this settings
image
Samson Graphite is my midi keyboard.
I will try to install midi loop driver and try something different

Jack: JackClient::SetupDriverSync driver sem in normal mode
Jack: JackWinSemaphore::Connect jack_pipe.default_Hydrogen
Jack: JackLibClient::Open name = Hydrogen refnum = 3
Jack: JackClient::PortRegister ref = 3 name = Hydrogen:out_L type = 32 bit float mono audio port_index = 10
Jack: jack_set_property ext_client dd41c260 client dd41c260
Jack: JackClient::ClientNotify ref = 3 name = 4294967307 notify = 19
Jack: JackClient::PortRegister ref = 3 name = Hydrogen:out_R type = 32 bit float mono audio port_index = 11
Jack: jack_set_property ext_client dd41c260 client dd41c260
Jack: JackClient::ClientNotify ref = 3 name = 4294967308 notify = 19
Jack: JackClient::Activate
Jack: JackWinThread::StartImp : create non RT thread
Jack: JackWinThread::ThreadHandler : start
Jack: JackClient::kBufferSizeCallback buffer_size = 512
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 2
Jack: JackClient::Init : period = 0 computation = 0 constraint = 0
Jack: JackWinThread::AcquireRealTimeImp priority = 7
Jack: JackWinProcessSync::Trylock WaitForSingleObject err = 0
Jack: JackClient::kActivateClient name = Hydrogen ref = 3
Jack: JackClient::Connect src = Hydrogen:out_L dst = alsa_pcm:playback_1
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 18
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 18
Jack: JackClient::Connect src = Hydrogen:out_L dst = system:playback_1
Jack: JackClient::Connect src = Hydrogen:out_R dst = system:playback_2
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 18
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 18
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 3
Jack: JackClient::kXRunCallback
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 3
Jack: JackClient::kXRunCallback
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
Jack: JackClient::TransportLocate pos = 0
Jack: RequestNewPos pos = 0
(E) XMLDoc::write Unable to open C:/Program Files/Hydrogen/data/demo_songs/.GM_kit_Diddley.autosave.h2song for writing←[0m
(E) Song::save Error writing song to [C:/Program Files/Hydrogen/data/demo_songs/.GM_kit_Diddley.autosave.h2song]←[0m
Jack: JackClient::Deactivate
Jack: JackClient::Deactivate res = 0
Jack: JackWinThread::Kill
Jack: jack_client_close
Jack: JackClient::Close ref = 3
Jack: JackClient::Deactivate
Jack: JackWinNamedPipeClientChannel::Stop
Jack: JackWinThread::Kill
Jack: JackWinNamedPipeServer::Close
Jack: JackWinSemaphore::Disconnect jack_pipe.default_Hydrogen
Jack: JackLibClient::~JackLibClient
Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 5
Jack: Succeeded in unlocking 426 byte memory area
Jack: JackLibGlobals Destroy dd400fa0
Jack: ~JackLibGlobals
Jack: JackWinSemaphore::Disconnect jack_pipe.default_system
Jack: JackWinSemaphore::Disconnect jack_pipe.default_freewheel
Jack: JackWinSemaphore::Disconnect jack_pipe.default_system_midi
Jack: JackWinSemaphore::Disconnect jack_pipe.default_qjackctl
Jack: JackWinThread::Stop
Jack: JackWinThread::ThreadHandler : exit
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 4
Jack: Succeeded in unlocking 1196 byte memory area
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 2
Jack: Succeeded in unlocking 55416860 byte memory area
Jack: jack_client_close res = 0
Jack: jack_client_open Hydrogen
Jack: JackLibGlobals Init 0
Jack: InitTime : multimedia timer resolution set to 1 milliseconds
Jack: JackLibGlobals
Jack: JackWinThread::StartImp : create non RT thread
Jack: JackWinThread::ThreadHandler : start
Jack: JackGenericClientChannel::ServerCheck = default
Jack: JackWinNamedPipeClient::ConnectAux : fName \\.\pipe\server_jack_default_0
Jack: JackWinNamedPipeServer::Close
Jack: JackLibClient::JackLibClient table = dd3ddbd0
Jack: JackLibClient::Open name = Hydrogen
Jack: JackWinNamedPipeClientChannel::Open name = Hydrogen
Jack: JackWinNamedPipeClient::ConnectAux : fName \\.\pipe\server_jack_default_0
Jack: JackWinNamedPipeServer::BindAux : fName \\.\pipe\client_jack_Hydrogen_0
Jack: JackWinNamedPipeClientChannel::Start
Jack: JackWinThread::StartImp : create non RT thread
Jack: JackWinThread::ThreadHandler : start
Jack: JackWinNamedPipeClientChannel::Init
Jack: JackClient::ClientNotify ref = 0 name = system notify = 0
Jack: JackClient::AddClient name = system, ref = 0
Jack: JackWinSemaphore::Connect jack_pipe.default_system
Jack: JackClient::ClientNotify ref = 1 name = freewheel notify = 0
Jack: JackClient::AddClient name = freewheel, ref = 1
Jack: JackWinSemaphore::Connect jack_pipe.default_freewheel
Jack: JackClient::ClientNotify ref = 2 name = system_midi notify = 0
Jack: JackClient::AddClient name = system_midi, ref = 2
Jack: JackWinSemaphore::Connect jack_pipe.default_system_midi
Jack: JackClient::ClientNotify ref = 4 name = qjackctl notify = 0
Jack: JackClient::AddClient name = qjackctl, ref = 4
Jack: JackWinSemaphore::Connect jack_pipe.default_qjackctl
Jack: JackShmReadWritePtr::Init 4 -1
Jack: Succeeded in locking 1196 byte memory area
Jack: JackShmReadWritePtr::Init 2 -1
Jack: Succeeded in locking 55416860 byte memory area
Jack: JackShmReadWritePtr1::Init 5 -1
Jack: Succeeded in locking 426 byte memory area
Jack: JackClient::SetupDriverSync driver sem in normal mode
Jack: JackWinSemaphore::Connect jack_pipe.default_Hydrogen
Jack: JackLibClient::Open name = Hydrogen refnum = 3
Jack: JackClient::PortRegister ref = 3 name = Hydrogen:out_L type = 32 bit float mono audio port_index = 10
Jack: jack_set_property ext_client 8270f320 client 8270f320
Jack: JackClient::ClientNotify ref = 3 name = 4294967307 notify = 19
Jack: JackClient::PortRegister ref = 3 name = Hydrogen:out_R type = 32 bit float mono audio port_index = 11
Jack: jack_set_property ext_client 8270f320 client 8270f320
Jack: JackClient::ClientNotify ref = 3 name = 4294967308 notify = 19
Jack: JackClient::Activate
Jack: JackWinThread::StartImp : create non RT thread
Jack: JackWinThread::ThreadHandler : start
Jack: JackClient::kBufferSizeCallback buffer_size = 512
Jack: JackClient::Init : period = 0 computation = 0 constraint = 0
Jack: JackWinThread::AcquireRealTimeImp priority = 7
Jack: MMCSS API not used...
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 2
Jack: JackClient::kActivateClient name = Hydrogen ref = 3
Jack: JackClient::Connect src = Hydrogen:out_L dst = alsa_pcm:playback_1
Jack: JackClient::Connect src = Hydrogen:out_L dst = system:playback_1
Jack: JackClient::Connect src = Hydrogen:out_R dst = system:playback_2
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 18
Jack: JackClient::ClientNotify ref = 3 name = Hydrogen notify = 18
Jack: JackClient::Deactivate
Jack: JackClient::Deactivate res = 0
Jack: JackWinThread::Kill
Jack: jack_client_close
Jack: JackClient::Close ref = 3
Jack: JackClient::Deactivate
Jack: JackWinNamedPipeClientChannel::Stop
Jack: JackWinThread::Kill
Jack: JackWinNamedPipeServer::Close
Jack: JackWinSemaphore::Disconnect jack_pipe.default_Hydrogen
Jack: JackLibClient::~JackLibClient
Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 5
Jack: Succeeded in unlocking 426 byte memory area
Jack: JackLibGlobals Destroy dd3ddbb0
Jack: ~JackLibGlobals
Jack: JackWinSemaphore::Disconnect jack_pipe.default_system
Jack: JackWinSemaphore::Disconnect jack_pipe.default_freewheel
Jack: JackWinSemaphore::Disconnect jack_pipe.default_system_midi
Jack: JackWinSemaphore::Disconnect jack_pipe.default_qjackctl
Jack: no message buffer overruns
Jack: JackWinThread::Stop
Jack: JackWinThread::ThreadHandler : exit
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 4
Jack: Succeeded in unlocking 1196 byte memory area
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 2
Jack: Succeeded in unlocking 55416860 byte memory area
Jack: jack_client_close res = 0
Jack: jack_client_open Hydrogen
Jack: JackLibGlobals Init 0
Jack: InitTime : multimedia timer resolution set to 1 milliseconds
Jack: JackLibGlobals
Jack: JackWinThread::StartImp : create non RT thread
Jack: JackWinThread::ThreadHandler : start
Jack: JackGenericClientChannel::ServerCheck = default
Jack: JackWinNamedPipeClient::ConnectAux : fName \\.\pipe\server_jack_default_0
Jack: JackWinNamedPipeServer::Close
Jack: JackLibClient::JackLibClient table = dd3ddbd0
Jack: JackLibClient::Open name = Hydrogen
Jack: JackWinNamedPipeClientChannel::Open name = Hydrogen
Jack: JackWinNamedPipeClient::ConnectAux : fName \\.\pipe\server_jack_default_0
Jack: JackWinNamedPipeServer::BindAux : fName \\.\pipe\client_jack_Hydrogen_0
Jack: JackWinNamedPipeClientChannel::Start
Jack: JackWinThread::StartImp : create non RT thread
Jack: JackWinThread::ThreadHandler : start
Jack: JackWinNamedPipeClientChannel::Init

@theGreatWhiteShark
Copy link
Contributor

Hi this is the log when i try to create this settings

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 Debug (using the -VDebug argument on the command line)?

Does starting Hydrogen/setting its driver to Jack interrupt the audio of other Jack applications?

@queengab
Copy link

queengab commented Nov 16, 2022

image
image

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
(I) Filesystem::check_sys_paths system wide data path C:/Program Files/Hydrogen/data/ is usable.←[0m
(I) Filesystem::path_usable create user directory : D:/Users/tramontig/AppData/Local/Temp/hydrogen/←[0m
(I) Filesystem::check_usr_paths user path D:/Users/tramontig/.hydrogen/data/ is usable.←[0m
(I) Filesystem::info Tmp dir : D:/Users/tramontig/AppData/Local/Temp/hydrogen/←[0m
(I) Filesystem::info Click file : C:/Program Files/Hydrogen/data/click.wav←[0m
(I) Filesystem::info Empty song : D:/Users/tramontig/.hydrogen/data/emptySong.h2song←[0m
(I) Filesystem::info Demos dir : C:/Program Files/Hydrogen/data/demo_songs/←[0m
(I) Filesystem::info Documentation dir : C:/Program Files/Hydrogen/data/doc/←[0m
(I) Filesystem::info System drumkit dir : C:/Program Files/Hydrogen/data/drumkits/←[0m
(I) Filesystem::info Empty sample : C:/Program Files/Hydrogen/data/emptySample.wav←[0m
(I) Filesystem::info Default config : C:/Program Files/Hydrogen/data/hydrogen.default.conf←[0m
(I) Filesystem::info Internationalization dir : C:/Program Files/Hydrogen/data/i18n/←[0m
(I) Filesystem::info Images dir : C:/Program Files/Hydrogen/data/img/←[0m
(I) Filesystem::info XSD dir : C:/Program Files/Hydrogen/data/xsd/←[0m
(I) Filesystem::info drumkit pattern XSD : C:/Program Files/Hydrogen/data/xsd/drumkit_pattern.xsd←[0m
(I) Filesystem::info drumkit XSD : C:/Program Files/Hydrogen/data/xsd/drumkit.xsd←[0m
(I) Filesystem::info drumkit XSD : C:/Program Files/Hydrogen/data/xsd/playlist.xsd←[0m
(I) Filesystem::info User config : D:/Users/tramontig/.hydrogen/hydrogen.conf←[0m
(I) Filesystem::info User Click file : C:/Program Files/Hydrogen/data/click.wav←[0m
(I) Filesystem::info Cache dir : D:/Users/tramontig/.hydrogen/data/cache/←[0m
(I) Filesystem::info Reporitories Cache dir : D:/Users/tramontig/.hydrogen/data/cache/repositories/←[0m
(I) Filesystem::info User drumkit dir : D:/Users/tramontig/.hydrogen/data/drumkits/←[0m
(I) Filesystem::info Patterns dir : D:/Users/tramontig/.hydrogen/data/patterns/←[0m
(I) Filesystem::info Playlist dir : D:/Users/tramontig/.hydrogen/data/playlists/←[0m
(I) Filesystem::info Plugins dir : D:/Users/tramontig/.hydrogen/data/plugins/←[0m
(I) Filesystem::info Scripts dir : D:/Users/tramontig/.hydrogen/data/scripts/←[0m
(I) Filesystem::info Songs dir : D:/Users/tramontig/.hydrogen/data/songs/←[0m
(I) Preferences::loadPreferences Loading preferences file (SYS) [C:/Program Files/Hydrogen/data/hydrogen.default.conf]←[0m
(W) XMLNode::read_bool Using default value 1 for showExportDrumkitLicenseWarning←[0m
(W) XMLNode::read_bool Using default value 1 for showExportDrumkitCopyleftWarning←[0m
(W) XMLNode::read_bool Using default value 1 for showExportDrumkitAttributionWarning←[0m
(I) Preferences::loadPreferences Loading preferences file (USER) [D:/Users/tramontig/.hydrogen/hydrogen.conf]←[0m
(I) ::int main(int, char**) Using QT version 5.15.7←[0m
(I) ::int main(int, char**) Using data path: C:/Program Files/Hydrogen/data/←[0m
(I) ::int main(int, char**) Warning: No Qt translation for locale it_IT found.←[0m
(I) ::int main(int, char**) Using locale: C:/Program Files/Hydrogen/data/i18n/←[0m
(I) Hydrogen::Hydrogen [Hydrogen]←[0m
(I) Effects::getPluginList *** [getPluginList] reading directory: D:/Users/tramontig/.hydrogen/data/plugins/←[0m
(I) Effects::getPluginList Loaded 0 LADSPA plugins←[0m
(I) AudioEngine::startAudioDrivers ←[0m
(I) AudioEngine::createAudioDriver Creating driver [JACK]←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) AudioEngine::createAudioDriver Error code [-1] while initializing audio driver [JACK].←[0m
(I) JackAudioDriver::disconnect disconnect←[0m
(E) AudioEngine::startAudioDrivers Couldn't start audio driver [JACK], falling back to NullDriver←[0m
(I) AudioEngine::createAudioDriver Creating driver [NullDriver]←[0m
(I) NullDriver::connect connect←[0m
(I) Drumkit::load [GMRockKit] loaded from [C:/Program Files/Hydrogen/data/drumkits/GMRockKit]←[0m
(I) Drumkit::load [TR808EmulationKit] loaded from [C:/Program Files/Hydrogen/data/drumkits/TR808EmulationKit]←[0m
(I) Drumkit::load [Flac_GSCW-1] loaded from [D:/Users/tramontig/.hydrogen/data/drumkits/Flac_GSCW-1]←[0m
(I) Song::load Reading C:/Program Files/Hydrogen/data/demo_songs/.GM_kit_Diddley.autosave.h2song←[0m
(I) Song::Song INIT 'Diddley'←[0m
(I) AudioEngine::setSong Set song: Diddley←[0m
(E) TransportPosition::computeFrameFromTick Not properly initialized yet←[0m
(E) AudioEngine::updateBpmAndTickSize [Transport] Something went wrong while calculating the tick size. [oldTS: 400.000000, newTS: 0.000000]←[0m
(E) TransportPosition::computeFrameFromTick Not properly initialized yet←[0m
(E) AudioEngine::updateBpmAndTickSize [Transport] Something went wrong while calculating the tick size. [oldTS: 400.000000, newTS: 0.000000]←[0m
(I) Preferences::savePreferences Saving preferences file D:/Users/tramontig/.hydrogen/hydrogen.conf←[0m
(I) AudioEngine::stopAudioDrivers ←[0m
(I) NullDriver::disconnect disconnect←[0m
(I) AudioEngine::startAudioDrivers ←[0m
(I) AudioEngine::createAudioDriver Creating driver [JACK]←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) AudioEngine::createAudioDriver Error code [-1] while initializing audio driver [JACK].←[0m
(I) JackAudioDriver::disconnect disconnect←[0m
(E) AudioEngine::startAudioDrivers Couldn't start audio driver [JACK], falling back to NullDriver←[0m
(I) AudioEngine::createAudioDriver Creating driver [NullDriver]←[0m
(I) NullDriver::connect connect←[0m
(E) AudioEngine::updateBpmAndTickSize [Transport] Something went wrong while calculating the tick size. [oldTS: 400.000000, newTS: 0.000000]←[0m
(E) AudioEngine::updateBpmAndTickSize [Queuing] Something went wrong while calculating the tick size. [oldTS: 400.000000, newTS: 0.000000]←[0m
(E) TransportPosition::computeFrameFromTick Not properly initialized yet←[0m
(I) Preferences::savePreferences Saving preferences file D:/Users/tramontig/.hydrogen/hydrogen.conf←[0m
(I) PreferencesDialog::~PreferencesDialog ~PREFERENCES_DIALOG←[0m
(I) AudioEngine::stopAudioDrivers ←[0m
(I) NullDriver::disconnect disconnect←[0m
(I) AudioEngine::startAudioDrivers ←[0m
(I) AudioEngine::createAudioDriver Creating driver [PortAudio]←[0m
(I) PortAudioDriver::connect [connect]←[0m
(E) PortAudioDriver::connect Can't use device '', using default stream←[0m
(E) PortAudioDriver::connect Can't use device '', using default stream←[0m
(E) PortAudioDriver::connect Can't use device '', using default stream←[0m
(E) PortAudioDriver::connect Can't use device '', using default stream←[0m
(E) PortAudioDriver::connect Can't use device '', using default stream←[0m
(I) PortAudioDriver::connect Opened device ''←[0m
(I) PortAudioDriver::connect PortAudio outpot latency: 0.180317 s←[0m
(I) PortMidiDriver::open [open]←[0m
(I) PortMidiDriver::open Midi input device not found.←[0m
(I) PortMidiDriver::open Midi output device not found.←[0m
(I) Preferences::savePreferences Saving preferences file D:/Users/tramontig/.hydrogen/hydrogen.conf←[0m
(I) PreferencesDialog::~PreferencesDialog ~PREFERENCES_DIALOG←[0m
(I) PortMidiDriver::getOutputPortList SAMSON Graphite M32←[0m
(I) PortMidiDriver::getInputPortList Microsoft MIDI Mapper←[0m
(I) PortMidiDriver::getInputPortList Microsoft GS Wavetable Synth←[0m
(I) PortMidiDriver::getInputPortList SAMSON Graphite M32←[0m
(I) AudioEngine::stopAudioDrivers ←[0m
(I) PortMidiDriver::close [close]←[0m
(I) AudioEngine::startAudioDrivers ←[0m
(I) AudioEngine::createAudioDriver Creating driver [JACK]←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) JackAudioDriver::init Unknown status with JACK server.←[0m
(E) AudioEngine::createAudioDriver Error code [-1] while initializing audio driver [JACK].←[0m
(I) JackAudioDriver::disconnect disconnect←[0m
(E) AudioEngine::startAudioDrivers Couldn't start audio driver [JACK], falling back to NullDriver←[0m
(I) AudioEngine::createAudioDriver Creating driver [NullDriver]←[0m
(I) NullDriver::connect connect←[0m
(E) AudioEngine::updateBpmAndTickSize [Transport] Something went wrong while calculating the tick size. [oldTS: 459.375000, newTS: 0.000000]←[0m
(E) AudioEngine::updateBpmAndTickSize [Queuing] Something went wrong while calculating the tick size. [oldTS: 459.375000, newTS: 0.000000]←[0m
(E) TransportPosition::computeFrameFromTick Not properly initialized yet←[0m
(I) PortMidiDriver::open [open]←[0m
(I) PortMidiDriver::open Midi input device not found.←[0m
(I) PortMidiDriver::open Midi output device not found.←[0m
(I) Preferences::savePreferences Saving preferences file D:/Users/tramontig/.hydrogen/hydrogen.conf←[0m
(I) PreferencesDialog::~PreferencesDialog ~PREFERENCES_DIALOG←[0m
(I) Song::save Saving song to [C:/Program Files/Hydrogen/data/demo_songs/.GM_kit_Diddley.autosave.h2song]←[0m
(I) Song::save Save was successful.←[0m

this is jack log:
12:20:17.733 JACK connection graph change.
Jack: JackWinNamedPipeServerChannel::ClientAdd size 4
Jack: JackClientPipeThread::~JackClientPipeThread
Jack: JackClientPipeThread::~JackClientPipeThread
Jack: JackWinThread::StartImp : create non RT thread
Jack: JackWinNamedPipeServer::BindAux : fName \.\pipe\server_jack_default_0
Jack: JackWinNamedPipeServerChannel::ClientAdd size 3
Jack: JackWinThread::StartImp : create non RT thread
Jack: JackWinNamedPipeServer::BindAux : fName \.\pipe\server_jack_default_0
Jack: JackWinThread::ThreadHandler : start
Jack: JackClientPipeThread::Execute 365c730
Jack: Cannot read named pipe name = \.\pipe\server_jack_default_0 err = 109
Jack: JackClientPipeThread::Execute : cannot decode header
Jack: JackClientPipeThread::ClientKill ref = 0
Jack: Kill a not opened client 365c730
Jack: JackClientPipeThread::Close 0 365c730 0
Jack: JackWinThread::ThreadHandler : exit
Jack: JackWinThread::ThreadHandler : start
Jack: JackClientPipeThread::Execute 3670f40
Jack: JackRequest::ClientCheck
Jack: Check protocol client = 9 server = 9
Jack: JackRequest::ClientOpen
Jack: JackClientPipeThread::ClientAdd 3670f40 qjackctl-01
Jack: JackEngine::ClientExternalOpen: uuid = 14, name = qjackctl-01
Jack: JackEngine::AllocateRefNum ref = 4
Jack: JackWinSemaphore::Allocate name = jack_pipe.default_qjackctl-01 val = 0
Jack: JackWinNamedPipeNotifyChannel::Open name = qjackctl-01
Jack: JackWinNamedPipeClient::ConnectAux : fName \.\pipe\client_jack_qjackctl-01_0
Jack: JackShmMem::new index = 3 attached = c50000 size = 426
Jack: JackExternalClient::Open name = qjackctl-01 index = 3 base = c50000
Jack: JackEngine::NotifyAddClient: name = qjackctl-01
Jack: JackDriver::ClientNotify ref = 4 driver = system name = qjackctl-01 notify = 0
Jack: JackExternalClient::ClientNotify ref = 0 client = qjackctl-01 name = system notify = 0
Jack: JackDriver::ClientNotify ref = 4 driver = freewheel name = qjackctl-01 notify = 0
Jack: JackExternalClient::ClientNotify ref = 1 client = qjackctl-01 name = freewheel notify = 0
Jack: JackDriver::ClientNotify ref = 4 driver = system_midi name = qjackctl-01 notify = 0
Jack: JackExternalClient::ClientNotify ref = 2 client = qjackctl-01 name = system_midi notify = 0
Jack: JackExternalClient::ClientNotify ref = 4 client = qjackctl name = qjackctl-01 notify = 0
Jack: JackExternalClient::ClientNotify ref = 3 client = qjackctl-01 name = qjackctl notify = 0
Jack: JackClientPipeThread::Execute 3670f40
Jack: JackRequest::ClientClose
Jack: JackEngine::ClientExternalClose ref = 4
Jack: JackEngine::ClientCloseAux ref = 4
Jack: JackGraphManager::RemoveAllPorts ref = 4
JackEngine::ClientCloseAux wait error ref = 4
Jack: JackWinProcessSync::Unlock ReleaseMutex err = 288
Jack: JackDriver::ClientNotify ref = 4 driver = system name = qjackctl-01 notify = 1
Jack: JackWinProcessSync::Unlock ReleaseMutex err = 288
Jack: JackDriver::ClientNotify ref = 4 driver = freewheel name = qjackctl-01 notify = 1
Jack: JackWinProcessSync::Unlock ReleaseMutex err = 288
Jack: JackDriver::ClientNotify ref = 4 driver = system_midi name = qjackctl-01 notify = 1
Jack: JackExternalClient::ClientNotify ref = 4 client = qjackctl name = qjackctl-01 notify = 1
Jack: JackWinSemaphore::Destroy jack_pipe.default_qjackctl-01
Jack: JackExternalClient::Close
Jack: JackWinNamedPipeNotifyChannel::Close
Jack: JackShmMem::delete size = 0 index = 3
Jack: JackWinProcessSync::Unlock ReleaseMutex err = 288
Jack: JackClientPipeThread::ClientRemove ref = 4
Jack: JackClientPipeThread::Close 0 3670f40 4
Jack: JackWinThread::ThreadHandler : exit
12:20:17.936 JACK active patchbay scan...
Jack: JackRequest::GetUUIDByClient
Jack: JackClientPipeThread::Execute 365c790
Jack: JackRequest::GetUUIDByClient
Jack: JackClientPipeThread::Execute 365c790
Jack: JackRequest::GetUUIDByClient
Jack: JackClientPipeThread::Execute 365c790
Jack: JackRequest::GetUUIDByClient
Jack: JackClientPipeThread::Execute 365c790
Jack: JackRequest::GetUUIDByClient
Jack: JackClientPipeThread::Execute 365c790
Jack: JackRequest::GetUUIDByClient
Jack: JackClientPipeThread::Execute 365c790
Jack: JackRequest::GetUUIDByClient
Jack: JackClientPipeThread::Execute 365c790
12:20:25.829 Logging started --- mer nov 16 12:20:25 2022 ---
12:20:25.884 Statistics reset.
12:20:36.081 JACK is starting...
12:20:36.082 ./jackd.exe -S -X winmme -v -p512 -dportaudio -c32 -i16
12:20:36.095 JACK was started with PID=17052.
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Drivers/internals found in : C:\Program Files\JACK2
Drivers/internals found in : C:\Program Files\JACK2
`default' server already active
Failed to open server

And finally launching jack as administrator:
image

@theGreatWhiteShark
Copy link
Contributor

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.

`default' server already active
Failed to open server

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.

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

No branches or pull requests

5 participants