Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Eugen Dedu [2018-11-23 10:34 +0100]: > On 23/11/2018 10:11, Elimar Riesebieter wrote: > > > I have the same problem: sound has always worked, until installing 1.1.7 > > > version. With 1.1.7 I have to write the .asoundrc file to make sound > > > work. > > > This happens on both my laptops. > > > > > > I might be wrong, but it seems to me that the problem has nothing to do > > > with > > > udev... Do all Debian users (at least those with Intel sound card) need > > > to > > > write the .asoundrc file to make sound work again? > > > > > > Reopening, since I use unstable and 1.1.7-3 does not work without > > > .asoundrc > > > file. > > Well, I don't know your environment. Please notice that the > > .asoundrc method is usual. What is wrong with configuring a > > asoundrc? > > > > And yes, I can't do more here. I'll leave the bug open and maybe tag > > it as wontfix in a few weeks > > On my machine, the following command fixes the issue: > # mv /etc/alsa/conf.d/99-pulseaudio-default.conf.example > /etc/alsa/conf.d/99-pulseaudio-default.conf > > Could that be the fix? If you rely on pulse, maybe. It is just another asoundrc. Elimar -- Alles, was viel bedacht wird, wird bedenklich!;-) Friedrich Nietzsche signature.asc Description: PGP signature
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
On 23/11/2018 10:11, Elimar Riesebieter wrote: I have the same problem: sound has always worked, until installing 1.1.7 version. With 1.1.7 I have to write the .asoundrc file to make sound work. This happens on both my laptops. I might be wrong, but it seems to me that the problem has nothing to do with udev... Do all Debian users (at least those with Intel sound card) need to write the .asoundrc file to make sound work again? Reopening, since I use unstable and 1.1.7-3 does not work without .asoundrc file. Well, I don't know your environment. Please notice that the .asoundrc method is usual. What is wrong with configuring a asoundrc? And yes, I can't do more here. I'll leave the bug open and maybe tag it as wontfix in a few weeks On my machine, the following command fixes the issue: # mv /etc/alsa/conf.d/99-pulseaudio-default.conf.example /etc/alsa/conf.d/99-pulseaudio-default.conf Could that be the fix? -- Eugen
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
Hi Elimar, "What is wrong with configuring a asoundrc?" It was not required before this package update. Regression? Best regards, Pedro Silva Obter o Outlook para Android<https://aka.ms/ghei36> From: Elimar Riesebieter Sent: Friday, November 23, 2018 9:11:52 AM To: Eugen Dedu; 913...@bugs.debian.org Cc: Pedro Silva Subject: Re: Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave * Eugen Dedu [2018-11-22 22:57 +0100]: > reopen 913045 > thanks > > On Wed, 14 Nov 2018 06:10:35 +0100 Elimar Riesebieter > wrote: > > * Pedro Silva [2018-11-13 23:48 +]: > > > > > On Tue, 13 Nov 2018 23:44:35 +0100 Elimar Riesebieter > > > wrote: > > > > > Heureka! > > > > > > > > Could you please test also libasound2-plugins 1.1.7-3 which arrived > > > > $ 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-3 > > > libasound2-plugins:i386 1.1.7-3 > > > > If ~/.asoundrc doesn't exist, same error: > > > > ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave > > > > If previous ~/.asoundrc exists, everything works as expected. > > > > Ok, so it seems to be udev's task to set the priority of soundcards. > > I can't do more here so I am closing this bug hereby. > > Hi Elimar, > > I have the same problem: sound has always worked, until installing 1.1.7 > version. With 1.1.7 I have to write the .asoundrc file to make sound work. > This happens on both my laptops. > > I might be wrong, but it seems to me that the problem has nothing to do with > udev... Do all Debian users (at least those with Intel sound card) need to > write the .asoundrc file to make sound work again? > > Reopening, since I use unstable and 1.1.7-3 does not work without .asoundrc > file. Well, I don't know your environment. Please notice that the .asoundrc method is usual. What is wrong with configuring a asoundrc? And yes, I can't do more here. I'll leave the bug open and maybe tag it as wontfix in a few weeks Elimar -- We all know Linux is great... it does infinite loops in 5 seconds. -Linus Torvalds
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Eugen Dedu [2018-11-22 22:57 +0100]: > reopen 913045 > thanks > > On Wed, 14 Nov 2018 06:10:35 +0100 Elimar Riesebieter > wrote: > > * Pedro Silva [2018-11-13 23:48 +]: > > > > > On Tue, 13 Nov 2018 23:44:35 +0100 Elimar Riesebieter > > > wrote: > > > > > Heureka! > > > > > > > > Could you please test also libasound2-plugins 1.1.7-3 which arrived > > > > $ 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-3 > > > libasound2-plugins:i386 1.1.7-3 > > > > If ~/.asoundrc doesn't exist, same error: > > > > ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave > > > > If previous ~/.asoundrc exists, everything works as expected. > > > > Ok, so it seems to be udev's task to set the priority of soundcards. > > I can't do more here so I am closing this bug hereby. > > Hi Elimar, > > I have the same problem: sound has always worked, until installing 1.1.7 > version. With 1.1.7 I have to write the .asoundrc file to make sound work. > This happens on both my laptops. > > I might be wrong, but it seems to me that the problem has nothing to do with > udev... Do all Debian users (at least those with Intel sound card) need to > write the .asoundrc file to make sound work again? > > Reopening, since I use unstable and 1.1.7-3 does not work without .asoundrc > file. Well, I don't know your environment. Please notice that the .asoundrc method is usual. What is wrong with configuring a asoundrc? And yes, I can't do more here. I'll leave the bug open and maybe tag it as wontfix in a few weeks Elimar -- We all know Linux is great... it does infinite loops in 5 seconds. -Linus Torvalds signature.asc Description: PGP signature
Bug#913045: [Pkg-alsa-devel] Bug#913045: Bug#913045: Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
reopen 913045 thanks On Wed, 14 Nov 2018 06:10:35 +0100 Elimar Riesebieter wrote: * Pedro Silva [2018-11-13 23:48 +]: > On Tue, 13 Nov 2018 23:44:35 +0100 Elimar Riesebieter > wrote: > > > Heureka! > > > > Could you please test also libasound2-plugins 1.1.7-3 which arrived > > $ 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-3 > libasound2-plugins:i386 1.1.7-3 > > If ~/.asoundrc doesn't exist, same error: > > ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave > > If previous ~/.asoundrc exists, everything works as expected. Ok, so it seems to be udev's task to set the priority of soundcards. I can't do more here so I am closing this bug hereby. Hi Elimar, I have the same problem: sound has always worked, until installing 1.1.7 version. With 1.1.7 I have to write the .asoundrc file to make sound work. This happens on both my laptops. I might be wrong, but it seems to me that the problem has nothing to do with udev... Do all Debian users (at least those with Intel sound card) need to write the .asoundrc file to make sound work again? Reopening, since I use unstable and 1.1.7-3 does not work without .asoundrc file. Regards, -- Eugen Dedu http://eugen.dedu.free.fr
Bug#913045: [Pkg-alsa-devel] Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Ryan Lue [2018-11-16 11:51 +0800]: > Hi Elimar, > > Sorry for the radio silence. I thought I responded in a previous email, > but I guess it never went through? > > I believe the issue goes deeper than simply setting soundcard priority. > I’m experiencing it on two different machines, and I’m trying (and > failing) to play sound out of the default device. > > Desktop: > > $ cat /proc/asound/cards > 0 [HDMI ]: HDA-Intel - HDA Intel HDMI > HDA Intel HDMI at 0xf7e14000 irq 50 > 1 [PCH]: HDA-Intel - HDA Intel PCH > HDA Intel PCH at 0xf7e1 irq 48 > 2 [U0x46d0x81b]: USB-Audio - USB Device 0x46d:0x81b > USB Device 0x46d:0x81b at usb-:00:14.0-1, high > speed > > Laptop: > > $ cat /proc/asound/cards > 0 [PCH]: HDA-Intel - HDA Intel PCH > HDA Intel PCH at 0xe124 irq 127 > > Both the .asoundrc you suggested and the one given by Pedro Silva solve > the problem for me, but it would be nice not to need an .asoundrc to > play sound out of the default (or only) sound device. > > Given that this is happening on a machine with only one sound card > device, and that it was working in 1.1.6-1, is there any chance we could > have this issue reopened? > > (FWIW, I’m working against libasound2-plugins 1.1.7-2; don’t know how to > upgrade to 1.1.7-3, since I’m on testing and not unstable. Happy to > help with any additional debugging.) Well, if you want to use card 0 on both you don't need a .asoundrc. libasound2-plugins 1.1.7-3 should arrive in testing soon. You can add unstable to your sources.list and run # apt update && apt install -t unstable libasound2-plugins HTH Elimar -- On the keyboard of life you have always to keep a finger at the escape key;-) signature.asc Description: PGP signature
Bug#913045: [Pkg-alsa-devel] Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
Hi Elimar, Sorry for the radio silence. I thought I responded in a previous email, but I guess it never went through? I believe the issue goes deeper than simply setting soundcard priority. I’m experiencing it on two different machines, and I’m trying (and failing) to play sound out of the default device. Desktop: $ cat /proc/asound/cards 0 [HDMI ]: HDA-Intel - HDA Intel HDMI HDA Intel HDMI at 0xf7e14000 irq 50 1 [PCH]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf7e1 irq 48 2 [U0x46d0x81b]: USB-Audio - USB Device 0x46d:0x81b USB Device 0x46d:0x81b at usb-:00:14.0-1, high speed Laptop: $ cat /proc/asound/cards 0 [PCH]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xe124 irq 127 Both the .asoundrc you suggested and the one given by Pedro Silva solve the problem for me, but it would be nice not to need an .asoundrc to play sound out of the default (or only) sound device. Given that this is happening on a machine with only one sound card device, and that it was working in 1.1.6-1, is there any chance we could have this issue reopened? (FWIW, I’m working against libasound2-plugins 1.1.7-2; don’t know how to upgrade to 1.1.7-3, since I’m on testing and not unstable. Happy to help with any additional debugging.) —Ryan On 2018 Nov 06, Elimar Riesebieter wrote: > * Ryan Lue [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 > -- > Obviously the human brain works like a computer. > Since there are no stupid computers humans can't be stupid. > There are just a few running with Windows or even CE ;-)
Bug#913045: [Pkg-alsa-devel] Bug#913045: Bug#913045: Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Pedro Silva [2018-11-13 23:48 +]: > On Tue, 13 Nov 2018 23:44:35 +0100 Elimar Riesebieter > wrote: > > > Heureka! > > > > Could you please test also libasound2-plugins 1.1.7-3 which arrived > > $ 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-3 > libasound2-plugins:i386 1.1.7-3 > > If ~/.asoundrc doesn't exist, same error: > > ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave > > If previous ~/.asoundrc exists, everything works as expected. Ok, so it seems to be udev's task to set the priority of soundcards. I can't do more here so I am closing this bug hereby. Thanks for cooperation Elimar -- Experience is something you don't get until just after you need it! signature.asc Description: PGP signature
Bug#913045: [Pkg-alsa-devel] Bug#913045: Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
On Tue, 13 Nov 2018 23:44:35 +0100 Elimar Riesebieter wrote: > Heureka! > > Could you please test also libasound2-plugins 1.1.7-3 which arrived $ 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-3 libasound2-plugins:i386 1.1.7-3 If ~/.asoundrc doesn't exist, same error: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave If previous ~/.asoundrc exists, everything works as expected. If you require additional testing or info, please do ask. Best regards, Pedro Silva
Bug#913045: [Pkg-alsa-devel] Bug#913045: Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Pedro Silva [2018-11-13 22:29 +]: > On Fri, 9 Nov 2018 20:41:17 + Pedro Silva > wrote: > > No difference. > > > > Reboot, login, start game, sound ok. Start browser, play youtube video, > > playback hangs until game is closed. > > > > cat ~/.asoundrc > > ### > > pcm.!default { > > type hw > > card 2 > > } > > ### > > ctl.snd_card { > > type hw > > card 2 > > device 2 > > } > > ### > > > > Best regards, > > Pedro Silva > > Hi Elimar, > > I found a working ~/.asoundrc : > > $ cat .asoundrc > ctl.dmixer { > type pulse > } > pcm.pulse { > type pulse > } > ctl.pulse { > type pulse > } > pcm.!default { > type pulse > } > ctl.!default { > type pulse > } > > I can run Steam Alsa games and youtube videos at the same time (I > believe system wide). I can even connect a bluetooth headset and have it > work without additional setup. > > Found the info here : > > https://steamcommunity.com/app/221410/discussions/0/618458030650103916/#c618458030650649992 > > Don't know if this is a libasound2 or steam games bug/feature. Heureka! Could you please test also libasound2-plugins 1.1.7-3 which arrived in the repos today? Many thanks for cooperation. Elimar -- >what IMHO then? IMHO - Inhalation of a Multi-leafed Herbal Opiate ;) --posting from alex in debian-user-- signature.asc Description: PGP signature
Bug#913045: [Pkg-alsa-devel] Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
On Fri, 9 Nov 2018 20:41:17 + Pedro Silva wrote: > No difference. > > Reboot, login, start game, sound ok. Start browser, play youtube video, > playback hangs until game is closed. > > cat ~/.asoundrc > ### > pcm.!default { > type hw > card 2 > } > ### > ctl.snd_card { > type hw > card 2 > device 2 > } > ### > > Best regards, > Pedro Silva Hi Elimar, I found a working ~/.asoundrc : $ cat .asoundrc ctl.dmixer { type pulse } pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse } I can run Steam Alsa games and youtube videos at the same time (I believe system wide). I can even connect a bluetooth headset and have it work without additional setup. Found the info here : https://steamcommunity.com/app/221410/discussions/0/618458030650103916/#c618458030650649992 Don't know if this is a libasound2 or steam games bug/feature. Thank you for your support. Best regards, Pedro Silva
Bug#913045: [Pkg-alsa-devel] Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
On Fri, 9 Nov 2018 06:29:49 +0100 Elimar Riesebieter wrote: > * Pedro Silva [2018-11-08 22:25 +]: > > [...] > > > > This is getting weird. > > > > Even with the $HOME/.asoundrc file, I've nailed it down to not being > > able to play two sound sources at the same time. > > Could you please add: > > ### > ctl.snd_card { > type hw > card 2 > device 2 > } > ### > > to your .asoundrc and try again? > > Thanks > Elimar > -- > Alles, was viel bedacht wird, wird bedenklich!;-) > Friedrich Nietzsche No difference. Reboot, login, start game, sound ok. Start browser, play youtube video, playback hangs until game is closed. cat ~/.asoundrc ### pcm.!default { type hw card 2 } ### ctl.snd_card { type hw card 2 device 2 } ### Best regards, Pedro Silva
Bug#913045: [Pkg-alsa-devel] Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Pedro Silva [2018-11-08 22:25 +]: [...] > > This is getting weird. > > Even with the $HOME/.asoundrc file, I've nailed it down to not being > able to play two sound sources at the same time. Could you please add: ### ctl.snd_card { type hw card 2 device 2 } ### to your .asoundrc and try again? Thanks Elimar -- Alles, was viel bedacht wird, wird bedenklich!;-) Friedrich Nietzsche signature.asc Description: PGP signature
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
On Thu, 8 Nov 2018 22:00:03 + Pedro Silva wrote: > On Thu, 8 Nov 2018 19:59:56 +0100 Elimar Riesebieter > wrote: > > > > > > With the $HOME/.asoundrc, pointed to card 2, the sound is back and fully > > > working, thank you. > > > > > > You mean that a minor revision to this package caused it to now require > > > a manual configuration file? Why? > > > > Hmm, the priority of the sequence of sond devices is done by the > > kernel (udev|systemd). If you are interested please run a test as > > follows: > > > > Unplug your usb device and reboot. After reboot plug in your usb > > device and run 'cat /proc/asound/cards'. > > > > > > Boot with a plugged in usb device and run 'cat /proc/asound/cards'. > > > > Is there any difference? > > > > Elimar > > -- > > You cannot propel yourself forward by > > patting yourself on the back. > > > No difference. > > As the original bug reporter, please understand that my knowledge of > Alsa is also limited. > > Unplug, reboot, plug, $ cat /proc/asound/cards > > libasound2bug_reboot_thenplug.txt. > Reboot. > > $ cat /proc/asound/cards > 0 [HDMI ]: HDA-Intel - HDA ATI HDMI > HDA ATI HDMI at 0xfe96 irq 67 > 1 [Generic ]: HDA-Intel - HD-Audio Generic > HD-Audio Generic at 0xfe80 irq 69 > 2 [USB ]: USB-Audio - Razer Kraken USB > Razer Razer Kraken USB at usb-:09:00.3-4.3, > full speed > > $ diff /proc/asound/cards libasound2bug_reboot_thenplug.txt > [no output] > > My concern is the "it worked before". Anything else besides Alsa and the > kernel that could cause this issue? > > Best regards, > Pedro Silva This is getting weird. Even with the $HOME/.asoundrc file, I've nailed it down to not being able to play two sound sources at the same time. Reboot with USB card plugged, login, run game, sound works. Open browser (firefox), open youtube, play video, doesn't play, hangs playback until I close the game. Close browser and game, start browser and play youtube video, everything ok. Start game, no error message (as the subject of this bug) but no sound whatsoever. Needless to say that none of this happened before the upgrade. I haven't tried to downgrade libasound2 to previous version, but I can if it helps troubleshooting. Best regards, Pedro Silva
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
On Thu, 8 Nov 2018 19:59:56 +0100 Elimar Riesebieter wrote: > > > > With the $HOME/.asoundrc, pointed to card 2, the sound is back and fully > > working, thank you. > > > > You mean that a minor revision to this package caused it to now require > > a manual configuration file? Why? > > Hmm, the priority of the sequence of sond devices is done by the > kernel (udev|systemd). If you are interested please run a test as > follows: > > Unplug your usb device and reboot. After reboot plug in your usb > device and run 'cat /proc/asound/cards'. > > > Boot with a plugged in usb device and run 'cat /proc/asound/cards'. > > Is there any difference? > > Elimar > -- > You cannot propel yourself forward by > patting yourself on the back. No difference. As the original bug reporter, please understand that my knowledge of Alsa is also limited. Unplug, reboot, plug, $ cat /proc/asound/cards > libasound2bug_reboot_thenplug.txt. Reboot. $ cat /proc/asound/cards 0 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfe96 irq 67 1 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfe80 irq 69 2 [USB ]: USB-Audio - Razer Kraken USB Razer Razer Kraken USB at usb-:09:00.3-4.3, full speed $ diff /proc/asound/cards libasound2bug_reboot_thenplug.txt [no output] My concern is the "it worked before". Anything else besides Alsa and the kernel that could cause this issue? Best regards, Pedro Silva
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Pedro Silva [2018-11-08 17:21 +]: > On Thu, 8 Nov 2018 17:56:28 +0100 Elimar Riesebieter > wrote: > > * Pedro Silva [2018-11-08 08:56 +]: > > It seems that your HDMI device is your default sound device. If you > > want to use your HDA-Intel to play sound you need a $HOME/.asoundrc: > > > > ### > > pcm.!default { > > type hw > > card 1 > > } > > ### > > > > To configure this system wide put it in /etc/asound.config > > > > Elimar > > With the $HOME/.asoundrc, pointed to card 2, the sound is back and fully > working, thank you. > > You mean that a minor revision to this package caused it to now require > a manual configuration file? Why? Hmm, the priority of the sequence of sond devices is done by the kernel (udev|systemd). If you are interested please run a test as follows: Unplug your usb device and reboot. After reboot plug in your usb device and run 'cat /proc/asound/cards'. Boot with a plugged in usb device and run 'cat /proc/asound/cards'. Is there any difference? Elimar -- You cannot propel yourself forward by patting yourself on the back. signature.asc Description: PGP signature
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
On Thu, 8 Nov 2018 17:56:28 +0100 Elimar Riesebieter wrote: > * Pedro Silva [2018-11-08 08:56 +]: > It seems that your HDMI device is your default sound device. If you > want to use your HDA-Intel to play sound you need a $HOME/.asoundrc: > > ### > pcm.!default { > type hw > card 1 > } > ### > > To configure this system wide put it in /etc/asound.config > > Elimar With the $HOME/.asoundrc, pointed to card 2, the sound is back and fully working, thank you. You mean that a minor revision to this package caused it to now require a manual configuration file? Why? Best regards, Pedro Silva
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Pedro Silva [2018-11-08 08:56 +]: > Hi Elimar, > > cat /proc/asound/cards > 0 [HDMI ]: HDA-Intel - HDA ATI HDMI > HDA ATI HDMI at 0xfe96 irq 67 > 1 [Generic]: HDA-Intel - HD-Audio Generic > HD-Audio Generic at 0xfe80 irq 69 > 2 [USB]: USB-Audio - Razer Kraken USB > Razer Razer Kraken USB at usb-:09:00.3-4.3, full > speed It seems that your HDMI device is your default sound device. If you want to use your HDA-Intel to play sound you need a $HOME/.asoundrc: ### pcm.!default { type hw card 1 } ### To configure this system wide put it in /etc/asound.config Elimar -- Alles, was viel bedacht wird, wird bedenklich!;-) Friedrich Nietzsche signature.asc Description: PGP signature
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
Hi Elimar, cat /proc/asound/cards 0 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfe96 irq 67 1 [Generic]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfe80 irq 69 2 [USB]: USB-Audio - Razer Kraken USB Razer Razer Kraken USB at usb-:09:00.3-4.3, full speed Best regards, Pedro Silva Obter o Outlook para Android<https://aka.ms/ghei36> From: Elimar Riesebieter Sent: Thursday, November 8, 2018 5:07:21 AM To: Pedro Silva; 913...@bugs.debian.org Cc: Ryan Lue Subject: Re: Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave * Pedro Silva [2018-11-07 20:18 +]: > On Tue, 6 Nov 2018 12:16:18 +0100 Elimar Riesebieter > wrote: > > * Ryan Lue [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 What tells: $ cat /proc/asound/cards ? Elimar -- Never make anything simple and efficient when a way can be found to make it complex and wonderful ;-)
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Pedro Silva [2018-11-07 20:18 +]: > On Tue, 6 Nov 2018 12:16:18 +0100 Elimar Riesebieter > wrote: > > * Ryan Lue [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 What tells: $ cat /proc/asound/cards ? Elimar -- Never make anything simple and efficient when a way can be found to make it complex and wonderful ;-) signature.asc Description: PGP signature
Bug#913045: [Pkg-alsa-devel] Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
On Tue, 6 Nov 2018 12:16:18 +0100 Elimar Riesebieter wrote: > * Ryan Lue [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
Bug#913045: [Pkg-alsa-devel] Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
* Ryan Lue [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 -- Obviously the human brain works like a computer. Since there are no stupid computers humans can't be stupid. There are just a few running with Windows or even CE ;-) signature.asc Description: PGP signature
Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
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. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libasound2 depends on: ii libasound2-data 1.1.7-1 ii libc62.27-8 libasound2 recommends no packages. Versions of packages libasound2 suggests: ii libasound2-plugins 1.1.6-1+b1 -- no debconf information