[SOLVED] Re: Firefox 140.6.0 --- no sound

"Andrew Warshall" ([email protected] via blfs-support Mailing List) <[email protected]> Mon, 22 Dec 2025 18:26:04 -0500
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
On Sun, 21 Dec 2025 23:56:58 -0600
"Bruce Dubbs" ([email protected] via blfs-support Mailing List)
<[email protected]> wrote:

> On 12/21/25 9:58 PM, Andrew Warshall ([email protected]
> via blfs-support Mailing List) wrote:
> > On Sun, 21 Dec 2025 21:32:31 -0600
> > Bruce Dubbs <[email protected]> wrote:
> >   
> >> On 12/21/25 9:24 PM, Andrew Warshall wrote:  
> >>> On Sun, 21 Dec 2025 21:05:50 -0600
> >>> "Bruce Dubbs" ([email protected] via blfs-support Mailing
> >>> List) <[email protected]> wrote:
> >>>      
> >>>> On 12/21/25 7:51 PM, Andrew Warshall
> >>>> ([email protected] via blfs-support Mailing List)
> >>>> wrote:  
> >>>>> Hi-
> >>>>>
> >>>>>       Just did my roughly-annual (B)LFS reinstall and Firefox
> >>>>> (compiled with ALSA) won't play sound. ALSA itself is working,
> >>>>> since mpg123 plays fine. But, when I attempt to play a video
> >>>>> with sound in Firefox, I get errors like:
> >>>>>
> >>>>> ALSA lib pcm.c:8865:(snd_pcm_set_params) [error.pcm] Sample
> >>>>> format not available for PLAYBACK: Invalid argument
> >>>>>
> >>>>>       This seems to be saying that there's an audio codec
> >>>>> missing; but not sure I should believe that. And, if I should,
> >>>>> any way to track down what it is?  
> >>>>
> >>>> What version of alsa-lib/alsa-util are you using?  There was an
> >>>> upstream problem and we just updated those packages to version
> >>>> 1.2.15.1 to fix a non-sound problem.  
> >>  
> >>> alsa-lib 1.2.15, alsa-utils 1.2.15.1. Do I need to update alsa-lib
> >>> to 1.2.15.1 as well?  
> >>
> >> Yes.  That's causing the sound problem.  After installing, just run
> >> speaker-test to see if you get some what noise.  If you do, then
> >> you should be good.  
> 
> > Done but still no success. Speaker-test works, but that worked
> > before as well; only firefox was an issue.  
> 
> Just a thought.  Try rebooting to ensure everything is consistent.
> 
> 

Turns out the issue was my /etc/asound.conf. Apparently setting
pcm.default directly now confuses Firefox (I think because that means
only one application can own it at a time?). Anyway, switching to
setting ALSA_CARD (and letting ALSA's default configuration handle the
rest) has solved it. Thanks!

          -Andrew Warshall


--

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page