[PlanetCCRMA] CCRMA / Fedora 12 / jack / ffado install problem

Niels Mayer nielsmayer at gmail.com
Tue Feb 2 15:59:42 PST 2010


FYI, I'm not using "2.6.31.12-1.rt20.1.fc12.ccrma.x86_64.rt" but rather the
stock fedora kernel
> Linux gnulem 2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18 19:52:07 UTC
2010 x86_64 x86_64 x86_64 GNU/Linux

Is the realtime kernel even neccesary anymore given jackd's realtime
functionality, and assuming a real soundcard with a real interrupt
(is the realtime kernel needed to get USB or firewire devices behaving , or
does it provide significant benefit for those using pci or pcie
soundcards??)

       -R, --realtime
              Use  realtime  scheduling  (default  = true). This is needed
for
              reliable low-latency performance.  On many systems, it
 requires
              jackd to run with special scheduler and memory allocation
privi-
              leges, which may be obtained in several ways.

A less drastic solution prior to fully removing ccrma's jack would be
omitting the -R flag and seeing whether the issue is an incompatibility with
"special scheduler and memory allocation privileges"... (note my unfounded
gut-feeling  that the ccrma jackd was not working compatibly alongside f12
HAL devices and special permissions needed for groups 'audio' or
'rtkit'). It may be an issue of "memory allocation privileges" -- the f12
jackd outputs "JACK compiled with System V SHM support." The CCRMA jackd
doesn't. See logs below for details.

Fixing my son's old F12 Opteron 1220
box<http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=4312771&CatId=3371>before
he discovered I broke all his music apps, I also rolled back
from jack-audio-connection-kit-example-clients-1.9.4-1.fc12.ccrma.x86_64
jack-audio-connection-kit-1.9.4-1.fc12.ccrma.x86_64
jack-audio-connection-kit-1.9.4-1.fc12.ccrma.i686. (i
just got him all setup with rosegarden, qjackctl, hydrogen and an Akai LPK
25 "laptop keyboard" he got for his 14th birthday, and he's been playing
around with all the synths I installed:
dssi-calf-plugins-0.0.18.5-3.fc12.x86_64 dssi-vst-wine-0.8-4.fc12.i686
hexter-dssi-0.6.2-3.fc12.x86_64 csound-dssi-5.10.1-14.fc12.x86_64
fluidsynth-dssi-1.0.0-2.fc12.x86_64 dssi-vst-0.8-4.fc12.x86_64
nekobee-dssi-0.1.7-3.fc12.x86_64 whysynth-dssi-20090608-1.fc12.x86_64
dssi-1.0.0-3.fc12.x86_64 dssi-examples-1.0.0-3.fc12.x86_64
xsynth-dssi-0.9.2-3.fc12.x86_64 bristol-0.40.7-6.fc12.x86_64
zynaddsubfx-2.4.0-2.fc12.x86_64
etc...)

Using his system with jack-audio-connection-kit-1.9.4-1.fc12.ccrma.x86_64
installed, note error:

14:33:26.052 Logging started --- Tue Feb 2 14:33:26 2010 ---

14:33:26.105 Patchbay deactivated.

14:33:26.147 Statistics reset.

14:33:26.205 Startup script...

14:33:26.206 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

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

14:33:26.217 ALSA connection graph change.

14:33:27.328 Startup script terminated with exit status=256.

14:33:27.329 JACK is starting...

14:33:27.329 /usr/bin/jackd -R -dalsa -r44100 -p128 -n2 -D -Chw:NVidia,0
> -Phw:NVidia,0 -Xseq -zs -H -M

14:33:27.351 JACK was started with PID=22394.

14:33:27.684 ALSA connection change.

14:33:27.686 ALSA connection graph change.

no message buffer overruns

no message buffer overruns

jackdmp 1.9.4

Copyright 2001-2005 Paul Davis and others.

Copyright 2004-2009 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 60

ALSA lib conf.c:4484:(parse_args) Unknown parameter 1

ALSA lib conf.c:4617:(snd_config_expand) Parse arguments error: No such file
> or directory

ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL hw:NVidia,0

control open "hw:NVidia,0" (No such file or directory)

ALSA lib conf.c:4484:(parse_args) Unknown parameter 1

ALSA lib conf.c:4617:(snd_config_expand) Parse arguments error: No such file
> or directory

ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL hw:NVidia,0

control open "hw:NVidia,0" (No such file or directory)

audio_reservation_init

Acquire audio card Audio-1

creating alsa driver ...
> hw:NVidia,0|hw:NVidia,0|128|2|44100|0|0|hwmon|hwmeter|-|32bit

ALSA lib conf.c:4484:(parse_args) Unknown parameter 1

ALSA lib conf.c:4617:(snd_config_expand) Parse arguments error: No such file
> or directory

ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL hw:NVidia,0

control open "hw:NVidia,0" (No such file or directory)

Cannot initialize driver

JackServer::Open() failed with -1

Failed to start server

14:33:28.602 JACK was stopped with exit status=255.

14:33:28.602 Post-shutdown script...

14:33:28.603 killall jackd

jackd: no process killed

14:33:29.039 Post-shutdown script terminated with exit status=256.

14:33:29.689 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


Downgrading back to stock f12 jack:

39-~> rpm -qa | grep ccrma
jack-audio-connection-kit-example-clients-1.9.4-1.fc12.ccrma.x86_64
jack-audio-connection-kit-1.9.4-1.fc12.ccrma.x86_64
planetccrma-repo-1.1-2.fc12.ccrma.noarch
ffado-2.0.0-1.fc12.ccrma.x86_64
jack-audio-connection-kit-1.9.4-1.fc12.ccrma.i686
libffado-2.0.0-1.fc12.ccrma.x86_64
40-~> sudo yum remove planetccrma-repo-1.1-2.fc12.ccrma.noarch
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package planetccrma-repo.noarch 0:1.1-2.fc12.ccrma set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch        Version                 Repository
 Size
================================================================================
Removing:
 planetccrma-repo      noarch      1.1-2.fc12.ccrma        installed
20 k

Transaction Summary
================================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : planetccrma-repo-1.1-2.fc12.ccrma.noarch
1/1

Removed:
  planetccrma-repo.noarch 0:1.1-2.fc12.ccrma


Complete!
42-~> sudo yum downgrade jack-audio-connection-kit-example-clients
jack-audio-connection-kit
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
 * fedora: mirrors.usc.edu
 * livna: rpm.livna.org
 * updates: mirrors.xmission.com
Resolving Dependencies
--> Running transaction check
---> Package jack-audio-connection-kit.i686 0:0.118.0-1.fc12 set to be
updated
---> Package jack-audio-connection-kit.x86_64 0:0.118.0-1.fc12 set to be
updated
---> Package jack-audio-connection-kit.i686 0:1.9.4-1.fc12.ccrma set to be
erased
---> Package jack-audio-connection-kit.x86_64 0:1.9.4-1.fc12.ccrma set to be
erased
---> Package jack-audio-connection-kit-example-clients.x86_64
0:0.118.0-1.fc12 set to be updated
---> Package jack-audio-connection-kit-example-clients.x86_64
0:1.9.4-1.fc12.ccrma set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                                   Arch   Version         Repository

Size
================================================================================
Downgrading:
 jack-audio-connection-kit                 i686   0.118.0-1.fc12  updates
173 k
 jack-audio-connection-kit                 x86_64 0.118.0-1.fc12  updates
170 k
 jack-audio-connection-kit-example-clients x86_64 0.118.0-1.fc12  updates
 51 k

Transaction Summary
================================================================================
Remove        0 Package(s)
Reinstall     0 Package(s)
Downgrade     3 Package(s)

Total download size: 394 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): jack-audio-connection-kit-0.118.0-1.fc12.i686.rpm | 173 kB     00:00

(2/3): jack-audio-connection-kit-0.118.0-1.fc12.x86_64.r | 170 kB     00:00

(3/3): jack-audio-connection-kit-example-clients-0.118.0 |  51 kB     00:00

--------------------------------------------------------------------------------
Total                                           598 kB/s | 394 kB     00:00

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : jack-audio-connection-kit-0.118.0-1.fc12.x86_64
 1/6
  Installing     : jack-audio-connection-kit-0.118.0-1.fc12.i686
 2/6
  Installing     : jack-audio-connection-kit-example-clients-0.118.0-1.fc
3/6
  Cleanup        : jack-audio-connection-kit-example-clients-1.9.4-1.fc12
4/6
  Cleanup        : jack-audio-connection-kit-1.9.4-1.fc12.ccrma
5/6
  Cleanup        : jack-audio-connection-kit-1.9.4-1.fc12.ccrma
6/6

Removed:
  jack-audio-connection-kit.i686 0:1.9.4-1.fc12.ccrma

  jack-audio-connection-kit.x86_64 0:1.9.4-1.fc12.ccrma

  jack-audio-connection-kit-example-clients.x86_64 0:1.9.4-1.fc12.ccrma


Installed:
  jack-audio-connection-kit.i686 0:0.118.0-1.fc12

  jack-audio-connection-kit.x86_64 0:0.118.0-1.fc12

  jack-audio-connection-kit-example-clients.x86_64 0:0.118.0-1.fc12


Complete!

Now, jack works again:

14:56:05.566 Logging started --- Tue Feb 2 14:56:05 2010 ---
14:56:05.575 Patchbay deactivated.
14:56:05.582 Statistics reset.
14:56:05.629 Startup script...
14:56:05.629 artsshell -q terminate
14:56:05.632 ALSA connection graph change.
14:56:06.041 Startup script terminated with exit status=256.
14:56:06.042 JACK is starting...
14:56:06.042 /usr/bin/jackd -R -dalsa -r44100 -p128 -n2 -D -Chw:NVidia,0
-Phw:NVidia,0 -Xseq -zs -H -M
14:56:06.045 JACK was started with PID=23449.
jackd 0.118.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn 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.
loading driver ..
14:56:06.244 ALSA connection change.
apparent rate = 44100
creating alsa driver ...
hw:NVidia,0|hw:NVidia,0|128|2|44100|0|0|hwmon|hwmeter|-|32bit
ALSA lib conf.c:4484:(parse_args) Unknown parameter 1
ALSA lib conf.c:4617:(snd_config_expand) Parse arguments error: No such file
or directory
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL hw:NVidia,0
control open "hw:NVidia,0" (No such file or directory)
configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
14:56:06.337 ALSA connection graph change.
14:56:08.262 Server configuration saved to "/home/chop/.jackdrc".
14:56:08.266 Statistics reset.
14:56:11.999 Client activated.
14:56:12.003 JACK connection change.
14:56:12.016 JACK connection graph change.

Where ~/.jackdrc is now

/usr/bin/jackd -R -dalsa -r44100 -p256 -n2 -D -Chw:NVidia,0 -Phw:NVidia,0
-Xseq -zs -H -M

-- Niels Mayer
http://nielsmayer.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20100202/41f1bdd4/attachment-0001.html 


More information about the PlanetCCRMA mailing list