[Pkg-alsa-devel] Bug#913045: Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave

Pedro Silva pedrofsilva at netcabo.pt
Wed Nov 7 20:18:37 GMT 2018


On Tue, 6 Nov 2018 12:16:18 +0100 Elimar Riesebieter <riesebie at lxtec.de>
wrote:
> * Ryan Lue <ryan.lue at gmail.com> [2018-11-06 18:51 +0800]:
>
> > Package: libasound2
> > Version: 1.1.7-1
> > Severity: important
> >
> > Dear Maintainer,
> >
> > Please forgive my lack of familiarity with ALSA.
> >
> > I use sox in a script to play an mp3 via STDIN, using the
> > AUDIODRIVER=alsa environment variable. Since upgrading libasound2 from
> > 1.1.6-1 to 1.1.7-1 this morning, the script now gives the following
> > error:
> >
> > ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
> > play FAIL formats: can’t open output file `default’: snd_pcm_open
error: No such file or directory
> >
> > I ran speaker-test to try to isolate the problem. The output is below:
> >
> > speaker-test 1.1.6
> >
> > Playback device is default
> > Stream parameters are 48000Hz, S16_LE, 1 channels
> > Using 16 octaves of pink noise
> > ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
> > Playback open error: -2,No such file or directory
> >
> > Sound works throughout the rest of the system – I assume via PulseAudio?
> >
> > I’m happy to provide any other information to help diagnose the problem.
>
> libasound2-plugins 1.1.7-2 and alsa-utils 1.1.7-1 should arrive soon
> in testing. Please update them first and come back to this bug
> report.
>
> Thanks for your patience
>
> Elimar

Hi Elimar,

I've updated libasound2-plugins and alsa-utils and still hit the same
issue, this time launching a Steam game (WarThunder).
Since I updated libasound2 to 1.1.7-1, no sound on the game with the
same error message:

ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave

Packages installed on my system:

dpkg -l | grep libasound2 | awk {'print $2,$3'}
libasound2:amd64 1.1.7-1
libasound2:i386 1.1.7-1
libasound2-data 1.1.7-1
libasound2-dev:amd64 1.1.7-1
libasound2-plugins:amd64 1.1.7-2
libasound2-plugins:i386 1.1.7-2

dpkg -l | grep alsa | awk {'print $2,$3'}
alsa-base 1.0.27+1
alsa-utils 1.1.7-1
gstreamer0.10-alsa:amd64 0.10.36-2
gstreamer1.0-alsa:amd64 1.14.4-1
libsox-fmt-alsa:amd64 14.4.2-3

If you need further information, please feel free to ask.

Best regards,
Pedro Silva


More information about the Pkg-alsa-devel mailing list