LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2014, 10:15 AM   #1
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Rep: Reputation: Disabled
using jack2-dbus, jack_control start gives error: DBus exception: org.jackaudio.Error


I am using Arch Linux. I installed the jack2-dbus package. I am following the arch linux jack wiki. The command:
Code:
jack_control start
results in the error message:
Code:
DBus exception: org.jackaudio.Error.Generic: Failed to open server
. I only found one suggested remedy in my google searching:
Code:
lsof +c 0 /dev/dsp
and
Code:
lsof +c 0 /dev/snd/pcm*
do not show any processes. Any help would be appreciated.
 
Old 05-08-2014, 07:27 PM   #2
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
What DE are you using? Try prefixing "dbus-launch" to your command:
Code:
dbus-launch jack_control start

Last edited by DJ Shaji; 05-08-2014 at 07:32 PM.
 
1 members found this post helpful.
Old 05-09-2014, 08:58 AM   #3
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Original Poster
Rep: Reputation: Disabled
Thanks for the response. I am using KDE. Your suggestion did not affect anything.
 
Old 05-09-2014, 02:52 PM   #4
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Some people had a problem with knotify4. It might be pulseaudio, so you could prefix your command with pasuspender. Post the result of
Code:
tail -f ~/.log/jack/jackdbus.log
here. It might shine some light on the issue. A generic error is exactly that, so the only way is to arrive at a solution by trial and error.
 
1 members found this post helpful.
Old 05-09-2014, 05:32 PM   #5
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Original Poster
Rep: Reputation: Disabled
Code:
[jesse@Athens VVV-1.1]$ tail -f ~/.log/jack/jackdbus.log

Fri May  9 05:56:45 2014: Controller activated. Version 1.9.9.5 (unknown) built on Tue Nov  5 09:59:45 2013
Fri May  9 05:56:45 2014: Loading settings from "/home/jesse/.config/jack/conf.xml" using expat_2.1.0 ...
Fri May  9 05:56:45 2014: setting parameter 'engine':'driver':'(null)' to value "alsa"
Fri May  9 05:56:45 2014: setting parameter 'engine':'realtime':'(null)' to value "true"
Fri May  9 05:56:45 2014: setting parameter 'drivers':'alsa':'device' to value "hw:CODEC"
Fri May  9 05:56:45 2014: setting parameter 'drivers':'alsa':'rate' to value "48000"
Fri May  9 05:56:45 2014: setting parameter 'drivers':'alsa':'period' to value "32"
Fri May  9 05:56:45 2014: setting parameter 'drivers':'alsa':'nperiods' to value "3"
Fri May  9 05:56:45 2014: Listening for D-Bus messages
Fri May  9 05:56:45 2014: Starting jack server...
Fri May  9 05:56:45 2014: JACK server starting in realtime mode with priority 10
Fri May  9 05:56:45 2014: Acquired audio card Audio1
Fri May  9 05:56:45 2014: creating alsa driver ... hw:CODEC|hw:CODEC|32|3|48000|0|0|nomon|swmeter|-|32bit
Fri May  9 05:56:45 2014: configuring for 48000Hz, period = 32 frames (0.7 ms), buffer = 3 periods
Fri May  9 05:56:45 2014: ALSA: final selected sample format for capture: 16bit little-endian
Fri May  9 05:56:45 2014: ERROR: ALSA: cannot set period size to 32 frames for capture
Fri May  9 05:56:45 2014: ERROR: ALSA: cannot configure capture channel
Fri May  9 05:56:45 2014: ERROR: Cannot initialize driver
Fri May  9 05:56:45 2014: ERROR: JackServer::Open failed with -1
Fri May  9 05:56:45 2014: ERROR: Failed to open server
 
Old 05-10-2014, 02:53 PM   #6
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
The problem is this:
Code:
Fri May  9 05:56:45 2014: ERROR: ALSA: cannot set period size to 32 frames for capture
Increase the number of frames per period till it works. Default is 1024. I can get it down to 16 on my system. The more frames per period, the greater the latency. See what works for you.
 
1 members found this post helpful.
Old 05-10-2014, 03:56 PM   #7
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Original Poster
Rep: Reputation: Disabled
Thank you DJ Shaji, The following commands solved the problem:

Code:
jack_control dps period 64
dbus-launch jack_control start
I'm up and running.
 
Old 05-10-2014, 06:10 PM   #8
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by Laertiades View Post
Thank you DJ Shaji, The following commands solved the problem:

Code:
jack_control dps period 64
dbus-launch jack_control start
I'm up and running.
Glad to be of help
 
  


Reply

Tags
arch linux, jack, jack2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what error is this? org.freedesktop.DBus.Error.NoReply ethereal1m Linux - Desktop 2 11-01-2011 04:15 AM
DBus Error org.gtk.Private.RemoteVolumeMonitor.Failed:An operation is already pending SHENGTON Linux - Newbie 1 05-11-2011 05:30 AM
Freedesktop.org Dbus error prevents using Dell recovery media utility witeshark Linux - Laptop and Netbook 1 12-17-2009 08:44 PM
boot up error on /var/log/messages [server.ERROR] cannot start systen DBus service junust Linux - General 0 08-04-2009 05:55 AM
Fedora Core 9 update dbus.exception & dbus.proxies & DBus.Error.AccessDenied errors trien27 Fedora 1 12-09-2008 12:23 AM


All times are GMT -5. The time now is 07:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration