You are not logged in.
Hi,
I want to run the jack sound server on my external usb sound card (Creative Xmod). I use only alsa, no pulse audio etc. Mplayer playback through alsa and the usb card works fine. When I start jackd on my intel card it works but when i start it on my usb card I encounter the following issue:
# jackd -v -d alsa -d hw:Xmod
jackd 0.124.1
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
getting driver descriptor from /usr/lib/jack/jack_alsa_midi.so
getting driver descriptor from /usr/lib/jack/jack_alsa.so
getting driver descriptor from /usr/lib/jack/jack_dummy.so
getting driver descriptor from /usr/lib/jack/jack_oss.so
getting driver descriptor from /usr/lib/jack/jack_firewire.so
could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
getting driver descriptor from /usr/lib/jack/jack_net.so
could not open driver .so '/usr/lib/jack/jack_net.so': libcelt0.so.2: cannot open shared object file: No such file or directory
JACK compiled with System V SHM support.
server `default' registered
registered builtin port type 32 bit float mono audio
registered builtin port type 8 bit raw midi
clock source = system clock via clock_gettime
loading driver ..
start poll on 3 fd's
creating alsa driver ... hw:Xmod|hw:Xmod|1024|2|48000|0|0|nomon|swmeter|-|32bit
new client: alsa_pcm, uuid = 8589934593 type 1 @ 0x2428050 fd = -1
configuring for 48000Hz, period = 1024 frames (21.3 ms), 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
new buffer size 1024
resizing port buffer segment for type 0, one buffer = 4096 bytes
resizing port buffer segment for type 1, one buffer = 2048 bytes
registered port system:capture_1, offset = 4096
registered port system:capture_2, offset = 8192
registered port system:playback_1, offset = 0
registered port system:playback_2, offset = 0
registered port system:playback_3, offset = 0
registered port system:playback_4, offset = 0
registered port system:playback_5, offset = 0
registered port system:playback_6, offset = 0
++ jack_sort_graph
++ jack_rechain_graph():
-- jack_rechain_graph()
-- jack_sort_graph
ALSA: could not start playback (Broken pipe)
DRIVER NT: could not start driver
cannot start driver
starting server engine shutdown
stopping driver
server thread back from poll
unloading driver
freeing shared port segments
stopping server thread
last xrun delay: 0.000 usecs
max delay reported by backend: 0.000 usecs
freeing engine shared memory
max usecs: 0.000, engine deleted
cleaning up shared memory
cleaning up files
unregistering server `default'I tried fiddling with the options: sample rate (44100, 48000, 96000), period (64, 512, 1024), nperiods (2, 3) and word length (16b, 32b) but nothing seems to help. Do you think I have to find the right combination of parameters to make it work? Or is it a different issue?
This might be useful:
# ls -l /proc/asound
razem 0
dr-xr-xr-x 4 root root 0 10-18 15:00 card0
dr-xr-xr-x 4 root root 0 10-18 15:00 card1
dr-xr-xr-x 6 root root 0 10-18 15:00 card2
-r--r--r-- 1 root root 0 10-18 15:00 cards
-r--r--r-- 1 root root 0 10-18 15:00 devices
-r--r--r-- 1 root root 0 10-18 15:00 hwdep
lrwxrwxrwx 1 root root 5 10-18 15:00 MID -> card1
-r--r--r-- 1 root root 0 10-18 15:00 modules
lrwxrwxrwx 1 root root 5 10-18 15:00 NVidia -> card2
dr-xr-xr-x 2 root root 0 10-18 15:00 oss
-r--r--r-- 1 root root 0 10-18 15:00 pcm
dr-xr-xr-x 2 root root 0 10-18 15:00 seq
-r--r--r-- 1 root root 0 10-18 15:00 timers
-r--r--r-- 1 root root 0 10-18 15:00 version
lrwxrwxrwx 1 root root 5 10-18 15:00 Xmod -> card0# cat /proc/asound/cards
0 [Xmod ]: USB-Audio - Creative Xmod
Creative Technology Ltd Creative Xmod at usb-0000:00:1d.0-1.5, full speed
1 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0xfcb00000 irq 27
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xddefc000 irq 16# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Xmod [Creative Xmod], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0# mplayer -v 11\ -\ Last\ Ride\ Of\ The\ Day.mp3
MPlayer SVN-r37379 (C) 2000-2015 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 11
CPU: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz (Family: 6, Model: 37, Stepping: 2)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/art/.mplayer/codecs.conf'
Reading optional codecs config file /home/art/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: 210 audio & 441 video codecs
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/art/.mplayer/fonts'
Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-openal --disable-libdv --disable-musepack --disable-esd --disable-mga --disable-ass-internal --disable-cdparanoia --enable-xvmc --enable-radio --enable-radio-capture --enable-smb --language=all --confdir=/etc/mplayer
CommandLine: '-v' '11 - Last Ride Of The Day.mp3'
Using nanosleep() timing
get_path('input.conf') -> '/home/art/.mplayer/input.conf'
Reading optional input config file /home/art/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 92 binds
Setting up LIRC support...
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('11 - Last Ride Of The Day.mp3.conf') -> '/home/art/.mplayer/11 - Last Ride Of The Day.mp3.conf'
Playing 11 - Last Ride Of The Day.mp3.
get_path('sub/') -> '/home/art/.mplayer/sub/'
[file] File size is 11149312 bytes
STREAM: [file] 11 - Last Ride Of The Day.mp3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 56.25.101 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: MP2/3 (MPEG audio layer 2/3)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 11 - Last Ride Of The Day.mp3 ext: .mp3
Trying demuxer 17 based on filename extension
==> Found audio stream: 0
demux_audio: seeking from 0xAA1F7A to start pos 0x3C7D5
demux_audio: audio data 0x3C7D5 - 0xAA1F80
Audio only file format detected.
Clip info:
Title: Last Ride Of The Day
Artist: Nightwish
Album: Imaginaerum
Year: 2011
Comment:
Track: 11
Genre: Unknown
Load subtitles in ./
get_path('sub/') -> '/home/art/.mplayer/sub/'
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
dec_audio: Allocating 8192 + 131072 = 139264 bytes for output buffer.
MPEG 1.0 layer III, 320 kbit/s, 44100 Hz joint-stereo
AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying every known audio driver...
ao2: 44100 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.29
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: opening device in blocking mode
alsa-init: device reopened in blocking mode
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under development
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 67584
A: 1.0 (00.9) of 272.0 (04:32.0) 0.4%
MPlayer interrupted by signal 2 in module: play_audio
A: 1.0 (00.9) of 272.0 (04:32.0) 0.4%
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: mpg123
alsa-uninit: pcm closed
vo: x11 uninit called but X11 not initialized..
Exiting... (Quit)Offline
Are you sure that there is not another jackd thread working?
Try
killall -9 qjackctl
killall -9 jackd
killall -9 jackdbus
pulseaudio -kClose mplayer and all applications that could use audio.
and restart jackd (maybe with periods 3)
Note: are you using jackdbus? Personaly I use a special version of jack2 without dbus
Offline