hej, i just ran into a quite similar problem, jack doesnt want to start because theres something else blocking … and when i try to kill the process this happens:
2977 pts/0 S+ 0:00 grep --color=auto PID
kalimerox@kalimeroxx:~$ kill 2977
bash: kill: (2977) - No such process
someone has an idea? I run on alsa (no pulseaudio)…and its lucid with studio package on a thinkpad T60…
both examples above assume that you want to use your first audio interface’s first device (C0 … D0). You will need to change the zeroes to something else for a different card and/or device.
And the reason the kill command fails is that you seem to be trying to kill the grep command you presumably ran just before, and which has already exited.
If you run say ‘ps ax | grep getty’ you’ll see that the grep command even greps itself. To avoid that you can run ‘ps ax | grep getty | grep -v grep’
I don’t think you have to use sudo for fuser, the difference from post #24 is that in that you were running the command on pcmC0D0p but when you now use the * wildcard you see that it’s pcmC0D0c that’s being used.
To see which program is running as PID 1589 you run ‘ps ax| grep 1589| grep -v grep’ . You might also want to check PID 1946
Hello guys ! I am so happy to be part of Open Source !
Well, The Jack thing was kind of confusing at first !
So, i tweak and tweaked until i messed all 4 tabs when Opening Setup !
Options scripts are gone and so on ! I just need to put back all the scripts that were there !
Also, Display and Misc. Boxes and stuff are unchecked or Check when they are or not supposed too ! But the thing i think is almost running but with many XRUN problems showing on messages window !
THese XRUNs dont quit until i stop jackd on purpose !
It looks like this:
So, can someone help ?
BTW, I already removed ALL QJack completely from Ubuntu 9.10, thinking i could star a fresh one but no luck with that try !
I am not an audio n00b, but with Linux audio … yes i am one ! hehe
BTW, i want to read and get as you guys ! How did you get so good in JackD theory ? And lastly i dont have a Dell Dimension 8250 with very expensive hard to find RamBus ! So, i just happen to have 512 of ram memory !
I know is low but man… those Rambus sticks are way too high priced ! Very durable though !! so, can i record at least something with this oold Dinosour ?
Thnx in advanced for any help given in this NICE forum !
This problem has been running for more than three years.
My thanks to all who have contributed.
Please understand my position. I am a newbie. I have a problem.
There is lots of information on this problem on various groups, most of which I do not understand.
However, it is all contradictory. I cannot help but feel that this problem should have been fixed by now.
What can I do, now, to make Ardour and Jack run together?
I am running Ubuntu 11.10. When starting Ardour, I invariably get this message:
'Ardour could not start JACK
There are several possible reasons:
You requested audio parameters that are not supported…
JACK is running as another user.
Please consider the possibilities, and perhaps try different parameters.’
I do not know what a console log is. There is no program called ‘Jack’ in the Ubuntu software centre.
Neither is there one on my computer when I search for it. There are some additions installed by the Ubuntu studio apps. These additions have made no difference to the problem…
Previously I tried downloading Jack, but the Synaptic package manager showed no app called ‘Jack’, and no help was available to tell me which bits to install.
There is a lot of information out there as there are a lot of different possible causes. We would need much more information to help you, for starters we would need to see the messages when Jack tries to start and fails.(Console log, etc.)
In as far as the problem being fixed by now, MANY people run Jack without any issue whatsoever, but especially in general purpose distributions this may require some work to do. Jack’s developers cannot control your distribution, that is both a blessing and a curse of Linux(Which is what I assume you are on as you don’t clarify this from your post) but it means your distribution is quite capable of installing things that prevent Jack from running correctly out of the box and most do.
If you installed Ardour through the software centre Jack is almost certainly installed. You should be able to open a terminal window and type jackd --version and get some output to confirm it is actually installed.
Ubuntu, and yes even Ubuntu Studio, tends to break Ardour in fun ways in their package management for the record. Music centered distros like AVLinux on the other hand don’t and tend to work much better out of the box for many people, so that may be a consideration for you in the future.
On Ubuntu, chances are that you need to add your user to the audio or realtime (Depending on what Ubuntu is calling it now) group in order to run Jack with realtime permissions. I can’t give an exact command to do that without knowing what the group name is, sorry. Hopefully someone that uses Ubuntu can jump in and fill in that blank for me.
In ubuntu / ubuntustudio 11.10, you have to add the user to the audio group. Just run in a terminal:
sudo adduser your_user_name audio
Reboot the computer.
i suggest you should install and use qjackctl (aka, JACK Control) to configure and start the jack server instead of forcing ardour to try to start it. qjackctl is widely used and well documented.
EDIT: The jack server package in ubuntu is called “jackd”.
BTW, I don’t think that ubuntu tends to break ardour although it is clear that there are much better options than a stock ubuntu 11.10 for linux musicians.
Many thanks to both of you. I have been using Linux for 10 days now! I am just beginning to realise what a big and complex subject it is, and what the community is, and how wonderful you all are.
Jack is installed. This is what happens when I run qjackctl:
Wed Mar 21 16:43:47 2012: Saving settings to “/home/laurence/.config/jack/conf.xml” …
Wed Mar 21 16:43:47 2012: Saving settings to “/home/laurence/.config/jack/conf.xml” …
Wed Mar 21 16:43:47 2012: Starting jack server…
Wed Mar 21 16:43:47 2012: JACK server starting in realtime mode with priority 10
Wed Mar 21 16:43:47 2012: e[1me[31mERROR: Cannot lock down memory area (Cannot allocate memory)e[0m
Wed Mar 21 16:43:47 2012: control device hw:0
Wed Mar 21 16:43:47 2012: control device hw:0
Wed Mar 21 16:43:47 2012: Acquired audio card Audio0
Wed Mar 21 16:43:47 2012: creating alsa driver … hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Wed Mar 21 16:43:47 2012: con [sorry my bad]
Wed Mar 21 16:43:47 2012: configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
Wed Mar 21 16:43:47 2012: ALSA: final selected sample format for capture: 32bit integer little-endian
Wed Mar 21 16:43:47 2012: ALSA: use 2 periods for capture
Wed Mar 21 16:43:47 2012: ALSA: final selected sample format for playback: 32bit integer little-endian
Wed Mar 21 16:43:47 2012: ALSA: use 2 periods for playback
Wed Mar 21 16:43:47 2012: e[1me[31mERROR: Cannot use real-time scheduling (RR/10)(1: Operation not permitted)e[0m
Wed Mar 21 16:43:47 2012: e[1me[31mERROR: AcquireSelfRealTime errore[0m
Wed Mar 21 16:43:52 2012: e[1me[31mERROR: JackProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed oute[0m
Wed Mar 21 16:43:52 2012: e[1me[31mERROR: Driver is not runninge[0m
Wed Mar 21 16:43:52 2012: e[1me[31mERROR: Cannot open client name = dbusapie[0m
Wed Mar 21 16:43:52 2012: e[1me[31mERROR: failed to create dbusapi jack cliente[0m
Cannot connect to server socket err = Connection refused
Cannot connect to server socket
jack server is not running or cannot be started
Then I am informed that “Jack will continue to run in the system tray”.
BTW, I don't think that ubuntu tends to break ardour although it is clear that there are much better options than a stock ubuntu 11.10 for linux musicians.
It does sorry. There have been MANY issues with packaging of Ardour in the Ubuntu repos, that are almost always fixed by using the package from here.