Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Firefox no sound without PulseAudio
@ 2021-12-17 22:26 notramo
  2021-12-18 14:53 ` mvf
                   ` (29 more replies)
  0 siblings, 30 replies; 31+ messages in thread
From: notramo @ 2021-12-17 22:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

New issue by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596

Description:
### System

* xuname:  
`Void 5.15.5_1 x86_64-musl GenuineIntel uptodate rFF`
* package:  
`firefox`

### Expected behavior
Firefox can play audio even without PulseAudio.

### Actual behavior
No web content can play any audio.

### Steps to reproduce the behavior
1. Install Firefox but not PulseAudio
2. Open a webpage (or video/audio file) which plays sound
3. No sound


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
@ 2021-12-18 14:53 ` mvf
  2021-12-20 10:50 ` biopsin
                   ` (28 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: mvf @ 2021-12-18 14:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

New comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-997213388

Comment:
Works for me on `firefox-95.0.1_1` (glibc). You could try something like this:
```
$ strace -f -e open,openat firefox 2>&1 | grep /dev/snd
```
Might tell you what goes wrong when trying to open the ALSA device(s).

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
  2021-12-18 14:53 ` mvf
@ 2021-12-20 10:50 ` biopsin
  2021-12-20 10:52 ` biopsin
                   ` (27 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: biopsin @ 2021-12-20 10:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-997812051

Comment:
@notramo can you test with a /etc/asound.conf or ~/.asound.conf
`$ aplay -l `and insert your output card number into either file

```
defaults.pcm.card 1;
defaults.ctl.card 1;
```
then `sudo alsactl store && sudo alsactl restore`

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
  2021-12-18 14:53 ` mvf
  2021-12-20 10:50 ` biopsin
@ 2021-12-20 10:52 ` biopsin
  2021-12-20 10:52 ` biopsin
                   ` (26 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: biopsin @ 2021-12-20 10:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-997812051

Comment:
@notramo can you test with a /etc/asound.conf or ~/.asoundrc
`$ aplay -l `and insert your output card number into either file

```
defaults.pcm.card 1;
defaults.ctl.card 1;
```
then `sudo alsactl store && sudo alsactl restore`

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (2 preceding siblings ...)
  2021-12-20 10:52 ` biopsin
@ 2021-12-20 10:52 ` biopsin
  2022-01-23 10:52 ` ErinVoid
                   ` (25 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: biopsin @ 2021-12-20 10:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-997812051

Comment:
@notramo can you test with a /etc/asound.conf or ~/.asoundrc
`$ aplay -l `and insert your output card number into either file

```
defaults.pcm.card 1;
defaults.ctl.card 1;
```
then `sudo alsactl store && sudo alsactl restore`
Edit: typo

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (3 preceding siblings ...)
  2021-12-20 10:52 ` biopsin
@ 2022-01-23 10:52 ` ErinVoid
  2022-01-24 18:38 ` paper42
                   ` (24 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: ErinVoid @ 2022-01-23 10:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

New comment by ErinVoid on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1019458771

Comment:
Confirm Firefox, ESR and not, work well with Alsa only.  Tweaking asound is required with some sound cards

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [ISSUE] [CLOSED] Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (5 preceding siblings ...)
  2022-01-24 18:38 ` paper42
@ 2022-01-24 18:38 ` paper42
  2022-07-15  9:22 ` notramo
                   ` (22 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-01-24 18:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 538 bytes --]

Closed issue by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596

Description:
### System

* xuname:  
`Void 5.15.5_1 x86_64-musl GenuineIntel uptodate rFF`
happens on also glibc
* package:  
`firefox`

### Expected behavior
Firefox can play audio even without PulseAudio.

### Actual behavior
No web content can play any audio.

### Steps to reproduce the behavior
1. Install Firefox but not PulseAudio
2. Open a webpage (or video/audio file) which plays sound
3. No sound


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (4 preceding siblings ...)
  2022-01-23 10:52 ` ErinVoid
@ 2022-01-24 18:38 ` paper42
  2022-01-24 18:38 ` [ISSUE] [CLOSED] " paper42
                   ` (23 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-01-24 18:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1020419492

Comment:
It seems like nobody is able to reproduce this issue and the issue author is not answering questions.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (6 preceding siblings ...)
  2022-01-24 18:38 ` [ISSUE] [CLOSED] " paper42
@ 2022-07-15  9:22 ` notramo
  2022-07-15  9:23 ` notramo
                   ` (21 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-07-15  9:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1185354032

Comment:
@paper42 could you reopen? I looked into this.


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (7 preceding siblings ...)
  2022-07-15  9:22 ` notramo
@ 2022-07-15  9:23 ` notramo
  2022-07-15  9:25 ` notramo
                   ` (20 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-07-15  9:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1185354651

Comment:
> Works for me on `firefox-95.0.1_1` (glibc). You could try something like this:
> 
> ```
> $ strace -f -e open,openat firefox 2>&1 | grep /dev/snd
> ```
> 
> Might tell you what goes wrong when trying to open the ALSA device(s).

It doesn't print anything. No output in terminal.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (8 preceding siblings ...)
  2022-07-15  9:23 ` notramo
@ 2022-07-15  9:25 ` notramo
  2022-07-15  9:33 ` notramo
                   ` (19 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-07-15  9:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1185356143

Comment:
> @notramo can you test with a /etc/asound.conf or ~/.asoundrc `$ aplay -l `and insert your output card number into either file
> 
> ```
> defaults.pcm.card 1;
> defaults.ctl.card 1;
> ```
> 
> then `sudo alsactl store && sudo alsactl restore` Edit: typo

I substituted 1 with 0, and put this snippet in /etc/asound.conf
Doesn't work.
Output of `aplay -l`:
```
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
```

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (9 preceding siblings ...)
  2022-07-15  9:25 ` notramo
@ 2022-07-15  9:33 ` notramo
  2022-07-15  9:34 ` notramo
                   ` (18 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-07-15  9:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1185363106

Comment:
Maybe it can help that Element Desktop doesn't have sound either.
But everything other works fine (QMplay2, VLC, Sox play, etc.).

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (10 preceding siblings ...)
  2022-07-15  9:33 ` notramo
@ 2022-07-15  9:34 ` notramo
  2022-07-15 16:54 ` mvf
                   ` (17 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-07-15  9:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1185363106

Comment:
Maybe it can help that Element Desktop doesn't have sound either.
But everything other works fine (QMplay2, VLC, Sox play, etc.). These work with no configuration (no /etc/asound.conf or .asoundrc).

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (11 preceding siblings ...)
  2022-07-15  9:34 ` notramo
@ 2022-07-15 16:54 ` mvf
  2022-07-15 18:15 ` Duncaen
                   ` (16 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: mvf @ 2022-07-15 16:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

New comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1185725886

Comment:
> > ```
> > $ strace -f -e open,openat firefox 2>&1 | grep /dev/snd
> 
> It doesn't print anything. No output in terminal.

Sorry, should have mentioned: You have to actually let Firefox try to play audio while running under `strace`.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (12 preceding siblings ...)
  2022-07-15 16:54 ` mvf
@ 2022-07-15 18:15 ` Duncaen
  2022-07-19 20:57 ` notramo
                   ` (15 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-07-15 18:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1185786441

Comment:
Its not supported upstream and generally works, I don't think we need to debug unsupported audio setups for you, this is most likely related to not using dmix and the alsa hardware device being locked to some random audio stream that opens the device first.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (13 preceding siblings ...)
  2022-07-15 18:15 ` Duncaen
@ 2022-07-19 20:57 ` notramo
  2022-07-19 20:57 ` notramo
                   ` (14 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-07-19 20:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1189542738

Comment:
@Duncaen Could you link where upstream mentions that ALSA is not supported? I thought Cubeb was made for supporting multiple audio systems.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (14 preceding siblings ...)
  2022-07-19 20:57 ` notramo
@ 2022-07-19 20:57 ` notramo
  2022-07-19 21:17 ` Duncaen
                   ` (13 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-07-19 20:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1189543231

Comment:
> Sorry, should have mentioned: You have to actually let Firefox try to play audio while running under `strace`.

I tried to open sound files, but playback is stuck at 0:00.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (15 preceding siblings ...)
  2022-07-19 20:57 ` notramo
@ 2022-07-19 21:17 ` Duncaen
  2022-07-19 21:17 ` Duncaen
                   ` (12 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-07-19 21:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1189559492

Comment:
https://bugzilla.mozilla.org/show_bug.cgi?id=1345661

Audio in firefox is a little more complicated than just the cubeb backend due to sand boxing and having separate content processes. Mozilla disabled alsa support a long time ago and basically said that they don't support it any further, there are still people who afterwards contributed patches to make it work and they landed upstream. But I fully understand why they don't support it, the alsa user experience and the api in general is simply not user friendly and doesn't work out of the box for most users.

I would suggest you to use a sound server, like pulse or pipewire, if you still want to use alsa for some reason, look up how to debug libcubeb and how to debug sandbox issues in firefox, both have their own environment variables for more verbose logging.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (16 preceding siblings ...)
  2022-07-19 21:17 ` Duncaen
@ 2022-07-19 21:17 ` Duncaen
  2022-07-19 21:19 ` Duncaen
                   ` (11 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-07-19 21:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1189559492

Comment:
https://bugzilla.mozilla.org/show_bug.cgi?id=1345661

Audio in firefox is a little more complicated than just the cubeb backend due to sandboxing and having separate content processes. Mozilla disabled alsa support a long time ago and basically said that they don't support it any further, there are still people who afterwards contributed patches to make it work and they landed upstream. But I fully understand why they don't support it, the alsa user experience and the api in general is simply not user friendly and doesn't work out of the box for most users.

I would suggest you to use a sound server, like pulse or pipewire, if you still want to use alsa for some reason, look up how to debug libcubeb and how to debug sandbox issues in firefox, both have their own environment variables for more verbose logging.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (17 preceding siblings ...)
  2022-07-19 21:17 ` Duncaen
@ 2022-07-19 21:19 ` Duncaen
  2022-07-19 21:21 ` Duncaen
                   ` (10 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-07-19 21:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1189559492

Comment:
https://bugzilla.mozilla.org/show_bug.cgi?id=1345661

Audio in firefox is a little more complicated than just the cubeb backend due to sandboxing and having separate content processes. Mozilla disabled alsa support a long time ago and basically said that they don't support it any further, there are still people who afterwards contributed patches to make it work and they landed upstream. But I fully understand why they don't support it, the alsa user experience and the api in general is simply not user friendly and doesn't work out of the box for most users.

I would suggest you to use a sound server, like pulse or pipewire, if you still want to use alsa for some reason, look up how to debug libcubeb and how to debug sandbox issues in firefox, both have their own environment variables for more verbose logging. (After you get your basic alsa setup working, I still think this is due to your setup neither support software nor hardware mixing and there is simply one random process/program locking the alsa device at a time.)

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (18 preceding siblings ...)
  2022-07-19 21:19 ` Duncaen
@ 2022-07-19 21:21 ` Duncaen
  2022-07-19 21:22 ` [ISSUE] [CLOSED] " Duncaen
                   ` (9 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-07-19 21:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1189559492

Comment:
https://bugzilla.mozilla.org/show_bug.cgi?id=1345661

Audio in firefox is a little more complicated than just the cubeb backend due to sandboxing and having separate content processes. Mozilla disabled alsa support a long time ago and basically said that they don't support it any further, there are still people who afterwards contributed patches to make it work and they landed upstream. But I fully understand why they don't support it, the alsa user experience and the api in general is simply not user friendly and doesn't work out of the box for most users.

I would suggest you to use a sound server, like pulse or pipewire, if you still want to use alsa for some reason, look up how to debug libcubeb and how to debug sandbox issues in firefox, both have their own environment variables for more verbose logging. (After you get your basic alsa setup working, I still think this is due to your setup neither supporting software nor hardware mixing and there is simply one random process/program locking the alsa device at a time.)

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [ISSUE] [CLOSED] Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (19 preceding siblings ...)
  2022-07-19 21:21 ` Duncaen
@ 2022-07-19 21:22 ` Duncaen
  2022-08-21 18:53 ` notramo
                   ` (8 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-07-19 21:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 538 bytes --]

Closed issue by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596

Description:
### System

* xuname:  
`Void 5.15.5_1 x86_64-musl GenuineIntel uptodate rFF`
happens on also glibc
* package:  
`firefox`

### Expected behavior
Firefox can play audio even without PulseAudio.

### Actual behavior
No web content can play any audio.

### Steps to reproduce the behavior
1. Install Firefox but not PulseAudio
2. Open a webpage (or video/audio file) which plays sound
3. No sound


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (20 preceding siblings ...)
  2022-07-19 21:22 ` [ISSUE] [CLOSED] " Duncaen
@ 2022-08-21 18:53 ` notramo
  2022-08-21 19:09 ` Duncaen
                   ` (7 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-08-21 18:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221601293

Comment:
In case someone runs into this, I have found a simpler solution.
1. Install and start `sndiod`
2. Firefox will automatically use it
3. If the sndio ALSA plugin is not installed, then the other apps will still use ALSA.
4. Only problem is that it can't play audio from multiple apps simultaneously if your card doesn't support mixing (but this is a problem with pure ALSA too). Also, if the sound card was used by another app at the time Firefox wants to play audio, you have to restart Firefox (closing the other app is not enough).

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (21 preceding siblings ...)
  2022-08-21 18:53 ` notramo
@ 2022-08-21 19:09 ` Duncaen
  2022-08-21 19:09 ` Duncaen
                   ` (6 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-08-21 19:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221603783

Comment:
You shouldn't be using alsa-sndio regularly, I wrote it 5 years ago it doesn't work well, especially not when you need audio/video synchornization and is basically unmaintained. It will never work correctly because the alsa plugin api does not provide functionality to actually match the buffer negotiation with sndio.

Its really not worth the trouble, just use a well supported sound server to avoid unnecessary headaches/troubles.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (22 preceding siblings ...)
  2022-08-21 19:09 ` Duncaen
@ 2022-08-21 19:09 ` Duncaen
  2022-08-21 19:10 ` Duncaen
                   ` (5 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-08-21 19:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221603783

Comment:
You shouldn't be using alsa-sndio regularly, I wrote it 5 years ago and it doesn't work well, especially not when you need audio/video synchornization and is basically unmaintained. It will never work correctly because the alsa plugin api does not provide functionality to actually match the buffer negotiation with sndio.

Its really not worth the trouble, just use a well supported sound server to avoid unnecessary headaches/troubles.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (23 preceding siblings ...)
  2022-08-21 19:09 ` Duncaen
@ 2022-08-21 19:10 ` Duncaen
  2022-08-21 19:40 ` notramo
                   ` (4 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-08-21 19:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221603783

Comment:
You shouldn't be using alsa-sndio regularly, I wrote it 5 years ago and it doesn't work well, especially not when you need audio/video synchornization and is basically unmaintained. It will never work correctly because the alsa plugin api does not provide functionality to actually get matching buffers negotiated between the alsa plugin and sndiod.

Its really not worth the trouble, just use a well supported sound server to avoid unnecessary headaches/troubles.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (24 preceding siblings ...)
  2022-08-21 19:10 ` Duncaen
@ 2022-08-21 19:40 ` notramo
  2022-08-21 20:07 ` Duncaen
                   ` (3 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-08-21 19:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221608477

Comment:
I mean if sndio is installed, but **not** alsa-sndio, then Firefox uses sndio, everything other uses ALSA.
As sndiod only opens the card when Firefox is playing audio, then it's nearly the same experience as using pure ALSA.
I left these notes for advanced users who want pure ALSA, not Poettering™ sound server suckage.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (25 preceding siblings ...)
  2022-08-21 19:40 ` notramo
@ 2022-08-21 20:07 ` Duncaen
  2022-08-21 20:07 ` Duncaen
                   ` (2 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-08-21 20:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221612217

Comment:
"Poettering™ sound server suckage" works out of the box for 99% of linux users and they don't have to try to solve their actually broken setup for nearly a year. Comments like this just show why its not worth it to support unsupported setups, you just want the trouble for some weird superiority points.

Again, you shouldn't be using alsa-sndio, its not a solution, either you use sndiod by using software that supports it or you use sndio in firefox and basically break everything else that still uses alsa with alsa-sndio. 100% more broken than pulse or pipewire could ever be.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (26 preceding siblings ...)
  2022-08-21 20:07 ` Duncaen
@ 2022-08-21 20:07 ` Duncaen
  2022-08-21 20:27 ` notramo
  2022-08-21 20:28 ` notramo
  29 siblings, 0 replies; 31+ messages in thread
From: Duncaen @ 2022-08-21 20:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221612217

Comment:
"Poettering™ sound server suckage" works out of the box for 99% of linux users and they don't have to try to solve their actually broken setup for nearly a year. Comments like this just show why its not worth it to support unsupported setups, you just want the trouble for some weird superiority points.

Again, you shouldn't be using alsa-sndio, its not a solution, either you use sndio by using software that supports it or you use sndio only in firefox and basically break everything else that still uses alsa with alsa-sndio. 100% more broken than pulse or pipewire could ever be.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (27 preceding siblings ...)
  2022-08-21 20:07 ` Duncaen
@ 2022-08-21 20:27 ` notramo
  2022-08-21 20:28 ` notramo
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-08-21 20:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221615324

Comment:
I emphasize, I **don't have** `alsa-sndio` installed. It's not needed. Because the OpenBSD devs did it right: the sndiod daemon only opens the card when it plays audio, then it releases when audio playback is stopped. If you control the sound system through ALSA (e.g. volume control via `amixer`), then it's the same as if it were pure ALSA (except you have Firefox working too).
Basically what I did:
1. installed sndio
2. started sndiod
3. it just works like before, plus Firefox works too

I don't say everyone have to follow this configuration. I left these here for users who want minimalist setup. It's worth trying if someone wants this setup, and if it doesn't work, they can move on to other sound systems. It works for me, so it's possible that it will work for others.
I don't say anything from these instructions should be included in the packages or any packages should be changed, so it's pointless to debate.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Firefox no sound without PulseAudio
  2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
                   ` (28 preceding siblings ...)
  2022-08-21 20:27 ` notramo
@ 2022-08-21 20:28 ` notramo
  29 siblings, 0 replies; 31+ messages in thread
From: notramo @ 2022-08-21 20:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

New comment by notramo on void-packages repository

https://github.com/void-linux/void-packages/issues/34596#issuecomment-1221615324

Comment:
I emphasize, I **don't have** `alsa-sndio` installed. It's not needed. Because the OpenBSD devs did it right: the sndiod daemon only opens the card when it plays audio, then it releases when audio playback is stopped. If you control the sound system through ALSA (e.g. volume control via `amixer`), then it's the same as if it were pure ALSA (except you have Firefox working too).
Basically what I did:
1. installed sndio
2. started sndiod
3. it just works like before, plus Firefox works too

I don't say everyone have to follow this configuration. I left these here for users who want minimalist setup. It's worth trying if someone wants this setup, and if it doesn't work, they can move on to other sound systems. It works for me, so it's possible that it will work for others. I do not recommend it, but if someone likes it, they can try.
I don't say anything from these instructions should be included in the packages or any packages should be changed, so it's pointless to debate.

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2022-08-21 20:28 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 22:26 [ISSUE] Firefox no sound without PulseAudio notramo
2021-12-18 14:53 ` mvf
2021-12-20 10:50 ` biopsin
2021-12-20 10:52 ` biopsin
2021-12-20 10:52 ` biopsin
2022-01-23 10:52 ` ErinVoid
2022-01-24 18:38 ` paper42
2022-01-24 18:38 ` [ISSUE] [CLOSED] " paper42
2022-07-15  9:22 ` notramo
2022-07-15  9:23 ` notramo
2022-07-15  9:25 ` notramo
2022-07-15  9:33 ` notramo
2022-07-15  9:34 ` notramo
2022-07-15 16:54 ` mvf
2022-07-15 18:15 ` Duncaen
2022-07-19 20:57 ` notramo
2022-07-19 20:57 ` notramo
2022-07-19 21:17 ` Duncaen
2022-07-19 21:17 ` Duncaen
2022-07-19 21:19 ` Duncaen
2022-07-19 21:21 ` Duncaen
2022-07-19 21:22 ` [ISSUE] [CLOSED] " Duncaen
2022-08-21 18:53 ` notramo
2022-08-21 19:09 ` Duncaen
2022-08-21 19:09 ` Duncaen
2022-08-21 19:10 ` Duncaen
2022-08-21 19:40 ` notramo
2022-08-21 20:07 ` Duncaen
2022-08-21 20:07 ` Duncaen
2022-08-21 20:27 ` notramo
2022-08-21 20:28 ` notramo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).