View Issue Details

IDProjectCategoryView StatusLast Update
0005405ardourbugspublic2020-04-19 20:16
ReporterEvanCarroll Assigned Topaul  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version2.8.14 
Summary0005405: USB naming issue
DescriptionWhen you have multiple devices with the same ALSA name, and you try to launch Ardour2 you get an error. In the additional info you'll see that I try to launch hw:1,0 and it fails, hw:2,0 fails, hw:3,0 works.

The error is,

> Failed to acquire device name : Audio1 error : Method "RequestRelease" with signature "i" on interface "org.freedesktop.ReserveDevice1" doesn't exist

Not exactly sure if it's related to my other two devices.
Additional InformationI have 3 USB DACs all with the same chipset. They're all Behringers. Two of them are stand alone, one of them is built into my X2442 USB.

**** List of PLAYBACK Hardware Devices ****
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: CODEC_1 [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: CODEC_2 [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
TagsNo tags attached.

  Users sponsoring this issue
Sponsors List Total Sponsorship = US$ 5

2013-03-25 20:39: EvanCarroll (US$ 5)
  Users sponsoring this issue (Total Sponsorship = US$ 5)

Activities

2013-03-22 07:12

 

jackd.log (2,217 bytes)   
ecarroll@x200s-ssd:~/Desktop/bin$ jackd -d alsa -d hw:1,0
jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 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
control device hw:1
control device hw:1
audio_reservation_init
Failed to acquire device name : Audio1 error : Method "RequestRelease" with signature "i" on interface "org.freedesktop.ReserveDevice1" doesn't exist

Audio device hw:1,0 cannot be acquired...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
ecarroll@x200s-ssd:~/Desktop/bin$ jackd -d alsa -d hw:2,0
jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 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
control device hw:2
control device hw:2
audio_reservation_init
Failed to acquire device name : Audio2 error : Method "RequestRelease" with signature "i" on interface "org.freedesktop.ReserveDevice1" doesn't exist

Audio device hw:2,0 cannot be acquired...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
ecarroll@x200s-ssd:~/Desktop/bin$ jackd -d alsa -d hw:3,0
jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 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
control device hw:3
control device hw:3
audio_reservation_init
Acquire audio card Audio3
creating alsa driver ... hw:3,0|hw:3,0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:3
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


jackd.log (2,217 bytes)   

EvanCarroll

2013-03-25 20:53

reporter   ~0014778

This problem was mentioned here:
* https://bbs.archlinux.org/viewtopic.php?id=135650

paul

2013-03-28 22:09

administrator   ~0014787

Ubuntu, right?

paul

2013-04-06 13:33

administrator   ~0014825

this is a bug in your Linux distribution's configuration of JACK, DBus and/or PulseAudio. it does not require (nor can it be fixed by) any change in Ardour.

EvanCarroll

2013-04-07 01:01

reporter   ~0014838

Yea, I'm using Ubuntu but that other report is Arch. How do you figure that it is a bug in the distribution, and just JACK/Ardours unique inability to hand multiple USB DACS with the same device ID and ALSA name?

paul

2013-04-07 01:29

administrator   ~0014839

The bug is a "race condition" in PulseAudio's handling of device reservation. For some reason it more or less only affects Ubuntu. The bug has been fixed in PulseAudio and will make it into distributions soon-ish. This is what I've been told by Ubuntu packagers and upstream PA developers.

It has nothing at all to with your duplicate USB device names, which is itself a totally separate problem that also has nothing to do with Ardour.

system

2020-04-19 20:16

developer   ~0023208

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2013-03-22 07:12 EvanCarroll New Issue
2013-03-22 07:12 EvanCarroll File Added: jackd.log
2013-03-25 20:39 EvanCarroll Sponsorship Added EvanCarroll: US$ 5
2013-03-25 20:39 EvanCarroll Sponsorship Total 0 => 5
2013-03-25 20:53 EvanCarroll Note Added: 0014778
2013-03-28 22:09 paul Note Added: 0014787
2013-04-06 13:33 paul Note Added: 0014825
2013-04-06 13:33 paul Status new => resolved
2013-04-06 13:33 paul Resolution open => no change required
2013-04-06 13:33 paul Assigned To => paul
2013-04-07 01:01 EvanCarroll Note Added: 0014838
2013-04-07 01:29 paul Note Added: 0014839
2020-04-19 20:16 system Note Added: 0023208
2020-04-19 20:16 system Status resolved => closed