The officially official Devuan Forum!

You are not logged in.

#1 2023-11-05 17:09:49

aluma
Member
Registered: 2022-10-26
Posts: 240  

Firefox no sound.

The computer has two OSes - openSuse 15.4 and Daedalus.
Both are only from ALSA, without pulseaudio.

The FF versions are the same, but openSuse has sound in the browser, but Daedalus does not.
Other Daedalus programs have sound, incl. and in the Brave browser.

There is no sound device defined in the FF Daedalus settings.
Here are the screenshots
Daedalus
9.jpg

openSuse
11.jpg

Can anyone suggest a solution?

Offline

#2 2023-11-05 18:06:29

greenjeans
Member
Registered: 2017-04-07
Posts: 475  
Website

Re: Firefox no sound.

Well I don't have a solution...i'm actually curious as to why it's working in opensuse.

On my old install (Devuan 1) the repo finally went bye-bye and I needed an updated browser, so I got an appimage of FF 116, browser worked fine but no sound, and that system is also pure ALSA like yours.

Chromium now requires pulse too.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#3 2023-11-05 18:48:30

aluma
Member
Registered: 2022-10-26
Posts: 240  

Re: Firefox no sound.

I downloaded the latest firefox...tar.gz from the mozilla site, the result is the same, no sound device, no sound.
Аnd Brave, another Chrome based one, works with ALSA without problems on two computers.

Offline

#4 2023-11-05 20:07:02

greenjeans
Member
Registered: 2017-04-07
Posts: 475  
Website

Re: Firefox no sound.

Interesting....In my old system Chromium worked without pulse just fine, but so did FF and Pale moon etc.

Then somewhere along the line FF sound stopped working, and the appimage version didn't have sound either.

As far as new Chromium working on ALSA alone I have no way of testing, just going off what I read of it's dependencies list.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#5 2023-11-05 20:43:08

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,052  

Re: Firefox no sound.

"Firefox" needs to be run by "apulse" so as to direct its audio through pure ALSA.
E.g. insert "apulse" first on the "Exec" line of the ".desktop" file(s) in use for starting "firefox".

Offline

#6 2023-11-06 10:43:27

aluma
Member
Registered: 2022-10-26
Posts: 240  

Re: Firefox no sound.

I've already tried it with apulse, the effect is even more interesting.
Immediately after loading the OS we launch

exec apulse firefox

This information appears

 Audio Backend	pulse-rust
Max Channels	2
Preferred Sample Rate	44100
Roundtrip latency (standard deviation)	...
Codec Support Information	H264 SW
VP8 SW
VP9 SW
AV1 SW
Theora SW
AAC SW
FLAC SW
MP3 SW
Opus SW
Vorbis SW
Wave SW
Output Devices
Name 	Group 	Vendor 	State 	Preferred 	Format 	Channels 	Rate 	Latency
default and only sink			Enabled	All	default: S16LE, support: S16LE S16BE F32LE F32BE	2	default: 44100, support: 1 - 384000	0 - 0
Input Devices
Name 	Group 	Vendor 	State 	Preferred 	Format 	Channels 	Rate 	Latency
default_source_name			Enabled	All	default: S16LE, support: S16LE S16BE F32LE F32BE	2	default: 44100, support: 1 - 384000	0 - 0 

We load the youtube page, there is no sound, moreover, the sound from other programs disappears.

If you first start playing vlc, for example, then its sound is there, but after the subsequent launch of FF with apulse, it loses information about codecs.

 Audio Backend	pulse-rust
Max Channels	2
Preferred Sample Rate	44100
Roundtrip latency (standard deviation)	...
Codec Support Information	
Output Devices
Name 	Group 	Vendor 	State 	Preferred 	Format 	Channels 	Rate 	Latency
default and only sink			Enabled	All	default: S16LE, support: S16LE S16BE F32LE F32BE	2	default: 44100, support: 1 - 384000	0 - 0
Input Devices
Name 	Group 	Vendor 	State 	Preferred 	Format 	Channels 	Rate 	Latency
default_source_name			Enabled	All	default: S16LE, support: S16LE S16BE F32LE F32BE	2	default: 44100, support: 1 - 384000	0 - 0
 

vlc continues playing, FF is silent

Offline

#7 2023-11-07 04:40:20

czeekaj
Member
Registered: 2019-06-12
Posts: 133  

Re: Firefox no sound.

Chimera it seems to have sound. alsa only. Using a realtek alc892.
outputs of,

aplay -l
speaker-test 
cat /proc/asound/pcm

Last edited by czeekaj (2023-11-07 04:43:21)

Offline

#8 2023-11-07 09:49:14

aluma
Member
Registered: 2022-10-26
Posts: 240  

Re: Firefox no sound.

That's great, but what does it have to do with Firefox?

Regards.

Offline

#9 2023-11-08 01:51:00

LinuxMan
Member
From: Florida
Registered: 2023-06-28
Posts: 13  
Website

Re: Firefox no sound.

Seems you have vaapitest error

VA-API is enabled by default for Intel GPUs - For other GPUs, set media.ffmpeg.vaapi.enabled to true in about:config

Firefox uses PulseAudio for audio playback and capture. If PulseAudio is not installed, Firefox uses ALSA instead. Note that by default, Firefox blocks all media with sound from playing automatically
Select the Privacy & Security panel and go down to the Permissions section
(or enter autoplay in the Find in Settings search box

Offline

#10 2023-11-08 07:02:51

aluma
Member
Registered: 2022-10-26
Posts: 240  

Re: Firefox no sound.

LinuxMan wrote:

Seems you have vaapitest error

VA-API is enabled by default for Intel GPUs - For other GPUs, set media.ffmpeg.vaapi.enabled to true in about:config

Firefox uses PulseAudio for audio playback and capture. If PulseAudio is not installed, Firefox uses ALSA instead. Note that by default, Firefox blocks all media with sound from playing automatically
Select the Privacy & Security panel and go down to the Permissions section
(or enter autoplay in the Find in Settings search box

 media.ffmpeg.vaapi.enabled  

I tried it before
There was no sound.
And these are the autoplay settings
10.jpg

Regards.

Offline

#11 2023-11-08 21:12:47

LinuxMan
Member
From: Florida
Registered: 2023-06-28
Posts: 13  
Website

Re: Firefox no sound.

According to here - https://support.mozilla.org/en-US/kb/fi … o-software - It says

Allow autoplay of media with sound
Firefox may be blocking media with sound from playing automatically. To allow media autoplay, see Allow or block media autoplay in Firefox.

You may need to install the required PulseAudio software
If you see a notification saying “To play audio, you may need to install the required PulseAudio software”, it means that Firefox cannot find or use PulseAudio. The PulseAudio software is required to play any audio from Firefox. Most Linux distributions now come with PulseAudio pre-installed.

Use your system's software package manager and ensure that PulseAudio is correctly installed.

Offline

#12 2023-11-08 21:43:07

golinux
Administrator
Registered: 2016-11-25
Posts: 2,964  

Re: Firefox no sound.

/me doesn't often have to block an avatar . . .

Online

#13 2023-11-09 00:16:14

GlennW
Member
From: Tweed Heads, Australia
Registered: 2019-07-18
Posts: 417  

Re: Firefox no sound.

if you're using pipewire, pipewire-pulse (for programs that use pulse) and wireplumber as a connection server for pipewire.

I have alsa as well.

Offline

#14 2023-11-09 07:54:00

aluma
Member
Registered: 2022-10-26
Posts: 240  

Re: Firefox no sound.

Thanks guys for your participation.

I probably didn't convey the point well.
I repeat, on the same computer, with the same DE, the same version of FF in one OS, the sound works through ALSA, on the other it does not.

It's not a matter of DE, there is no sound in the failsafe session.
It's not a matter of settings, I copied the FF profile from openSuse to Devuan, the browser started with it, but again there was no sound.

In itself, this is not a problem for me, there are working alternatives to FF and install crutches in the form of pulse, etc. I won't.
  I'm interested in the fact itself

Regards.

Offline

#15 2023-11-09 21:18:47

zapper
Member
Registered: 2017-05-29
Posts: 723  

Re: Firefox no sound.

The fact that firefox requires pulseaudio, for sound is yet another sign their current web browser is crap.

I been using uxp web browsers again for this  reason alone.

Not to mention, firefox is an ugly monster since 57+

The old UI looked fine, the new one is fisher price eye candy.

But I digress, apulse as was said, does help you to bypass this problem.

I don't know if you can use firejail with apulse though and still load it though.


Black Lives Matter!  I am white, but I prefer equality over hatred.
Haughtiness comes before a fall, pride before destruction.
Peace be with you!
No one can serve two masters. Either you will hate the one and love the other, or you will be devoted to the one and despise the other. You cannot serve both God and mammon!

Offline

#16 2023-11-10 09:26:29

aluma
Member
Registered: 2022-10-26
Posts: 240  

Re: Firefox no sound.

Report about apulse in the middle of the thread.

Offline

#17 2023-11-14 21:29:41

fanderal
Member
Registered: 2017-01-14
Posts: 47  

Re: Firefox no sound.

aluma wrote:

I copied the FF profile from openSuse to Devuan

That may be the problem. I did the same from one OS to another. Resolved it when I set the copied .mozilla directory to old and started fresh.

Offline

#18 2023-11-26 19:41:42

The-Amnesiac-Philosopher
Member
Registered: 2023-08-24
Posts: 63  

Re: Firefox no sound.

golinux wrote:

/me doesn't often have to block an avatar . . .

I tried to squash that gnat 3 times before I figured out it was an avatar...

tongue big_smile

Offline

#19 2023-11-28 19:47:32

zapper
Member
Registered: 2017-05-29
Posts: 723  

Re: Firefox no sound.

aluma wrote:

Report about apulse in the middle of the thread.

Yes, I was affirming that as the solution, not pulsecrap or pipecrap.


Black Lives Matter!  I am white, but I prefer equality over hatred.
Haughtiness comes before a fall, pride before destruction.
Peace be with you!
No one can serve two masters. Either you will hate the one and love the other, or you will be devoted to the one and despise the other. You cannot serve both God and mammon!

Offline

Board footer