jackaudio / jack2

jack2 codebase
GNU General Public License v2.0
2.19k stars 373 forks source link

Pa_OpenStream error = Unanticipated Host Error #687

Open ghost opened 3 years ago

ghost commented 3 years ago

I've been having this issue lately when trying to start Jack - Port Audio via QJackCtl. Jack cannot start no matter what I try. Jack will boot properly via dummy, although the result is that QJackCtl lags alot. Also, I've tried editing settings in the GUI for my Focusrite 2i2 (the interface i'm trying to use with Jack), and Jack will boot properly when I enable "playback only" mode instead of duplex. Here's my logfile for some context.

17:38:31.215 JACK is starting... 17:38:31.220 ./jackd.exe -S -X winmme -v -r -p1024 -u -dportaudio -r22050 -p16 17:38:31.234 JACK was started with PID=115741696. jackdmp 1.9.16 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2020 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 non-realtime mode self-connect-mode is "Don't restrict self connect requests" Jack: JackWinThread::StartImp : create non RT thread Jack: JackWinThread::ThreadHandler : start Jack: Initializing PortAudio... Jack: JackPortAudioDriver::Open nframes = 16 in = 0 out = 0 capture name = playback name = samplerate = 22050 Jack: JackDriver::Open capture_driver_name = Jack: JackDriver::Open playback_driver_name = Jack: Check protocol client = 8 server = 8 Jack: JackEngine::ClientInternalOpen: name = system Jack: JackEngine::AllocateRefNum ref = 0 Jack: JackWinSemaphore::Allocate name = jack_pipe.default_system val = 0 Jack: JackEngine::NotifyAddClient: name = system Jack: JackGraphManager::SetBufferSize size = 16 Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0 Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0 Jack: JackDriver::SetupDriverSync driver sem in normal mode Jack: JackPortAudioDriver::Open fInputDevice = 1, fOutputDevice 4 Jack: JackPortAudioDriver::Open setup max in channels = 2 Jack: JackPortAudioDriver::Open setup max out channels = 2 Jack: JackPortAudioDriver::OpenStream buffer_size = 16 Pa_OpenStream error = Unanticipated host error Jack: JackDriver::Close Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0 Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0 Jack: JackEngine::ClientInternalClose ref = 0 Jack: JackEngine::ClientCloseAux ref = 0 Jack: JackGraphManager::RemoveAllPorts ref = 0 Jack: JackWinSemaphore::Destroy jack_pipe.default_system Can't open default PortAudio device Jack: Terminate PortAudio... Jack: ~JackDriver Cannot initialize driver Jack: no message buffer overruns Jack: JackWinThread::Stop Jack: JackWinThread::ThreadHandler : exit JackServer::Open failed with -1 Jack: Succeeded in unlocking 72725018 byte memory area Jack: JackShmMem::delete size = 0 index = 0 Jack: ~JackDriver 17:38:33.597 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info. Jack: Succeeded in unlocking 1187 byte memory area Jack: JackShmMem::delete size = 0 index = 1 Jack: Cleaning up shared memory Jack: Cleaning up files Jack: Unregistering server `default' Failed to open server 17:38:33.651 JACK was stopped

Any ideas?

falkTX commented 3 years ago

sample rate is set to 22050, that might be why. this is super odd though...

-p1024 -u -dportaudio -r22050 -p16

did you manually added -p1024 in there??

ghost commented 3 years ago

No I didn't. Also I've been upgraded to QJackCtl refusing to open at all, even after reinstalling it. So now I cant even go in and mess w/ the sample rate.

kmatheussen commented 3 years ago

This program will reset qjackctl settings. Maybe qjackctl will run after running it: https://github.com/kmatheussen/reset_qjackctl/tree/main/bin_windows

You can also try this version of qjackctl: http://users.notam02.no/~kjetism/qjackctl.exe This is the one that's included with radium.

On Mon, Dec 21, 2020 at 3:01 AM UonU notifications@github.com wrote:

No I didn't. Also I've been upgraded to QJackCtl refusing to open at all, even after reinstalling it. So now I cant even go in and mess w/ the sample rate.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.