Re: [DNG] (Almost) no sound under Beowulf
On 2020-10-01 13:23, al3xu5 / dotcommon wrote: > So if you have no pulseaudio and audio is ok with firefox-esr 78, IMHO > it should mean that the ff release you have has been built with ALSA > support (nice if they have restored it!!!) or that you run ff throught > apulse... No apulse either. AFAIK, there was never a point when the _Debian_ build of firefox-esr had this problem. As for Mozilla builds, I cannot say, though their devs can sound very Lennart-like sometimes, so it is not unlikely. -- Ian ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
Wed, 30 Sep 2020 11:36:32 -0700 - Ian Zimmerman : > On 2020-09-30 20:02, al3xu5 / dotcommon wrote: > > > Firefox, from a certain version onwards (sorry but I don't remember > > which one), removed support for ALSA from the default build > > configuration (maybe it will be restored in the future, I don't know > > if it has already been but I don't think so), keeping only pulseaudio > > support. > > > > This should explain why you didn't have audio on Firefox; while I can > > assume that the other problems depend on pulseaudio and its > > configuration (also because I seem to understand that they happened > > after you installed it...). > > FWIW, I am on Debian buster, which just upgraded firefox-esr to 78; I > have no pulseaudio; and I just checked youtube and it works ok. So, I > doubt this explanation of Marc's problem. As I said, "Firefox from a certain version onwards" (shoud be 52) "removed support for ALSA from the default build configuration (maybe it will be restored in the future, [...]" So if you have no pulseaudio and audio is ok with firefox-esr 78, IMHO it should mean that the ff release you have has been built with ALSA support (nice if they have restored it!!!) or that you run ff throught apulse... Regards al3xu5 -- Say NO to copyright, patents, trademarks and industrial design restrictions! Public GPG/PGP key: F94CFE23 (4096 bit RSA) Key fingerprint:59C6 9DC7 CD4B CF2F A190 E3DE 69C5 977B F94C FE23 pgpgAp6fR2xMI.pgp Description: Firma digitale OpenPGP ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
On 2020-09-30 20:02, al3xu5 / dotcommon wrote: > Firefox, from a certain version onwards (sorry but I don't remember > which one), removed support for ALSA from the default build > configuration (maybe it will be restored in the future, I don't know > if it has already been but I don't think so), keeping only pulseaudio > support. > > This should explain why you didn't have audio on Firefox; while I can > assume that the other problems depend on pulseaudio and its > configuration (also because I seem to understand that they happened > after you installed it...). FWIW, I am on Debian buster, which just upgraded firefox-esr to 78; I have no pulseaudio; and I just checked youtube and it works ok. So, I doubt this explanation of Marc's problem. -- Ian ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
Fri, 25 Sep 2020 22:54:14 -0700 - Marc Shapiro : > I have been running Debian for over 20 years, but I want to avoid > systemd, so I am trying out Devuan. > > I installed ASCII a last year and just did an upgrade to Beowulf about a > week ago. [...] > The issue that I am having is with sound. My daughter reported that it > was not working. I tried playing a video (in Firefox) from my login and > also got no sound. > > I have since determined that pulseaudio was not running (it is > installed). So I started the pulseaudio daemon under my login, started > up Firefox and played a video. Sound. Yay! I logged into my > daughter's account and started the pulseaudio daemon, started Firefox > and played a video. No sound. Boo! > > The I started pavucontrol under both logins. My login shows the 'Built > in Analog Stereo' output device, and its monitor for input. My > daughter's login shows a 'Dummy' output device and its monitor for > input. under my wife's login, it shows the same 'Dummy' devices as my > daughter's login . > > 1) If anyone can tell me how to get pulseaudio to see my built-in audio > for all three logins, it would be greatly appreciated. > > 2) How do I get pulseaudio to run for each user when they log into the > system. > > 3) The 'play' utility from the sox package gives an error whenever I try > to play an mp3 file. Using 'aplay' to play .wav files works fine. What > do I need to do to play mp3s from the commandline? > > (NOTE: I boot to console only. Each user switches to a different VT and > runs startx from there.) I am running Beowulf and I have all the audio stuff perfectly running using just *only* ALSA (M Audio Audiophile 24/96 sound card, also connected to my hifi setup, whit a real-time audio configuration). I do not need any of the pulseaudio stuff (which is just a useless and total mess IMHO... Indeed, I have removed all the pulseaudio packages). Firefox, from a certain version onwards (sorry but I don't remember which one), removed support for ALSA from the default build configuration (maybe it will be restored in the future, I don't know if it has already been but I don't think so), keeping only pulseaudio support. This should explain why you didn't have audio on Firefox; while I can assume that the other problems depend on pulseaudio and its configuration (also because I seem to understand that they happened after you installed it...). The solution I suggest is to totally remove any pulseaudio stuff, use ALSA instead, install the `apulse` package which is a PulseAudio emulator for ALSA (this should ensure that Firefox -- and any other program which require pulseaudio -- will work even if pulseaudio is not present). Also I suggest to install some useful ALSA-related packages: - `apulse` - `alsa-utils` - `alsaplayer-alsa` (and `alsaplayer-gtk`) - `alsamixer` (and `alsamixergui`) to handle your audio devices - `volumeicon-alsa` a lightweight systray volume control Regards al3xu5 -- Say NO to copyright, patents, trademarks and industrial design restrictions! Public GPG/PGP key: F94CFE23 (4096 bit RSA) Key fingerprint:59C6 9DC7 CD4B CF2F A190 E3DE 69C5 977B F94C FE23 pgp3tMJDDZfsx.pgp Description: Firma digitale OpenPGP ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] (Almost) no sound under Beowulf (SOLVED)
Oops! I forgot to add (SOLVED) to my last subject line. Forwarded Message Subject:Re: [DNG] (Almost) no sound under Beowulf Date: Sun, 27 Sep 2020 09:34:33 -0700 From: Marc Shapiro To: dng@lists.dyne.org On 9/26/20 6:55 PM, Gregory Nowak wrote: On Fri, Sep 25, 2020 at 10:54:14PM -0700, Marc Shapiro via Dng wrote: The issue that I am having is with sound. My daughter reported that it was not working. I tried playing a video (in Firefox) from my login and also got no sound. You've already gotten good suggestions in this thread. I'd concur with the advice to get rid of pulseaudio, and use ALSA. If a particular application requires pulseaudio, install the apulse package, and start that application through apulse. One thing I haven't seen mentioned so far is to make sure that each user who is supposed to be able to play sound is a member of the audio group. If they aren't in the audio group, add them to the audio group, log them out, and log them back in. Note, I get sound in Beowulf in firefox just fine with out pulseaudio installed. 3) The 'play' utility from the sox package gives an error whenever I try to play an mp3 file. Using 'aplay' to play .wav files works fine. What do I need to do to play mp3s from the commandline? Do you have the libsox-fmt-mp3 package installed? Better yet, unless you have some reason not to, just install the libsox-fmt-all package. For playing music from the command line, I use mplayer. As you've discovered, aplay works too, and play should work as well once you install the necessary format support. Greg I do run Firefox, which is why I have pulseaudio installed. When pulse is running, I have had no issues with it. The problem was that, for whatever reason, pulse was not starting for all users when they logged in. I added a line to start it in each .bashrc and that problem was solved. The problem with mp3s from the commandline was the lack of libsox-fmt-mp3. I installed libsox-fmt-all and that issue is solved, as well. Thank you, everyone, for your help. I think that this installation is ready to leave running and see if my wife and daughter have any issues with it. Marc ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
On 9/26/20 6:55 PM, Gregory Nowak wrote: On Fri, Sep 25, 2020 at 10:54:14PM -0700, Marc Shapiro via Dng wrote: The issue that I am having is with sound. My daughter reported that it was not working. I tried playing a video (in Firefox) from my login and also got no sound. You've already gotten good suggestions in this thread. I'd concur with the advice to get rid of pulseaudio, and use ALSA. If a particular application requires pulseaudio, install the apulse package, and start that application through apulse. One thing I haven't seen mentioned so far is to make sure that each user who is supposed to be able to play sound is a member of the audio group. If they aren't in the audio group, add them to the audio group, log them out, and log them back in. Note, I get sound in Beowulf in firefox just fine with out pulseaudio installed. 3) The 'play' utility from the sox package gives an error whenever I try to play an mp3 file. Using 'aplay' to play .wav files works fine. What do I need to do to play mp3s from the commandline? Do you have the libsox-fmt-mp3 package installed? Better yet, unless you have some reason not to, just install the libsox-fmt-all package. For playing music from the command line, I use mplayer. As you've discovered, aplay works too, and play should work as well once you install the necessary format support. Greg I do run Firefox, which is why I have pulseaudio installed. When pulse is running, I have had no issues with it. The problem was that, for whatever reason, pulse was not starting for all users when they logged in. I added a line to start it in each .bashrc and that problem was solved. The problem with mp3s from the commandline was the lack of libsox-fmt-mp3. I installed libsox-fmt-all and that issue is solved, as well. Thank you, everyone, for your help. I think that this installation is ready to leave running and see if my wife and daughter have any issues with it. Marc ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
On Fri, 25 Sep 2020 22:54:14 -0700 Marc Shapiro via Dng wrote: The issue that I am having is with sound. My daughter reported that it was not working. I tried playing a video (in Firefox) from my login and also got no sound. I have since determined that pulseaudio was not running (it is installed). So I started the pulseaudio daemon under my login, started up Firefox and played a video. Sound. Yay! I logged into my daughter's account and started the pulseaudio daemon, started Firefox and played a video. No sound. Boo! If you have no sound, make sure the following line in /etc/pulse/client.conf.d/00-disable-autospawn.conf is commented as shown here: #autospawn=no source: https://files.devuan.org/devuan_beowulf/Release_notes.txt OR install volumeicon and configure this tool to run at system startup! Regards. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
On Fri, Sep 25, 2020 at 10:54:14PM -0700, Marc Shapiro via Dng wrote: > The issue that I am having is with sound. My daughter reported that it was > not working. I tried playing a video (in Firefox) from my login and also > got no sound. You've already gotten good suggestions in this thread. I'd concur with the advice to get rid of pulseaudio, and use ALSA. If a particular application requires pulseaudio, install the apulse package, and start that application through apulse. One thing I haven't seen mentioned so far is to make sure that each user who is supposed to be able to play sound is a member of the audio group. If they aren't in the audio group, add them to the audio group, log them out, and log them back in. Note, I get sound in Beowulf in firefox just fine with out pulseaudio installed. > 3) The 'play' utility from the sox package gives an error whenever I try to > play an mp3 file. Using 'aplay' to play .wav files works fine. What do I > need to do to play mp3s from the commandline? Do you have the libsox-fmt-mp3 package installed? Better yet, unless you have some reason not to, just install the libsox-fmt-all package. For playing music from the command line, I use mplayer. As you've discovered, aplay works too, and play should work as well once you install the necessary format support. Greg -- web site: http://www.gregn.net gpg public key: http://www.gregn.net/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) If we haven't been in touch before, e-mail me before adding me to your contacts. -- Free domains: http://www.eu.org/ or mail dns-mana...@eu.org ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
On Fri, 25 Sep 2020 22:54:14 -0700 Marc Shapiro via Dng wrote: > I have been running Debian for over 20 years, but I want to avoid > systemd, so I am trying out Devuan. Excellent! > > I installed ASCII a last year and just did an upgrade to Beowulf > about a week ago. My goal now is to get Beowulf to run close enough > to my Debian Stretch system that my wife and daughter can't tell the > difference. I mount the same partition on home for both Debian and > Devuan, so that keeps the local configs the same. > > The issue that I am having is with sound. My daughter reported that > it was not working. I tried playing a video (in Firefox) from my > login and also got no sound. > > I have since determined that pulseaudio was not running (it is > installed). So I started the pulseaudio daemon under my login, > started up Firefox and played a video. Sound. Yay! I logged into > my daughter's account and started the pulseaudio daemon, started > Firefox and played a video. No sound. Boo! Your experience matches mine, on various distros. Pulseaudio is a land of a thousand hidden mutes, and a maze of state dependencies. So I de-installed Pulseaudio several years ago. At the end of this email I'll tell you about my latest Pulseaudio disaster. > 1) If anyone can tell me how to get pulseaudio to see my built-in > audio for all three logins, it would be greatly appreciated. Reboot. Then, every time Pulseaudio fails, reboot. Pulseaudio is a maze of state dependencies. > > 2) How do I get pulseaudio to run for each user when they log into > the system. Put the command to start it in each user's .bashrc, or in each user's .Xdefaults and .xinitrc, or just have sysvinit or runit run the daemon for all users (if all users can share Pulseaudio). [snip] I heard you loud and clear when you said you want your family to have the exact same experience in Devuan that they had in Debian. Unfortunately, Pulseaudio is very connected to dbus and I think somewhat connected to systemd. So what I'd do is: 1) Uninstall Pulseaudio and Pavucontrol 2) Create /usr/local/adjustments 3) Install apulse, the app at a time Pulseaudio replacement 4) Create executable script /usr/local/adjustments/firefox containing following code: apulse firefox 5) Put /usr/local/adjustments at the very front of the path, and make sure it stays there. 6) Use /usr/local/adjustments for any other programs that have irresponsibly required junk software. HTH, SteveT Steve Litt Autumn 2020 featured book: Thriving in Tough Times http://www.troubleshooters.com/thrive ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
il devuanizzato Marc Shapiro via Dng il 26-09-20 07:54:14 ha scritto: The issue that I am having is with sound. My daughter reported that it was not working. I tried playing a video (in Firefox) from my login and also got no sound. Me too when installed beowulf I had problems. Pulseaudio brings trouble and has odd behavior. Alsa it is not without problems. However both works with no|a little|medium effort. I don't like pulseaudio and in my machines tend to remove it. Sometimes install it with disgust. I have since determined that pulseaudio was not running (it is installed). So I started the pulseaudio daemon under my login, started up Firefox and played a video. Sound. Yay! I logged into my daughter's account and started the pulseaudio daemon, started Firefox and played a video. No sound. Boo! The I started pavucontrol under both logins. My login shows the 'Built in Analog Stereo' output device, and its monitor for input. My daughter's login shows a 'Dummy' output device and its monitor for input. under my wife's login, it shows the same 'Dummy' devices as my daughter's login . 1) If anyone can tell me how to get pulseaudio to see my built-in audio for all three logins, it would be greatly appreciated. You need to make a file named .asoundrc in home directory and select correct audio card. You can find it with: cat /proc/asound/cards You may insert a number or (best) the name of audio card. For info: https://www.alsa-project.org/main/index.php/Asoundrc pulseaudio is alsa based and it should work. 2) How do I get pulseaudio to run for each user when they log into the system. I recommend you not to waste time configuring pulseaudio. If pulseaudio don't work and troubleshooting is more difficult than expected remove it and configure alsa. If alsa work then: if is necessary (advanced mixing, trouble with pulseaudio only software as firefox, other...) install pulseaudio else install apulse (sound working in pulseaudio only software as firefox for example), configure dmix plugin in alsa and so on... end if 3) The 'play' utility from the sox package gives an error whenever I try to play an mp3 file. Using 'aplay' to play .wav files works fine. What do I need to do to play mp3s from the commandline? You can try: vlc -Incurses FILE or moc (it also works by freeing the terminal): http://moc.daper.net/ (NOTE: I boot to console only. Each user switches to a different VT and runs startx from there.) Yes, me too run X from VT. -- _ < Viverna > - \^/^ \ / \ // \ \ |\___/| / \// .\ \ /0 0 \__ /// | \ \ ** / / \/_/// | \ \ \ | @_^_@`/ \/_ //| \ \ \/\ \ //_^_/ \/_ // |\\ \ \ ( //) |\/// | \ \ | | ( / /) | // | \ _\ | / ( // /) | ; -.|_ _\.-~ / / (( / / )) |_ *-.|.-~-. .~~ (( // / ))\ / ~-. _ .-~ / (( /// )) `. }{ / (( / )) .~-.\\-` .~ ///...<\ _ -~ ///-._ _ _ _ _ _ _{^ - - - - ~ ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] (Almost) no sound under Beowulf
I have been running Debian for over 20 years, but I want to avoid systemd, so I am trying out Devuan. I installed ASCII a last year and just did an upgrade to Beowulf about a week ago. My goal now is to get Beowulf to run close enough to my Debian Stretch system that my wife and daughter can't tell the difference. I mount the same partition on home for both Debian and Devuan, so that keeps the local configs the same. The issue that I am having is with sound. My daughter reported that it was not working. I tried playing a video (in Firefox) from my login and also got no sound. I have since determined that pulseaudio was not running (it is installed). So I started the pulseaudio daemon under my login, started up Firefox and played a video. Sound. Yay! I logged into my daughter's account and started the pulseaudio daemon, started Firefox and played a video. No sound. Boo! The I started pavucontrol under both logins. My login shows the 'Built in Analog Stereo' output device, and its monitor for input. My daughter's login shows a 'Dummy' output device and its monitor for input. under my wife's login, it shows the same 'Dummy' devices as my daughter's login . 1) If anyone can tell me how to get pulseaudio to see my built-in audio for all three logins, it would be greatly appreciated. 2) How do I get pulseaudio to run for each user when they log into the system. 3) The 'play' utility from the sox package gives an error whenever I try to play an mp3 file. Using 'aplay' to play .wav files works fine. What do I need to do to play mp3s from the commandline? (NOTE: I boot to console only. Each user switches to a different VT and runs startx from there.) Thanks for any help. Marc ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng