jack says device is in use, but I find no process using it

Everything about X, Gnome, KDE, ... and everything running on it

jack says device is in use, but I find no process using it

Postby babcat » 2019-01-09 19:07

Hello guys, Debian 9 here, with some Sid in it. After an upgrade, jackd won't start.

Here is my study:
Code: Select all
baba@debian:~$ cat /proc/asound/cards
 0 [M1010LT        ]: ICE1712 - M Audio Delta 1010LT
                      M Audio Delta 1010LT at 0xbc00, irq 22
 1 [Loopback       ]: Loopback - Loopback
                      Loopback 1


Code: Select all
baba@debian:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: M1010LT [M Audio Delta 1010LT], device 0: ICE1712 multi [ICE1712 multi]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7


Code: Select all
baba@debian:~$ jackd -d alsa
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 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
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Using ALSA driver ICE1712 running on card 0 - M Audio Delta 1010LT at 0xbc00, irq 22

ATTENTION: The playback device "hw:0" is already in use. Please stop the application using it and run JACK again
Released audio card Audio0
audio_reservation_finish
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server

weird, I see no process holding the audio card:
Code: Select all
baba@debian:~$ ps -aux |grep audio
baba     13363  0.0  0.0   7860   748 pts/5    S+   19:51   0:00 grep audio

Code: Select all
baba@debian:~$ fuser /dev/snd/pcm*
baba@debian:~$

Could it be this root process?
Code: Select all
baba@debian:~$ ps -aux |grep snd
root       309  0.1  0.0      0     0 ?        S    16:53   0:19 [irq/22-snd_ice1]
baba     13367  0.0  0.0   7860   744 pts/5    S+   19:51   0:00 grep snd

Any process in init.d/?
Otherwise, aplay works fine, and I also reinstalled jackd and jackd2 but the issue remains the same.

thanks in advance... Yannis Stathopoulos
User avatar
babcat
 
Posts: 28
Joined: 2018-04-11 09:22

Re: jack says device is in use, but I find no process using

Postby Head_on_a_Stick » 2019-01-10 05:38

babcat wrote:Debian 9 here, with some Sid in it

You have broken your system.

Re-install Debian stable and don't add sid this time, it tends to break regularly.
User avatar
Head_on_a_Stick
 
Posts: 10346
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: jack says device is in use, but I find no process using

Postby babcat » 2019-01-10 12:23

Posting From the messages window of qjackctl:
Code: Select all
15:06:12.279 Statistics reset.
15:06:12.306 ALSA connection change.
15:06:12.314 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
15:06:12.774 D-BUS: JACK server could not be started. Sorry
15:06:12.846 ALSA connection graph change.
Thu Jan 10 15:06:12 2019: Starting jack server...
Thu Jan 10 15:06:12 2019: JACK server starting in realtime mode with priority 10
Thu Jan 10 15:06:12 2019: self-connect-mode is "Don't restrict self connect requests"
Thu Jan 10 15:06:12 2019: ERROR: Cannot lock down 107341338 byte memory area (Cannot allocate memory)
Thu Jan 10 15:06:12 2019: Acquired audio card Audio0
Thu Jan 10 15:06:12 2019: creating alsa driver ... hw:M1010LT|hw:M1010LT|2048|2|88200|0|0|hwmon|swmeter|-|32bit
Thu Jan 10 15:06:12 2019: Using ALSA driver ICE1712 running on card 0 - M Audio Delta 1010LT at 0xbc00, irq 22
Thu Jan 10 15:06:12 2019: ERROR:
ATTENTION: The playback device "hw:M1010LT" is already in use. Please stop the application using it and run JACK again
Thu Jan 10 15:06:12 2019: Released audio card Audio0
Thu Jan 10 15:06:12 2019: ERROR: Cannot initialize driver
Thu Jan 10 15:06:12 2019: ERROR: JackServer::Open failed with -1
Thu Jan 10 15:06:12 2019: ERROR: Failed to open server
Thu Jan 10 15:06:13 2019: Saving settings to "/home/baba/.config/jack/conf.xml" ...
15:06:26.810 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.

I am searching on this "cannot allocate memory" error
User avatar
babcat
 
Posts: 28
Joined: 2018-04-11 09:22

Re: jack says device is in use, but I find no process using

Postby llivv » 2019-01-10 12:30

babcat wrote:. After an upgrade, jackd won't start.
Head_on_a_Stick wrote:You borked your system.

Re-install Debian stable and don't add sid this time, it tends to break regularly.

mixed system not supported - when it breaks you get to keep all the parts
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: jack says device is in use, but I find no process using

Postby babcat » 2019-01-10 13:50

Thank you for letting me know.
User avatar
babcat
 
Posts: 28
Joined: 2018-04-11 09:22


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable