View previous topic :: View next topic |
Author |
Message |
Shaorin n00b
Joined: 26 Aug 2020 Posts: 23 Location: Sweden
|
Posted: Tue Oct 26, 2021 3:04 am Post subject: |
|
|
NeddySeagoon wrote: | turtles,
I only have ALSA.
I believe that firefox-bin needs pulse but home made firefox works with alsa here. |
yes you are right. FF stopped supporting ALSA from version 53 thats what the wiki says. but i think i removed the pulseaudio form the -bin and it still worked.
im not 100% and if it did it was like 10-12 months ago. and i think something has happen an update or something so it might not work now.
but i do complie firefox myself now. i was scared at first for i thought it would take 20 hours like with chrome stuff. but it only took 45 min notmpfs and -j4 on my i7 7700 _________________ sorry if i makes some typos or missunderstand i have dyslexsia and asperger's syndrom thanks for the understanding. |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1657
|
Posted: Tue Oct 26, 2021 5:26 pm Post subject: |
|
|
Just out of curiosity do either of you use google voice or any other web based VIOP in your firefox/ALSA setups? _________________ Donate to Gentoo |
|
Back to top |
|
|
Shaorin n00b
Joined: 26 Aug 2020 Posts: 23 Location: Sweden
|
Posted: Tue Oct 26, 2021 5:36 pm Post subject: |
|
|
no i have used Jitsi, matrix and discord in the borwser
for talking with other people. _________________ sorry if i makes some typos or missunderstand i have dyslexsia and asperger's syndrom thanks for the understanding. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Tue Oct 26, 2021 6:09 pm Post subject: |
|
|
turtles,
I tried to use MS Teams once but all I get is dmesg: | [37711.136841] traps: ThreadPoolForeg[10829] trap invalid opcode ip:565449e176d3 sp:7fe3b7bd83f0 error:0 in teams[5654494e9000+5fc7000] |
Its an evil binary blob, so Meh. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1657
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Wed Dec 15, 2021 4:11 am Post subject: |
|
|
I've found Google Voice works normally with firefox and firefox-bin on my alsa only system. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1657
|
|
Back to top |
|
|
Shaorin n00b
Joined: 26 Aug 2020 Posts: 23 Location: Sweden
|
Posted: Sat Dec 18, 2021 10:06 am Post subject: |
|
|
oo i see.
yea teir-2 sounds better,
i do compile firefox-ESR it works fine for me.
im not sure if voice and so on work as it should without apluse.
but i mostly listen to music and so on and use the discord-bin for that, that needs apulse though. but it seems work fine.
still need to do some more soft fixes to setup groups to use a softlevel audio limiter.
then i can have fake audio control and have it set to diffrent levels and just start the package that way,
i did look atlittle on but not tried it yet it. its abit of a hack fix as my friend told me but it should do the job.
i have been on windows alot lately sense i did start to play a game that needs it sadly.
maybe i should install gentoo on my 2014 laptop hhhh and have that to play around with for i really do miss linux in my life.
there are some stuff i do that really needs linux due to the bad supposrt windows has for older software-
but nice to hear it has some kind of support though ALSA is not forgetten even though its only teir-3
maybe they put it to teir-3 for its not to much they care about as in with there time...
so if its teir-3 they have a feeling that most of the patches will be really good quality and dont need as much time to look and check for bad code.
its only my guess i can buy it. but i dont know if its really works like that.
if not please correct me im allways intressted in learning more things _________________ sorry if i makes some typos or missunderstand i have dyslexsia and asperger's syndrom thanks for the understanding. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Sat Dec 18, 2021 2:20 pm Post subject: |
|
|
Yes, apulse is needed. No problem. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1657
|
Posted: Sun Dec 19, 2021 12:18 am Post subject: |
|
|
I think if you run apluse, then your using firefox's pluseaudio backend.
To test firefox in pure ALSA mode you would need a different configuration, I think....
Shaorin wrote: | oo i see.
maybe they put it to teir-3 for its not to much they care about as in with there time...
|
Yeah firefox has a setting called "send technical information to mozilla" or something like that
that I think is disabled by default on Gentoo.
If enabled it says "Firefox sends data about your Firefox version and language; device operating system and hardware configuration"
https://www.mozilla.org/en-US/privacy/firefox/#health-report
For some reason they were using the statistics from this to see what sound setups people used.
I dont know if Ubuntu or redhat or ? distro enables this by default
but it gives them the impression that nobody uses ALSA only systems.
And by ALSA only I mean no apluse. _________________ Donate to Gentoo |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Sun Dec 19, 2021 3:08 am Post subject: |
|
|
turtles: Is there a reference for all that or do you have special knowledge? All I know is that it works and I don't have to fuss with it. It worked with firefox and it works with firefox-bin. It works so well that it's a joy to use. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1657
|
Posted: Mon Dec 20, 2021 1:11 am Post subject: |
|
|
figueroa wrote: | turtles: Is there a reference for all that or do you have special knowledge? |
Just reading the source.
Firefox's audio libraries are called Cubeb:
https://github.com/mozilla/cubeb#readme
It has a ALSA, Jack, Pulseaudio and many other backends you can see them here:
https://github.com/mozilla/cubeb/wiki/Backend-Support
There are at least 3 combinations of installs / use flags related to this isue:
- If you use firefox-bin, look at the ebuild for firefox-bin
it does this:
Code: | CDEPEND="alsa? (
!pulseaudio? (
media-sound/apulse
)
)" |
So if you use firefox-bin no matter what USE flag you choose your using its 'pulseaudio' Cubeb backend.
Even if you have Code: | USE="alsa -pulseaudio" |
Building firefox from source, If you already have installed media-sound/apulse with USE=sdk, then build firefox with USE="pulseaudio", you will be using
the 'pulseaudio' Cubeb backend in firefox, and the media-sound/apulse provides the missing 'pluseaudio' components.
And pulseaudio does not get installed on your system.
If you build firefox from source with -pluseaudio then the ebuild does this:
Code: | # force the deprecated alsa sound code if pulseaudio is disabled
if use kernel_linux && ! use pulseaudio ; then
mozconfig_add_options_ac '-pulseaudio' --enable-alsa
fi |
Only in this case#3 are you truly using a pure ALSA Cubeb backend in firefox.
And only these folks are testing the ALSA backend for bugs.
Links:
https://forums.gentoo.org/viewtopic-p-8453092.html#8453092
https://bugzilla.mozilla.org/show_bug.cgi?id=1624110
https://blog.mozilla.org/webrtc/firefoxs-audio-backend/
https://github.com/i-rinat/apulse
figueroa wrote: |
All I know is that it works and I don't have to fuss with it. It worked with firefox and it works with firefox-bin. It works so well that it's a joy to use. |
Well that's what is most important.
_________________ Donate to Gentoo |
|
Back to top |
|
|
Shaorin n00b
Joined: 26 Aug 2020 Posts: 23 Location: Sweden
|
Posted: Mon Dec 20, 2021 3:09 am Post subject: |
|
|
turtles wrote: | I think if you run apluse, then your using firefox's pluseaudio backend.
To test firefox in pure ALSA mode you would need a different configuration, I think....
Shaorin wrote: | oo i see.
maybe they put it to teir-3 for its not to much they care about as in with there time...
|
Yeah firefox has a setting called "send technical information to mozilla" or something like that
that I think is disabled by default on Gentoo.
If enabled it says "Firefox sends data about your Firefox version and language; device operating system and hardware configuration"
https://www.mozilla.org/en-US/privacy/firefox/#health-report
For some reason they were using the statistics from this to see what sound setups people used.
I dont know if Ubuntu or redhat or ? distro enables this by default
but it gives them the impression that nobody uses ALSA only systems.
And by ALSA only I mean no apluse. |
when i said firefox works with ALSA i mean with no apulse,
i only and only use apulse so i can speak and hear on discord. but if i dont have it it cant see any audio devices.
and it if i want to and dont use wine or proton like any gameing.
then i can use JACK to pipe the sound deivces to firefox when im in a call and still be able to speak.
but when i open JACK all my wine software stops working. for its like the JACK takes the sound devices and hide it from wine.
i thought wine had a JACK useflag but it does not... weirdly i do have jack flag in my make.conf
so this is the reason i use apulse. _________________ sorry if i makes some typos or missunderstand i have dyslexsia and asperger's syndrom thanks for the understanding. |
|
Back to top |
|
|
Shaorin n00b
Joined: 26 Aug 2020 Posts: 23 Location: Sweden
|
Posted: Mon Dec 20, 2021 3:13 am Post subject: |
|
|
[quote="
- If you use firefox-bin, look at the ebuild for firefox-bin
it does this:
Code: | CDEPEND="alsa? (
!pulseaudio? (
media-sound/apulse
)
)" |
So if you use firefox-bin no matter what USE flag you choose your using its 'pulseaudio' Cubeb backend.
Even if you have Code: | USE="alsa -pulseaudio" |
Building firefox from source, If you already have installed media-sound/apulse with USE=sdk, then build firefox with USE="pulseaudio", you will be using
the 'pulseaudio' Cubeb backend in firefox, and the media-sound/apulse provides the missing 'pluseaudio' components.
And pulseaudio does not get installed on your system.
If you build firefox from source with -pluseaudio then the ebuild does this:
Code: | # force the deprecated alsa sound code if pulseaudio is disabled
if use kernel_linux && ! use pulseaudio ; then
mozconfig_add_options_ac '-pulseaudio' --enable-alsa
fi |
Only in this case#3 are you truly using a pure ALSA Cubeb backend in firefox.
And only these folks are testing the ALSA backend for bugs.
[/quote]
oo thanks i will look. i dont think have any of the sdk useflags i know i only support alsa on my system in the make.conf
but i think apulse dont have any useflags at all.
and even if i unmerge it i still have sound on firefox so i guess it dont use that backend for me.
but its intressting good to keep in mind. _________________ sorry if i makes some typos or missunderstand i have dyslexsia and asperger's syndrom thanks for the understanding. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Mon Dec 20, 2021 3:21 am Post subject: |
|
|
turtles wrote: | ...
Just reading the source.
... |
Thank you for the very informative reply. It's fairly useless for me to pretend to read source code. I have extraordinary limited programing knowledge and abilities, though I'm experienced in shell scripting. I appreciate those of you who can do that. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
|