LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 04-01-2007, 07:38 PM   #1
miltblue
LQ Newbie
 
Registered: Jan 2007
Location: Washington, DC
Distribution: Fedora Core
Posts: 3

Rep: Reputation: 0
Angry Cannotget Jack Audio Connection Kit started in Fedora core 6


I have spent several days now trying to get the Jack Audio Connection Kit up and running in Fedora Core 6. I have tried Installing both Jack and Qjackctl from rpm and using Yum. The results are the same. The machine with Fedora Core 6 install is as follows:
Dell Optiplex GX200 - P3 - 900MHZ 512m Ram
Soundcards Intel Onboard - 82801AA AC'97 Audio
PCI - Creative Labs, SoundBalaster Live! EMU10k1
I get the same error using either card as the interface. Jack appears to start when I start it using Qjackctl, but it always fails with the following error - could not connect to Jack Server as Client.
It then trys to restart again and continues to do so. If I start Jack from the command line using jackd -d alsa -d hw:0 the server appears to run with no errors. But when I start Rosegarden it tells me theres no audio. I have Googled the error and searched this and other forums but have not been able to find the answer to this problem, hardware or software wise. Below is the output from Qjackctl:
16:19:00.202 Patchbay deactivated.
16:19:00.230 Statistics reset.
16:19:00.263 Startup script...
16:19:00.263 artsshell -q terminate
16:19:00.449 MIDI connection graph change.
16:19:00.723 Startup script terminated with exit status=256.
16:19:00.724 JACK is starting...
16:19:00.724 jackd -v -R -u -dalsa -r44100 -p1024 -n2 -D -Chw:0 -Phw:0 -I46 -O46
16:19:00.736 JACK was started with PID=25361 (0x6311).
getting driver descriptor from /usr/local/lib/jack/jack_oss.so
getting driver descriptor from /usr/local/lib/jack/jack_alsa.so
getting driver descriptor from /usr/local/lib/jack/jack_dummy.so
jackd 0.102.20
Copyright 2001-2005 Paul Davis and others.
jackd 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 compiled with System V SHM support.
server `default' registered
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
16:19:00.938 MIDI connection change.
configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
25361 waiting for signals
registered builtin port type 32 bit float mono audio
registered builtin port type 8 bit raw midi
clock source = system clock via gettimeofday
new client: alsa_pcm, id = 1 type 1 @ 0x920ff68 fd = -1
new buffer size 1024
registered port alsa_pcm:capture_1, offset = 4096
registered port alsa_pcm:capture_2, offset = 8192
registered port alsa_pcmlayback_1, offset = 0
registered port alsa_pcmlayback_2, offset = 0
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()
load = 0.0904 max usecs: 42.000, spare = 23177.000
16:19:02.960 Could not connect to JACK server as client. Please check the messages window for more info.
load = 0.2132 max usecs: 78.000, spare = 23141.000
load = 0.1992 max usecs: 43.000, spare = 23176.000
load = 0.2094 max usecs: 51.000, spare = 23168.000
load = 0.2899 max usecs: 86.000, spare = 23133.000
load = 0.2634 max usecs: 55.000, spare = 23164.000
16:19:08.384 JACK is stopping...
jack main caught signal 15
starting server engine shutdown
stopping driver
unloading driver
freeing shared port segments
stopping server thread
stopping watchdog thread
last xrun delay: 0.000 usecs
max delay reported by backend: 355.000 usecs
freeing engine shared memory
max usecs: 86.000, engine deleted
no message buffer overruns
cleaning up shared memory
cleaning up files
unregistering server `default'
16:19:08.891 JACK was stopped successfully.
16:19:08.897 Post-shutdown script...
16:19:08.903 killall jackd
jackd: no process killed
16:19:09.162 Post-shutdown script terminated with exit status=256.
Though I just recently decided to add a Linux box to my existing Microsoft network I am not a novice to Linux or DAW's. I am a certified MCSE and have worked on many Unix / Windows implementations for quite some time. Had no problems getting core 5 up and running in the network and upgrading to core 6. Wanted to add the Linux both to my existing Midi setup, but been stuck for days now. I would appreciate any help.
Thanks Much in advance.
 
Old 04-02-2007, 01:16 AM   #2
orgelman
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 1
It looks to me that you do not have the rights to run JACK in realtime as user.
First you could try to run JACK as root; this should work.
Then try to uncheck Realtime from the setup tab of Qjackctl in the normal user account. If this works, then the problem is the user not being able to run in realtime.
If you need realtime the easiest way to set this up is to install the PlanetCCRMA packages.It can be found at:

http://ccrma.stanford.edu/planetccrm...anetccrma.html

Unfortunately the docs aren't up to date (it still describes FC5) but you can find the right FC6 details in the archives of the mailinglist:

http://ccrma-mail.stanford.edu/mailm...fo/planetccrma

HTH.
 
Old 04-02-2007, 12:36 PM   #3
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
it looks like to me you might have more than one version of jackd or libjack hanging around.
 
Old 04-02-2007, 09:14 PM   #4
miltblue
LQ Newbie
 
Registered: Jan 2007
Location: Washington, DC
Distribution: Fedora Core
Posts: 3

Original Poster
Rep: Reputation: 0
Wink Solved

You are right StudioJ,there were two versions of Jack, one in bin and one in usr/bin/local. I had checked this before because it was one of the reasons I had read that could cause the "could not connect to jack server" error. At that time I did not have two versions. Over time I did a lot of things in desperation and reloaded Jack and Qjackctl a number of times from different repositories. After downloading the CCRMA Suite Jack acted as if it was starting, but I still got the error. Now I was really freaking out. This morning I tried to start jackd from usr/local/bin/jackd because I had seen it there.. It would not start. So were was Qjackctl starting it from? It was also in usr/bin. Deleted the copy in usr/local/bin and everything worked including Rosegarden. I love this operating system and the whole concept of the people being the power. Hope to really retire soon and become a really contributing member of the community.
 
  


Reply

Tags
audio, jack


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
JACK server problem in Fedora Core 6 drewblay Linux - Software 4 04-12-2007 04:45 AM
Problem getting Jack Audio Connection Kit to started. miltblue Linux - Newbie 0 03-29-2007 03:33 PM
Using Jack audio connection kit with Fedora Core 2 exitium Linux - Software 12 12-09-2004 06:40 AM
Jack audio connection kit not working with kernel? linuxpyro Linux - Software 3 04-08-2004 07:04 PM
JACK audio connection kit storyteller Linux - Software 4 11-23-2003 01:35 PM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration