Re: Alsa sound errors
2013/6/6 Marc Shapiro marcns...@gmail.com So, do I create the file and add the line: ipc_gid_audio or ipc_gid_audio TRUE or something else? I guess you are running pulseaudio so you can fix your error at global level or per user level. Per user level: - copy /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example in each user dir - rename it to .asoundrc - add this line 'ipc_key_add_uid yes' after the lines 'type pulse' - change ownership according to the user home dir you are working with. - log out and log back again should be enough... but if not, restart pulseaudio alsa-utils, reboot as last choice It should work. BEWARE I do not use pulseaudio at all, I use alsa and jackd instead with this setup. References: http://www.alsa-project.org/main/index.php/Asoundrc Regards /raffaele
Re: Alsa sound errors
2013/6/5 Marc Shapiro marcns...@gmail.com There are three people with logins to my desktop box -- myself, my wife and my daughter. My daughter plays Flash games with sound all the time and has no problems. I run YouTube videos and otherwise use sound with no problems. My wife gets no sound whatsoever. We used to have a problem with the sound being grabbed by something and then I would need to kill things manually, but I eliminated all KDE apps and that problem went away. I think that was back when I was still running Etch, anyway. When I need to verify that sound is working and not locked up, I just use 'play' with a .wav file. My wife was just playing a video and getting no sound, so, under my login I ran: play /home/marc/public_html/**footpain/media/montoya.wav /home/marc/public_html/**footpain/media/montoya.wav: File Size: 14.8k Bit Rate: 13.1k Encoding: GSM Channels: 1 @ 16-bit Samplerate: 8000Hz Replaygain: off Duration: 00:00:09.04 In:100% 00:00:09.04 [00:00:00.00] Out:434k [ | ] Clip:0 Done. and, as you can see, it worked just fine. So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/**footpain/media/montoya.wav ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_**open) unable to create IPC semaphore play FAIL formats: can't open output file `default': snd_pcm_open error: Permission denied As you can see, it failed. Can anyone tell me just what is failing and how to correct it. My first thought was that it was a permissions problem and perhaps she needed to be added to the 'audio' group, or some such, as she is only in her own group. But then I checked my daughter's account. She is also only in her own group; not in 'audio' or anything else. So that ruled out that solution. The error says 'Permission denied however, so it is some kind of permissions problem, I just don't know what. Any help will be greatly appreciated. Marc You should use ipc_key_add_uid TRUE in your .asoundrc when defining dmix. Details are in http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Regards /r
Re: Alsa sound errors
The Wednesday 05 June 2013 07:50:35, Marc Shapiro wrote : CUT So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav CUT Any help will be greatly appreciated. Marc Hi Is your wife's name marc? Thierry -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201306050848.04039.tchate...@free.fr
Re: Alsa sound errors
On Ma, 04 iun 13, 22:50:35, Marc Shapiro wrote: So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore play FAIL formats: can't open output file `default': snd_pcm_open error: Permission denied As you can see, it failed. Can anyone tell me just what is failing and how to correct it. My first thought was that it was a permissions problem and perhaps she needed to be added to the 'audio' group, or some such, as she is only in her own group. But then I checked my daughter's account. She is also only in her own group; not in 'audio' or anything else. So that ruled out that solution. Not necessarily. The desktop environment might be using some *Kit to allow her to play audio. This may not apply to console applications. The error says 'Permission denied however, so it is some kind of permissions problem, I just don't know what. Do try adding here to group audio and see if that helps. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: Alsa sound errors
2013/6/5 Andrei POPESCU andreimpope...@gmail.com On Ma, 04 iun 13, 22:50:35, Marc Shapiro wrote: So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore play FAIL formats: can't open output file `default': snd_pcm_open error: Permission denied As you can see, it failed. Can anyone tell me just what is failing and how to correct it. My first thought was that it was a permissions problem and perhaps she needed to be added to the 'audio' group, or some such, as she is only in her own group. But then I checked my daughter's account. She is also only in her own group; not in 'audio' or anything else. So that ruled out that solution. Not necessarily. The desktop environment might be using some *Kit to allow her to play audio. This may not apply to console applications. The error says 'Permission denied however, so it is some kind of permissions problem, I just don't know what. Do try adding here to group audio and see if that helps. It's not a user level permission problem, he should use ipc_key in .asoundrc if the soundcard is shared. Indeed I bet that if he reboot the system and login with his wife login everything will work just fine, problem arises when he switches from another account, no matter which user he logs in. [quote] ipc_key specfies the unique IPC key in integer. This number must be unique for each different dmix definition, since the shared memory is created with this key number. Whenipc_key_add_uid is set true, the uid value is added to the value set in ipc_key. This will avoid the confliction of the same IPC key with different users concurrently. [/quote]
Re: Alsa sound errors
On 06/04/2013 11:48 PM, Thierry Chatelet wrote: The Wednesday 05 June 2013 07:50:35, Marc Shapiro wrote : CUT So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav CUT Any help will be greatly appreciated. Marc Hi Is your wife's name marc? No, that is in my home directory, but I allow read access. Marc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51af4692.7090...@gmail.com
Re: Alsa sound errors
On 06/04/2013 11:04 PM, Raffaele Morelli wrote: 2013/6/5 Marc Shapiro marcns...@gmail.com mailto:marcns...@gmail.com There are three people with logins to my desktop box -- myself, my wife and my daughter. My daughter plays Flash games with sound all the time and has no problems. I run YouTube videos and otherwise use sound with no problems. My wife gets no sound whatsoever. We used to have a problem with the sound being grabbed by something and then I would need to kill things manually, but I eliminated all KDE apps and that problem went away. I think that was back when I was still running Etch, anyway. When I need to verify that sound is working and not locked up, I just use 'play' with a .wav file. My wife was just playing a video and getting no sound, so, under my login I ran: play /home/marc/public_html/footpain/media/montoya.wav /home/marc/public_html/footpain/media/montoya.wav: File Size: 14.8k Bit Rate: 13.1k Encoding: GSM Channels: 1 @ 16-bit Samplerate: 8000Hz Replaygain: off Duration: 00:00:09.04 In:100% 00:00:09.04 [00:00:00.00] Out:434k [ | ] Clip:0 Done. and, as you can see, it worked just fine. So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore play FAIL formats: can't open output file `default': snd_pcm_open error: Permission denied As you can see, it failed. Can anyone tell me just what is failing and how to correct it. My first thought was that it was a permissions problem and perhaps she needed to be added to the 'audio' group, or some such, as she is only in her own group. But then I checked my daughter's account. She is also only in her own group; not in 'audio' or anything else. So that ruled out that solution. The error says 'Permission denied however, so it is some kind of permissions problem, I just don't know what. Any help will be greatly appreciated. Marc You should use ipc_key_add_uid TRUE in your .asoundrc when defining dmix. Details are in http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Regards /r Is that a user lever file? I do not find that config file anywhere on my box. Marc
Re: Alsa sound errors
On Wed, 05 Jun 2013 07:24:16 -0700 Marc Shapiro marcns...@gmail.com wrote: On 06/04/2013 11:04 PM, Raffaele Morelli wrote: 2013/6/5 Marc Shapiro marcns...@gmail.com mailto:marcns...@gmail.com There are three people with logins to my desktop box -- myself, my wife and my daughter. My daughter plays Flash games with sound all the time and has no problems. I run YouTube videos and otherwise use sound with no problems. My wife gets no sound whatsoever. We used to have a problem with the sound being grabbed by something and then I would need to kill things manually, but I eliminated all KDE apps and that problem went away. I think that was back when I was still running Etch, anyway. When I need to verify that sound is working and not locked up, I just use 'play' with a .wav file. My wife was just playing a video and getting no sound, so, under my login I ran: play /home/marc/public_html/footpain/media/montoya.wav /home/marc/public_html/footpain/media/montoya.wav: File Size: 14.8k Bit Rate: 13.1k Encoding: GSM Channels: 1 @ 16-bit Samplerate: 8000Hz Replaygain: off Duration: 00:00:09.04 In:100% 00:00:09.04 [00:00:00.00] Out:434k [ | ] Clip:0 Done. and, as you can see, it worked just fine. So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore play FAIL formats: can't open output file `default': snd_pcm_open error: Permission denied As you can see, it failed. Can anyone tell me just what is failing and how to correct it. My first thought was that it was a permissions problem and perhaps she needed to be added to the 'audio' group, or some such, as she is only in her own group. But then I checked my daughter's account. She is also only in her own group; not in 'audio' or anything else. So that ruled out that solution. The error says 'Permission denied however, so it is some kind of permissions problem, I just don't know what. Any help will be greatly appreciated. Marc You should use ipc_key_add_uid TRUE in your .asoundrc when defining dmix. Details are in http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Regards /r Is that a user lever file? I do not find that config file anywhere on my box. Marc Hi Marc, Based on what R stated in reply-to Andrei, you need to try and reboot your machine and log onto your wife's account. If the sound plays fine then the issue is the one he described. The .asoundrc file should be in the home directory of each user as you're using ALSA to play sound. I've got PulseAudio on my system, so can't check this for you. K. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130605203142.67f3a155.listskail...@gmail.com
Re: Alsa sound errors
On 05/06/13 21:31, Kailash wrote: On Wed, 05 Jun 2013 07:24:16 -0700 Marc Shapiro marcns...@gmail.com wrote: On 06/04/2013 11:04 PM, Raffaele Morelli wrote: 2013/6/5 Marc Shapiro marcns...@gmail.com mailto:marcns...@gmail.com There are three people with logins to my desktop box -- myself, my wife and my daughter. My daughter plays Flash games with sound all the time and has no problems. I run YouTube videos and otherwise use sound with no problems. My wife gets no sound whatsoever. We used to have a problem with the sound being grabbed by something and then I would need to kill things manually, but I eliminated all KDE apps and that problem went away. I think that was back when I was still running Etch, anyway. When I need to verify that sound is working and not locked up, I just use 'play' with a .wav file. My wife was just playing a video and getting no sound, so, under my login I ran: play /home/marc/public_html/footpain/media/montoya.wav /home/marc/public_html/footpain/media/montoya.wav: File Size: 14.8k Bit Rate: 13.1k Encoding: GSM Channels: 1 @ 16-bit Samplerate: 8000Hz Replaygain: off Duration: 00:00:09.04 In:100% 00:00:09.04 [00:00:00.00] Out:434k [ | ] Clip:0 Done. and, as you can see, it worked just fine. So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore play FAIL formats: can't open output file `default': snd_pcm_open error: Permission denied As you can see, it failed. Can anyone tell me just what is failing and how to correct it. My first thought was that it was a permissions problem and perhaps she needed to be added to the 'audio' group, or some such, as she is only in her own group. But then I checked my daughter's account. She is also only in her own group; not in 'audio' or anything else. So that ruled out that solution. The error says 'Permission denied however, so it is some kind of permissions problem, I just don't know what. Any help will be greatly appreciated. Marc You should use ipc_key_add_uid TRUE in your .asoundrc when defining dmix. Details are in http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Regards /r Is that a user lever file? I do not find that config file anywhere on my box. Marc Hi Marc, Based on what R stated in reply-to Andrei, you need to try and reboot your machine and log onto your wife's account. If the sound plays fine then the issue is the one he described. The .asoundrc file should be in the home directory of each user as you're using ALSA to play sound. I've got PulseAudio on my system, so can't check this for you. K. Searching the alsa-project.org website for ipc_key_add_uid indicates that this feature was removed before v 1.0.10 ? http://www.alsa-project.org/main/index.php/Changes_1.0.9_v1.0.10 + Configuration - Summary: use ipc_gid for dmix and dsnoop - added ipc_gid audio - removed ipc_key_add_uid The ~/.asoundrc file is not necessarily present by default, you need to create it manually if you want special control. http://www.alsa-project.org/main/index.php/Asoundrc -- Klaus -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51afa58f.10...@gmail.com
Re: Alsa sound errors
On 06/05/2013 01:54 PM, Klaus wrote: On 05/06/13 21:31, Kailash wrote: On Wed, 05 Jun 2013 07:24:16 -0700 Marc Shapiro marcns...@gmail.com wrote: On 06/04/2013 11:04 PM, Raffaele Morelli wrote: 2013/6/5 Marc Shapiro marcns...@gmail.com mailto:marcns...@gmail.com There are three people with logins to my desktop box -- myself, my wife and my daughter. My daughter plays Flash games with sound all the time and has no problems. I run YouTube videos and otherwise use sound with no problems. My wife gets no sound whatsoever. We used to have a problem with the sound being grabbed by something and then I would need to kill things manually, but I eliminated all KDE apps and that problem went away. I think that was back when I was still running Etch, anyway. When I need to verify that sound is working and not locked up, I just use 'play' with a .wav file. My wife was just playing a video and getting no sound, so, under my login I ran: play /home/marc/public_html/footpain/media/montoya.wav /home/marc/public_html/footpain/media/montoya.wav: File Size: 14.8k Bit Rate: 13.1k Encoding: GSM Channels: 1 @ 16-bit Samplerate: 8000Hz Replaygain: off Duration: 00:00:09.04 In:100% 00:00:09.04 [00:00:00.00] Out:434k [ | ] Clip:0 Done. and, as you can see, it worked just fine. So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore play FAIL formats: can't open output file `default': snd_pcm_open error: Permission denied As you can see, it failed. Can anyone tell me just what is failing and how to correct it. My first thought was that it was a permissions problem and perhaps she needed to be added to the 'audio' group, or some such, as she is only in her own group. But then I checked my daughter's account. She is also only in her own group; not in 'audio' or anything else. So that ruled out that solution. The error says 'Permission denied however, so it is some kind of permissions problem, I just don't know what. Any help will be greatly appreciated. Marc You should use ipc_key_add_uid TRUE in your .asoundrc when defining dmix. Details are in http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Regards /r Is that a user lever file? I do not find that config file anywhere on my box. Marc Hi Marc, Based on what R stated in reply-to Andrei, you need to try and reboot your machine and log onto your wife's account. If the sound plays fine then the issue is the one he described. The .asoundrc file should be in the home directory of each user as you're using ALSA to play sound. I've got PulseAudio on my system, so can't check this for you. K. Searching the alsa-project.org website for ipc_key_add_uid indicates that this feature was removed before v 1.0.10 ? http://www.alsa-project.org/main/index.php/Changes_1.0.9_v1.0.10 + Configuration - Summary: use ipc_gid for dmix and dsnoop - added ipc_gid audio - removed ipc_key_add_uid The ~/.asoundrc file is not necessarily present by default, you need to create it manually if you want special control. http://www.alsa-project.org/main/index.php/Asoundrc So, do I create the file and add the line: ipc_gid_audio or ipc_gid_audio TRUE or something else? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51b00cdc.3090...@gmail.com
Re: Alsa sound errors
2013/6/5 Marc Shapiro marcns...@gmail.com On 06/04/2013 11:04 PM, Raffaele Morelli wrote: You should use ipc_key_add_uid TRUE in your .asoundrc when defining dmix. Details are in http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Regards /r Is that a user lever file? I do not find that config file anywhere on my box. Marc It's a per user config ie. you should place it in /home/$USER/.asoundrc BTW: are you running pulse audio? /r /r
Re: Alsa sound errors
2013/6/5 Klaus klaus.doering...@gmail.com Searching the alsa-project.org website for ipc_key_add_uid indicates that this feature was removed before v 1.0.10 ? http://www.alsa-project.org/**main/index.php/Changes_1.0.9_**v1.0.10http://www.alsa-project.org/main/index.php/Changes_1.0.9_v1.0.10 + Configuration - Summary: use ipc_gid for dmix and dsnoop - added ipc_gid audio - removed ipc_key_add_uid nope, it doesn't apply here, sid it's shipped with 1.0.25 like wheezy and jessie. http://packages.debian.org/search?keywords=alsa-basesearchon=namessuite=unstablesection=all /r
Re: Alsa sound errors
Marc Shapiro wrote: On 06/05/2013 01:54 PM, Klaus wrote: On 05/06/13 21:31, Kailash wrote: On Wed, 05 Jun 2013 07:24:16 -0700 Marc Shapiro marcns...@gmail.com wrote: On 06/04/2013 11:04 PM, Raffaele Morelli wrote: 2013/6/5 Marc Shapiro marcns...@gmail.com mailto:marcns...@gmail.com There are three people with logins to my desktop box -- myself, my wife and my daughter. My daughter plays Flash games with sound all the time and has no problems. I run YouTube videos and otherwise use sound with no problems. My wife gets no sound whatsoever. We used to have a problem with the sound being Perhaps a permission issue? I've added my wife and children to the audio group so that sound works for them. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51b00cdc.3090...@gmail.com -- James Richardson http://jamestechnotes.com I prefer encrypted email: keyid D8467AFB signature.asc Description: Digital signature
Alsa sound errors
There are three people with logins to my desktop box -- myself, my wife and my daughter. My daughter plays Flash games with sound all the time and has no problems. I run YouTube videos and otherwise use sound with no problems. My wife gets no sound whatsoever. We used to have a problem with the sound being grabbed by something and then I would need to kill things manually, but I eliminated all KDE apps and that problem went away. I think that was back when I was still running Etch, anyway. When I need to verify that sound is working and not locked up, I just use 'play' with a .wav file. My wife was just playing a video and getting no sound, so, under my login I ran: play /home/marc/public_html/footpain/media/montoya.wav /home/marc/public_html/footpain/media/montoya.wav: File Size: 14.8k Bit Rate: 13.1k Encoding: GSM Channels: 1 @ 16-bit Samplerate: 8000Hz Replaygain: off Duration: 00:00:09.04 In:100% 00:00:09.04 [00:00:00.00] Out:434k [ | ] Clip:0 Done. and, as you can see, it worked just fine. So I swiched over to my wife's login and did the same thing: play /home/marc/public_html/footpain/media/montoya.wav ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore play FAIL formats: can't open output file `default': snd_pcm_open error: Permission denied As you can see, it failed. Can anyone tell me just what is failing and how to correct it. My first thought was that it was a permissions problem and perhaps she needed to be added to the 'audio' group, or some such, as she is only in her own group. But then I checked my daughter's account. She is also only in her own group; not in 'audio' or anything else. So that ruled out that solution. The error says 'Permission denied however, so it is some kind of permissions problem, I just don't know what. Any help will be greatly appreciated. Marc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51aed1ab.9090...@gmail.com