Re: jackd2 hanging after resume?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I am replying to my own thread (see below), which is still unsolved as of
today.

I investigated further and experienced the same issue with an identical
second Edirol UA-24 soundcard on an identicel second X230 Thinkpad with
jackd2 on Debian and am experiencing the same jackd2 lockups.

However when using a Roland Rubix24 interface for comparison, jackd2
suspends and resumes fine.

Still looking for any pointers how to debug this further,
which are much appreciated!

best, Peter

* Peter P. <peterparker@xxxxxxxxxxxx> [2024-01-24 11:16]:
> Hi,
> 
> Running jackd2 on an Edirol UA-25 USB interface as
>  jackd -t2000 -dalsa -r44100 -p512 -n2 -Xseq -D -Chw:UA25 -Phw:UA25 -i2 -o2
> I can not get clients to connect after having resumed the computer from
> "systemctl suspend". 
> 
> Upon resuming, jackd reports
>  status error: No such device
>  ALSA: channel flush for playback failed (No such device)
>  JackAudioDriver::ProcessAsync: read error, stopping...
> and hangs.
> 
> Trying to use mpv or puredata with this locked server then throw the same messages:
> 
>  Cannot read socket fd = 13 err = Success
>  CheckRes error
>  JackSocketClientChannel read fail
>  Cannot open mpv client
>  JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
>  JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
>  JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
> 
> Nevertheless, qjackctl indicates a running server but throws
>  Cannot create new client
>  JackPosixProcessSync::LockedTimedWait error usec = 5000000 err =
>  Connection timed out
>  Driver is not running
>  Cannot create new client
> 
> journalctl/dmesg show that the USB sound card is discovered as a new
> device after resuming from the suspend state.
> 
> Stopping the server takes some time then, throwing:
>  ALSA: channel flush for playback failed (No such device)
>  Cannot stop driver
>  port deleted: UA-25:midi/playback_1
>  port deleted: UA-25:midi/capture_1
>  Released audio card Audio2
>  audio_reservation_finish
>  11:05:51.251 JACK was stopped
> 
> This problem does not exist when using jackd1.
> 
> The computers internal soundcard (intel-hda) survives resuming from
> suspend with jackd2.
> 
> What can I try next?
> 
> Thanks!
> Peter
_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux