Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using an Ubuntu 14.04 based distribution and I am trying to get audio compression setup on my microphone I am using for some recording. I've found a few different guides that suggest using LADAP plugins, but I can't see to get any of them live. I get a new sink added successfully, but I can't seem to get audio from my microphone piped into it successfully.
So I am trying to start Jackd through Cadence as recommend in several places. I added my user to the audio group, but Jackd is failing to start with this log:
Code:
un Jul 17 09:50:22 2016: ------------------
Sun Jul 17 09:50:22 2016: Controller activated. Version 1.9.10 (unknown) built on Sat Oct 19 11:11:48 2013
Sun Jul 17 09:50:22 2016: Loading settings from "/home/jeff/.config/jack/conf.xml" using expat_2.1.0 ...
Sun Jul 17 09:50:22 2016: ERROR: failed to stat "/home/jeff/.config/jack/conf.xml", error is 2 (No such file or directory)
Sun Jul 17 09:50:22 2016: ERROR: open() failed to open conf filename.
Sun Jul 17 09:50:22 2016: Listening for D-Bus messages
Sun Jul 17 09:50:52 2016: Starting jack server...
Sun Jul 17 09:50:52 2016: JACK server starting in realtime mode with priority 10
Sun Jul 17 09:50:52 2016: ERROR: Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Sun Jul 17 09:50:52 2016: Acquired audio card Audio0
Sun Jul 17 09:50:52 2016: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Sun Jul 17 09:50:52 2016: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Sun Jul 17 09:50:52 2016: ERROR: Cannot initialize driver
Sun Jul 17 09:50:52 2016: ERROR: JackServer::Open failed with -1
Sun Jul 17 09:50:52 2016: ERROR: Failed to open server
Sun Jul 17 09:50:53 2016: Saving settings to "/home/jeff/.config/jack/conf.xml" ...
Sun Jul 17 10:48:15 2016: ------------------
Sun Jul 17 10:48:15 2016: Controller activated. Version 1.9.11 (unknown) built on Sun Jul 3 13:02:57 2016
Sun Jul 17 10:48:15 2016: Loading settings from "/home/jeff/.config/jack/conf.xml" using expat_2.1.0 ...
Sun Jul 17 10:48:15 2016: setting parameter 'engine':'driver':'(null)' to value "alsa"
Sun Jul 17 10:48:15 2016: setting parameter 'engine':'realtime':'(null)' to value "true"
Sun Jul 17 10:48:15 2016: setting parameter 'engine':'verbose':'(null)' to value "false"
Sun Jul 17 10:48:15 2016: setting parameter 'engine':'client-timeout':'(null)' to value "500"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'device' to value "hw:0"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'capture' to value "hw:0"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'playback' to value "hw:0"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'rate' to value "44100"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'period' to value "1024"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'nperiods' to value "2"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'hwmon' to value "false"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'hwmeter' to value "false"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'duplex' to value "true"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'softmode' to value "false"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'monitor' to value "false"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'dither' to value "n"
Sun Jul 17 10:48:15 2016: setting parameter 'drivers':'alsa':'shorts' to value "false"
Sun Jul 17 10:48:15 2016: Listening for D-Bus messages
Sun Jul 17 10:48:28 2016: Starting jack server...
Sun Jul 17 10:48:28 2016: JACK server starting in realtime mode with priority 10
Sun Jul 17 10:48:28 2016: self-connect-mode is "Don't restrict self connect requests"
Sun Jul 17 10:48:28 2016: ERROR: Cannot lock down 107341338 byte memory area (Cannot allocate memory)
Sun Jul 17 10:48:28 2016: Acquired audio card Audio0
Sun Jul 17 10:48:28 2016: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Sun Jul 17 10:48:28 2016: Using ALSA driver HDA-Intel running on card 0 - HDA Intel HDMI at 0xf7e34000 irq 33
Sun Jul 17 10:48:28 2016: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Sun Jul 17 10:48:28 2016: Released audio card Audio0
Sun Jul 17 10:48:28 2016: ERROR: Cannot initialize driver
Sun Jul 17 10:48:28 2016: ERROR: JackServer::Open failed with -1
Sun Jul 17 10:48:28 2016: ERROR: Failed to open server
Sun Jul 17 10:51:27 2016: ------------------
Sun Jul 17 10:51:27 2016: Controller activated. Version 1.9.11 (unknown) built on Sun Jul 3 13:02:57 2016
Sun Jul 17 10:51:27 2016: Loading settings from "/home/jeff/.config/jack/conf.xml" using expat_2.1.0 ...
Sun Jul 17 10:51:27 2016: setting parameter 'engine':'driver':'(null)' to value "alsa"
Sun Jul 17 10:51:27 2016: setting parameter 'engine':'realtime':'(null)' to value "true"
Sun Jul 17 10:51:27 2016: setting parameter 'engine':'verbose':'(null)' to value "false"
Sun Jul 17 10:51:27 2016: setting parameter 'engine':'client-timeout':'(null)' to value "500"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'device' to value "hw:0"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'capture' to value "hw:0"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'playback' to value "hw:0"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'rate' to value "44100"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'period' to value "1024"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'nperiods' to value "2"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'hwmon' to value "false"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'hwmeter' to value "false"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'duplex' to value "true"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'softmode' to value "false"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'monitor' to value "false"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'dither' to value "n"
Sun Jul 17 10:51:27 2016: setting parameter 'drivers':'alsa':'shorts' to value "false"
Sun Jul 17 10:51:27 2016: Listening for D-Bus messages
Sun Jul 17 10:51:30 2016: Starting jack server...
Sun Jul 17 10:51:30 2016: JACK server starting in realtime mode with priority 10
Sun Jul 17 10:51:30 2016: self-connect-mode is "Don't restrict self connect requests"
Sun Jul 17 10:51:30 2016: Acquired audio card Audio0
Sun Jul 17 10:51:30 2016: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Sun Jul 17 10:51:30 2016: Using ALSA driver HDA-Intel running on card 0 - HDA Intel HDMI at 0xf7e34000 irq 33
Sun Jul 17 10:51:30 2016: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Sun Jul 17 10:51:30 2016: Released audio card Audio0
Sun Jul 17 10:51:30 2016: ERROR: Cannot initialize driver
Sun Jul 17 10:51:30 2016: ERROR: JackServer::Open failed with -1
Sun Jul 17 10:51:30 2016: ERROR: Failed to open server
If pulseaudio is running before jackd starts it'll lock the card from being used. The "autospawn = no" in /etc/pulse/client.conf lets you stop pulseaudio (and not have it restart -default-).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.