LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-12-2011, 03:13 PM   #1
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
Ubuntu Studio Jack problems


Well,

I've tried everything so far and it's really eating up my nerves at the moment. I can't make jack to work properly. I've just installed the latest Ubuntu studio.

When I try to launch qjackctl, jackd isn't started properly:

Code:
22:08:12.841 Patchbay deactivated.
22:08:12.910 Statistics reset.
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server socket
jack server is not running or cannot be started
22:08:12.939 ALSA connection graph change.
22:08:13.194 ALSA connection change.
When I press start:

Code:
22:08:12.841 Patchbay deactivated.
22:08:12.910 Statistics reset.
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server socket
jack server is not running or cannot be started
22:08:12.939 ALSA connection graph change.
22:08:13.194 ALSA connection change.
22:10:53.504 Startup script...
22:10:53.505 artsshell -q terminate
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server socket
jack server is not running or cannot be started
sh: artsshell: not found
22:10:53.914 Startup script terminated with exit status=32512.
22:10:53.915 JACK is starting...
22:10:53.916 /usr/bin/jackd -r -dalsa -r48000 -p64 -n2 -D -Cplughw:0 -P/dev/dsp -i1 -o1
22:10:53.927 JACK was started with PID=19771.
no message buffer overruns
no message buffer overruns
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 Grame.
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 non-realtime mode
Cannot lock down memory area (Cannot allocate memory)
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/dsp
control open "/dev/dsp" (No such file or directory)
audio_reservation_init
Acquire audio card Audio0
Acquire audio card Audio-1
creating alsa driver ... /dev/dsp|plughw:0|64|2|48000|1|1|nomon|swmeter|-|32bit
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/dsp
control open "/dev/dsp" (No such file or directory)
Cannot initialize driver
JackServer::Open() failed with -1
Failed to start server
22:10:54.406 JACK was stopped with exit status=255.
22:10:54.407 Post-shutdown script...
22:10:54.408 killall jackd
jackd: geen proces gevonden
22:10:54.842 Post-shutdown script terminated with exit status=256.
22:10:56.389 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server socket
jack server is not running or cannot be started
22:11:02.555 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server socket
jack server is not running or cannot be started
Bestand or map bestaat niet = File or folder doens't exist.

I tried to change the output to /dev/audio and to /dev/dsp but both ways it protests... .

Something else I can do?

Thanks a lot
 
Old 01-12-2011, 05:34 PM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
From what I remember... ALSA and JACK don't play together very nicely.

:O

That was rather weird... This is my shell session:
Code:
[joshua@joshua-desktop:~]$ qjackctl                               (01-12 23:27)
^C
[joshua@joshua-desktop:~]$ qjackctl -v                            (01-12 23:28)
Qt: 4.7.0
QjackCtl: 0.3.6
[joshua@joshua-desktop:~]$ qjackctl --verbose                     (01-12 23:28)
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
[joshua@joshua-desktop:~]$ qjackctl --verbose                     (01-12 23:28)
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
[joshua@joshua-desktop:~]$ qjackctl                               (01-12 23:28)
[joshua@joshua-desktop:~]$
First time (23:27) JACK started fine. Second time I was trying to get verbose, got version instead third time and afterwards I got exactly the same errors as you, in the JACK error window... I will try again after a reboot (though that may well be tomorrow now, sorry...)

Welp, darn.

EDIT: <The next day - after rebooting>

Okay, I rebooted and got the same experience (worked first time but not after). However, this time when it opened the first time I clicked 'start' and it failed to start the server. It gave various errors (including being unable to find the command 'artshell', and I can find NO reference to that on the web at all :/), but the first error was "unable to start jack server". I know I installed various JACK stuff, but running
Code:
sudo apt-get install jackd
installed the packages
Code:
 jackd jackd2 jackd2-firewire libffado2 libxml++2.6-2
So it seems they didn't get installed properly before... The server now starts as long as I don't have my music playing in the background (using the ALSA server)

Does this fix your problem?

Last edited by Snark1994; 01-13-2011 at 09:57 AM.
 
Old 01-13-2011, 12:26 PM   #3
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Today I gave up on Ubuntu Studio and tried Dream Studio. A distro closer to Ubuntu than Ubuntu Studio.

It looked very promising because in Live-mode from DVD JACK ran out of the box Yeah!! Finally. So I installed it and yes here we are again at ZERO:

Code:
19:21:07.844 Patchbay deactivated.
19:21:07.862 Statistics reset.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
19:21:07.904 ALSA connection graph change.
19:21:08.441 ALSA connection change.
19:21:08.464 ALSA connection graph change.
19:21:29.809 Startup script...
19:21:29.809 artsshell -q terminate
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
sh: artsshell: not found
19:21:30.212 Startup script terminated with exit status=32512.
19:21:30.213 JACK is starting...
19:21:30.213 /usr/bin/jackd -dalsa -r48000 -p1024 -n2 -D -Cplughw:0 -P/dev/dsp -i1 -o1
19:21:30.249 JACK was started with PID=2116.
no message buffer overruns
no message buffer overruns
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 Grame.
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
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/dsp
control open "/dev/dsp" (No such file or directory)
audio_reservation_init
Acquire audio card Audio0
Acquire audio card Audio-1
creating alsa driver ... /dev/dsp|plughw:0|1024|2|48000|1|1|nomon|swmeter|-|32bit
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/dsp
control open "/dev/dsp" (No such file or directory)
Cannot initialize driver
JackServer::Open() failed with -1
Failed to start server
19:21:30.748 JACK was stopped with exit status=255.
19:21:30.748 Post-shutdown script...
19:21:30.749 killall jackd
jackd: no process found
19:21:31.171 Post-shutdown script terminated with exit status=256.
19:21:32.288 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
19:22:12.034 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Happy happy joy ...
 
Old 01-13-2011, 01:18 PM   #4
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Update: A kind guy helped me out on IRC. My jack command was wrong:
Code:
user: this command is wrong: /usr/bin/jackd -dalsa -dhw:0 -r48000 -p1024 -n2 -i1 -o1
 user: please do not use the -i or -o arguments (even from qjackctl, where the -i and -o are the "input channels" and "output channels" counts)
 user: they were wrongly exposed to users years ago, but have never been removed
<las> user: there is almost never any reason to use them, and using them to set the counts to one is definitely "wrong"
He solved my problem in 5 minutes . I can't get any sound out of ardour though ... . I'll fix that

Last edited by bucovaina78; 01-06-2012 at 01:31 AM.
 
Old 01-18-2011, 08:58 PM   #5
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
Ubuntu Studio comes with a lot multimedia applications?
How is it compared to Original ubuntu?
 
  


Reply



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
Ubuntu Studio Screen Resolution Problems--do I need to reinstall? Tom Nichol Ubuntu 1 11-02-2010 06:22 PM
LXer: Judgement Day: Studio Dave Tests Ubuntu Studio 9.04 LXer Syndicated Linux News 0 06-05-2009 07:01 PM
Jack in Ubuntu Studio has lots of xruns. Running on HP DV9000 Rockgod2099 Linux - Software 2 12-22-2007 08:39 AM
Bristol 10.4 configure not finding JACK,ALSA, or "X11 include file" on Ubuntu studio scwerllguy Linux - Software 7 06-03-2007 04:43 PM
ubuntu studio record jack audio output librano Ubuntu 2 01-25-2007 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:34 PM.

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
Open Source Consulting | Domain Registration