Nope. Without PA firefox fallsback to audio/alsa-libThis seems to be a wrong assumption, it does pretty well without ALSA which is not installed on my system at all.
Nope. Without PA firefox fallsback to audio/alsa-libThis seems to be a wrong assumption, it does pretty well without ALSA which is not installed on my system at all.
Nobody has explained to me yet how this is possible, but the fact is: I have www/firefox compiled with PA support (no ALSA), but I have neither audio/pulseaudio nor alsa-libs, nor pulseaudio-libs installed. Cleaned them all up for the sake of experiment a year ago, because I had problems making it work WITH audio/pulseaudio installed. Which I have posted here, too...Yes, it has a couple of advantages:
- It works, even when software drops OSS-Support
- License
- It has network features
- It doesn't mess up with multiple audio outputs
I am confused about your audio working though, as in there being no "go without" option if that works. As far as I know that should have stopped working recently, but maybe I am mistaken.
So you mean it is in the ports anyway, right?Patch is supplied to the port, so package already has it. That's why Firefox can work with OSS directly.
As there is no WebRTC solution [yet], port doesn't have OSS option officially.
[1/1] Installing sndio-1.2.0_2...
===> Creating groups.
Using existing group '_sndio'.
===> Creating users
Creating user '_sndio' with uid '702'.
pw: user '_sndio' disappeared during update
pkg: PRE-INSTALL script failed
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
55505 user 32 29 0 1733M 303M select 1 0:15 8.18% firefox
55477 user 51 20 0 1748M 270M select 0 0:07 3.15% firefox
58502 user 1 21 0 12442M 36840K select 1 0:17 1.86% Xorg
85679 user 13 52 0 574M 94324K sigwai 0 1:13 0.29% vlc
58522 user 1 20 0 115M 10816K select 0 0:04 0.09% urxvtd
Yes, that's most likely it. Press A in top to see the whole command. It's usually giving you a hint on what it is used for. If you somehow use Flash instead of HTML5 or any kind of plugins, those usually are also in a separate process. Should be pretty independent of sound related stuff.OK, looks like this last version (just updated) runs 2 instances regardless of whether it's SNDIO or PA.
Is it because of this?
Well I gave up on Flash plugin a while ago, and firefox does HTML5 quite well.Yes, that's most likely it. Press A in top to see the whole command. It's usually giving you a hint on what it is used for. If you somehow use Flash instead of HTML5 or any kind of plugins, those usually are also in a separate process. Should be pretty independent of sound related stuff.
Well, I don't quite get it from the man page how I can manipulate output volume for, say, HTML5 video in firefox. And there IS such need, because when I play it in firefox with sndiod started, the sound it certainly lower. Then there must be ways to adjust that, I figure.Depending on what you want to achieve the -v flag might be your friend.
Sorry, I don't really know of any bigger tutorials and just rely on the man page.
Well, I don't quite get it from the man page how I can manipulate output volume for, say, HTML5 video in firefox. And there IS such need, because when I play it in firefox with sndiod started, the sound it certainly lower. Then there must be ways to adjust that, I figure.
sysctl hw.snd.vpc_0db = [I]10[/I]
Why do we need sndio at all? OSS just works.
Everything.what's wrong with pulseaudio?
Everything.
A lot of GNU and Linux does that. GCC forced every dependency not related to compiling for a port, so it takes 18 hours to compile it. When if you can switch over to Clang, it can take 2 minutes to 2 hours to compile that same port. It is as if Linux tries to reinstall a whole operating system around a port, and instead of fixing, they just keep adding duplications of the same types of software. They fixed much of that problem for GCC on FreeBSD, but still GNU/Linuxisms on FreeBSD add duplicate software for no reason except to use a couple of libraries. I used to compile a program on an old computer for a Linux distribution, and now I wonder how much time was needlessly wasted, waiting, and hoping I chose the correct options to make a standardized install for one program every time. What a waste of time and electricity. Port maintainers' tasks would be so much easier without that useless gunk.@ poorandunlucky
I wanted to omit that as I probably stated that many times, and I consider it a waste of time, especially because its very 'negative'.
While FreeBSD has in kernel mixing of channels (up to 256 if I recall correctly) with OSS4, with low latency, in kernel space, Linux on the other hand some time ago BEFORE PulseAudio had ONE OSS channel (which often was blocked by WINE) and many ALSA channels. That worked until some app 'blocked' the OSS channel and then another app wanted to use OSS channel. In other words, a typical Linux mess.
Then PulseAudio from the great Lennart Poettering happened and it happened hard. I used Ubuntu for about a year because FreeBSD was not up to the task of supporting Intel G965 chipset with X3000 GMA Intel graphics adapter (only deadly slow vesa was possible), so I moved 'temporary' to Ubuntu to wait for its support in the FreeBSD land. Why Ubuntu and not CentOS? or why not Gentoo? I used Slackware and Gentoo in the past and these two bring me to the FreeBSD land, so I wanted to check a 'desktop' distro for the first time, and as Ubuntu was the most popular at the time, I decided to jump in.
This Ubuntu came with PulseAudio, not with the first version, PulseAudio was available for quite some time before that Ubuntu release. I did not used any 'strange' audio setup, just output to 2 speakers via typical mini jack output. As this was desktop I did not powered it off as I did not have such need, but PulseAudio forced me to periodic reboots. The whole audio on that Ubuntu Linux hanged hard after about a day of typical desktop usage, sometimes after two days, sometimes after half a day. No reload of services or even kernel modules (alsa) helped to gain the sound back, I was forced to hard reboot because of that PulseAudio shit. The strange thing is that the whole rest of the system just worked, I could do all other operations without a problem, but sound stopped with some jerky noice and thats it. As I used this Ubuntu for about a year I regularly applied updates with hope to fix this issue, but after more then a year it was not fixed. I came back to FreeBSD then and never looked back, but as I see more and more projects (Firefox/Chrome) force this shit (PulseAudio) into the FreeBSD ecosystem it drives mu nuts.
My opinion may be biased on 'this single system' but its not only my opinion. I am very disappointed that You did not seek for that yourself ... as everything that this moron Poettering does is just pure shit.
The PulseAudio basically did what Microsoft did with Windows Vista in audio subsystem, they moved it altogether into user space, which increases latency a lot and provides a lot of unneeded copying between kernel space and user space. Then as PulseAudio being merged into distros all the fault has been 'transferred' to 'buggy' ALSA drivers or other subsystems, it was NEVER the PulseAudio fault which is total bullshit because audio worked quite stable before PulseAudio and stopped working reliably after it has been merged.
How big the PulseAudio shit is is also visible on how big shit the other projects of Lennart are, like avahi or systemd. What is even more 'frustrating' that this moron without any sysadmin experience introduced this systemd shit because he wanted his laptop to boot faster (lack of words)
@ poorandunlucky
I wanted to omit that as I probably stated that many times, and I consider it a waste of time, especially because its very 'negative'.
While FreeBSD has in kernel mixing of channels (up to 256 if I recall correctly) with OSS4, with low latency, in kernel space, Linux on the other hand some time ago BEFORE PulseAudio had ONE OSS channel (which often was blocked by WINE) and many ALSA channels. That worked until some app 'blocked' the OSS channel and then another app wanted to use OSS channel. In other words, a typical Linux mess.
Then PulseAudio from the great Lennart Poettering happened and it happened hard. I used Ubuntu for about a year because FreeBSD was not up to the task of supporting Intel G965 chipset with X3000 GMA Intel graphics adapter (only deadly slow vesa was possible), so I moved 'temporary' to Ubuntu to wait for its support in the FreeBSD land. Why Ubuntu and not CentOS? or why not Gentoo? I used Slackware and Gentoo in the past and these two bring me to the FreeBSD land, so I wanted to check a 'desktop' distro for the first time, and as Ubuntu was the most popular at the time, I decided to jump in.
This Ubuntu came with PulseAudio, not with the first version, PulseAudio was available for quite some time before that Ubuntu release. I did not used any 'strange' audio setup, just output to 2 speakers via typical mini jack output. As this was desktop I did not powered it off as I did not have such need, but PulseAudio forced me to periodic reboots. The whole audio on that Ubuntu Linux hanged hard after about a day of typical desktop usage, sometimes after two days, sometimes after half a day. No reload of services or even kernel modules (alsa) helped to gain the sound back, I was forced to hard reboot because of that PulseAudio shit. The strange thing is that the whole rest of the system just worked, I could do all other operations without a problem, but sound stopped with some jerky noice and thats it. As I used this Ubuntu for about a year I regularly applied updates with hope to fix this issue, but after more then a year it was not fixed. I came back to FreeBSD then and never looked back, but as I see more and more projects (Firefox/Chrome) force this shit (PulseAudio) into the FreeBSD ecosystem it drives mu nuts.
My opinion may be biased on 'this single system' but its not only my opinion. I am very disappointed that You did not seek for that yourself ... as everything that this moron Poettering does is just pure shit.
The PulseAudio basically did what Microsoft did with Windows Vista in audio subsystem, they moved it altogether into user space, which increases latency a lot and provides a lot of unneeded copying between kernel space and user space. Then as PulseAudio being merged into distros all the fault has been 'transferred' to 'buggy' ALSA drivers or other subsystems, it was NEVER the PulseAudio fault which is total bullshit because audio worked quite stable before PulseAudio and stopped working reliably after it has been merged.
How big the PulseAudio shit is is also visible on how big shit the other projects of Lennart are, like avahi or systemd. What is even more 'frustrating' that this moron without any sysadmin experience introduced this systemd shit because he wanted his laptop to boot faster (lack of words), here is a snipped from some old interview with him about that:
https://twitter.com/unixtippse/status/854740233077837824/photo/1
About the PulseAudio itself, just google for this: pulseaudio shit or pulseaudio problem
You will find tons of information why I typed just one word 'Everything.' ... I will just put some of them here because I do not want to type all this stuff here by hand while its already available elsewhere.
https://www.reddit.com/r/linux/comments/4icp1a/pulseaudio_is_a_toilet_full_of_roses/
https://voat.co/v/Linux/2056902
https://bbs.archlinux.org/viewtopic.php?id=183816
https://eksith.wordpress.com/tag/pulseaudio/
https://www.ibm.com/developerworks/...t_the_f_up_on_official_mailing_list51?lang=en
https://wyldeplayground.net/pulseaudio-cracking-sound-problem/
https://groups.google.com/forum/#!topic/microsoft.public.windows.vista.general/Y-v7VyHyySs
http://judecnelson.blogspot.com/2014/09/systemd-biggest-fallacies.html
https://ewontfix.com/15/
I added some systemd link because of someone does not learn on earlier projects (avahi / pulseaudio) and still creates shit instead of software (systemd) then this shows best how great PulseAudio really is.
Regards,
vermaden
Well, in Linux I personally didn't have any problems with pulseaudio.Well, I can't see that it's any more or less quirky than everything else so far, or any less inclined to "just work" even if not properly or not in the best manner right out of the box (who's to say what's out of the box, or what the box is, really, though), but I'll keep an eye out... Thanks...
Yea, it was systemd that finally made me jump ship, he-he. But I have hardly any reasons to complain, since I'm FAR better off with FreeBSD than I EVER was with Linux.@ poorandunlucky
I wanted to omit that as I probably stated that many times, and I consider it a waste of time, especially because its very 'negative'.
While FreeBSD has in kernel mixing of channels (up to 256 if I recall correctly) with OSS4, with low latency, in kernel space, Linux on the other hand some time ago BEFORE PulseAudio had ONE OSS channel (which often was blocked by WINE) and many ALSA channels. That worked until some app 'blocked' the OSS channel and then another app wanted to use OSS channel. In other words, a typical Linux mess.
Then PulseAudio from the great Lennart Poettering happened and it happened hard. I used Ubuntu for about a year because FreeBSD was not up to the task of supporting Intel G965 chipset with X3000 GMA Intel graphics adapter (only deadly slow vesa was possible), so I moved 'temporary' to Ubuntu to wait for its support in the FreeBSD land. Why Ubuntu and not CentOS? or why not Gentoo? I used Slackware and Gentoo in the past and these two bring me to the FreeBSD land, so I wanted to check a 'desktop' distro for the first time, and as Ubuntu was the most popular at the time, I decided to jump in.
This Ubuntu came with PulseAudio, not with the first version, PulseAudio was available for quite some time before that Ubuntu release. I did not used any 'strange' audio setup, just output to 2 speakers via typical mini jack output. As this was desktop I did not powered it off as I did not have such need, but PulseAudio forced me to periodic reboots. The whole audio on that Ubuntu Linux hanged hard after about a day of typical desktop usage, sometimes after two days, sometimes after half a day. No reload of services or even kernel modules (alsa) helped to gain the sound back, I was forced to hard reboot because of that PulseAudio shit. The strange thing is that the whole rest of the system just worked, I could do all other operations without a problem, but sound stopped with some jerky noice and thats it. As I used this Ubuntu for about a year I regularly applied updates with hope to fix this issue, but after more then a year it was not fixed. I came back to FreeBSD then and never looked back, but as I see more and more projects (Firefox/Chrome) force this shit (PulseAudio) into the FreeBSD ecosystem it drives mu nuts.
My opinion may be biased on 'this single system' but its not only my opinion. I am very disappointed that You did not seek for that yourself ... as everything that this moron Poettering does is just pure shit.
The PulseAudio basically did what Microsoft did with Windows Vista in audio subsystem, they moved it altogether into user space, which increases latency a lot and provides a lot of unneeded copying between kernel space and user space. Then as PulseAudio being merged into distros all the fault has been 'transferred' to 'buggy' ALSA drivers or other subsystems, it was NEVER the PulseAudio fault which is total bullshit because audio worked quite stable before PulseAudio and stopped working reliably after it has been merged.
How big the PulseAudio shit is is also visible on how big shit the other projects of Lennart are, like avahi or systemd. What is even more 'frustrating' that this moron without any sysadmin experience introduced this systemd shit because he wanted his laptop to boot faster (lack of words), here is a snipped from some old interview with him about that:
https://twitter.com/unixtippse/status/854740233077837824/photo/1
About the PulseAudio itself, just google for this: pulseaudio shit or pulseaudio problem
You will find tons of information why I typed just one word 'Everything.' ... I will just put some of them here because I do not want to type all this stuff here by hand while its already available elsewhere.
https://www.reddit.com/r/linux/comments/4icp1a/pulseaudio_is_a_toilet_full_of_roses/
https://voat.co/v/Linux/2056902
https://bbs.archlinux.org/viewtopic.php?id=183816
https://eksith.wordpress.com/tag/pulseaudio/
https://www.ibm.com/developerworks/...t_the_f_up_on_official_mailing_list51?lang=en
https://wyldeplayground.net/pulseaudio-cracking-sound-problem/
https://groups.google.com/forum/#!topic/microsoft.public.windows.vista.general/Y-v7VyHyySs
http://judecnelson.blogspot.com/2014/09/systemd-biggest-fallacies.html
https://ewontfix.com/15/
I added some systemd link because of someone does not learn on earlier projects (avahi / pulseaudio) and still creates shit instead of software (systemd) then this shows best how great PulseAudio really is.
Regards,
vermaden