SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
that actually works by just forwarding or streaming the audio to something else like alsa or portaudio? that way it satisfies a dependency for building and running applications that require or use pulseaudio but dont have or dont want pulseaudio on their system, if it has not been done it would be a good project for someone smart enough to do it (i dont qualify for that task)
seems like i read about this sort of scheme a while back being done before with a libgnome or a gnomelib library, a fake library was made to satisfy builds that did not have that library on their system
i just google searched the title of my thread and found this, i downloaded and built it, i dont know how good it is and i will play the guinea pig and test it
it did not work for me, but it did build and respected DESTDIR=/path/to/build/package so i went a step further and tried it, i was wanting to get audio back in to my browser, but no audio, it seems harmess enough but did not work, i even tried it with the snd-hda-codec-hdmi-OFF.ko and it did not work with that either, maybe somebody else will have better luck than me
Before slackware had pulsaudio I was using apulse for a while, I think it was to get skype to work.
Anyway, slackware current now has an option to go pulseaudioless, see here and also this thread
I'm currently using a "fake" to effectively redirect pulseaudio calls to ALSA on 14.2 Multilib and herald the direction in Current and apparently the next release, largely possible iirc since Bluetooth (the original reason for pulseaudio as default) no longer requires pulse. I really did try to embrace pulseaudio but it bit me in the ass more times than I can count and I despise it now, and bid it "good riddance to bad rubbish" at least for my system and how I use it. I can only hope some good will come from the pulseaudio debacle in the form of increased attention to ALSA to improve it's code so that it can do the very few good things of which pulse is capable. I see no need for a whole additional layer lying on top increasing latency and complexity.
I saw the news some time ago in this forum but it's the first time when I actually look at how it's implemented (I don't run -current so I postponed that for when 15.0 is out) and I got a question.
i went with the pure-alsa-system in current, and so far i like it and i am sticking with it, and i like to use gqrx which is a good sdr radio application but if you mess up on setting any config that your sdr radio does not like it will crash, and it will build and run with portaudio as an alternative to pulseadio, now when it crashes it just crashes and is ready to restart immediately and when it crashes it is usually my fault for fiddling with settings trying to squeeze the most out of an sdr radio, the only thing missing is my browser wont give me sound on video sites like youtube which i dont really miss anyway, if anyone else uses gqrx and want to switch gqrx to using portaudio use this setting in cmake
the only thing missing is my browser wont give me sound on video sites like youtube which i dont really miss anyway
To work around this you could use youtube-dl which downloads videos from youtube.com and many other sites. Programs like mpv have youtube-dl integration to make it more convenient to stream content and mps-youtube is cli browser for youtube.com.
i went with the pure-alsa-system in current, and so far i like it and i am sticking with it, and i like to use gqrx which is a good sdr radio application but if you mess up on setting any config that your sdr radio does not like it will crash, and it will build and run with portaudio as an alternative to pulseadio, now when it crashes it just crashes and is ready to restart immediately and when it crashes it is usually my fault for fiddling with settings trying to squeeze the most out of an sdr radio, the only thing missing is my browser wont give me sound on video sites like youtube which i dont really miss anyway, if anyone else uses gqrx and want to switch gqrx to using portaudio use this setting in cmake
Code:
-DLINUX_AUDIO_BACKEND=Portaudio
Portaudio is not an alternatie to pulse but a audio API that abstracts the underlying audio system away.
so why all this hassle, creating a system that is not fully functional, staying on a config solution with basically no future (or is there active development on a pulse free system (beside Slackware of course who would better invest the resources in other improvements)). Just to have a hobby of a pulse free system for the reason of just because
(and the proce of binding PV's resources to this useless and no future solution) ?
RE:"Portaudio is not an alternatie to pulse but a audio API that abstracts the underlying audio system away."
correct, portaudio is not an alternative to pulseaudio, but it does allow my favorite application to function, and when it crashes pulseaudio is not hanging up eating cpu cycles until i manage to kill it,
<hr>
RE:"so why all this hassle, creating a system that is not fully functional, staying on a config solution with basically no future (or is there active development on a pulse free system (beside Slackware of course who would better invest the resources in other improvements)). Just to have a hobby of a pulse free system for the reason of just because
(and the proce of binding PV's resources to this useless and no future solution)"
correct, portaudio is not an alternative to pulseaudio, but it does allow my favorite application to function, and when it crashes pulseaudio is not hanging up eating cpu cycles until i manage to kill it,
crash + allow to function .... sounds a bit controversial to me
Quote:
Originally Posted by Okie
dont make me install FreeBSD!!!
if you want even less multimedia functionality,but I do not make you anything,
I just asked, if there are so many people that make your favorite app working without any problems with pulse audio, why fighting it. and I gave some links because I thought they might help.
And it seems I got an answer, sound to me its not about making your favorite app work in the best way but rather following some dogma, which is OK for me, don't get me wrong.
i was not the one that made that pure-alsa-system in /extras, and i did not even suggest that project get started, i found it while looking in /extras on a slackware mirror, it seems reasonable to me since others are having problems with pulseaudio that the pure-alsa-system be a workaround in order to get rid of pulseaudio.
i sure liked linux better before lennort pottering got hired on at redhat, between systemd and pulseadio i am almost ready to abandon linux completely, and since i see slackware as an old friend of a linux distro i dont want to give it up, but i will if i must
Regarding browser sound on ALSA-only systems, not only does the ESR version work perfectly with ALSA but there are rebuilds of Nightlys at the Firefox-fuckPA github page. I'm currently using v58.0 with pulseaudio disallowed. Palemoon also works as does SeaMonkey.
If you don't actually need to play sound, and just want to get something to compile (and the pure-alsa packages aren't sufficient), and it's failing with errors such as these:
Code:
/usr/lib64/gcc/x86_64-slackware-linux/9.1.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/libphonon4qt5.so.4: undefined reference to `pa_operation_unref@PULSE_0'
/usr/lib64/gcc/x86_64-slackware-linux/9.1.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/libphonon4qt5.so.4: undefined reference to `pa_glib_mainloop_free@PULSE_0'
/usr/lib64/gcc/x86_64-slackware-linux/9.1.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/libphonon4qt5.so.4: undefined reference to `pa_ext_device_manager_subscribe@PULSE_0'
...
Then here is how to create a replacement shared library that does nothing at all:
"PULSE_0" is the symbol version, and is shown after the @'s in the error message. If the errors have different versions for different symbols you'll need to specify them in the map file appropriately.
4. Put libpulse.so.0 somewhere visible to the system, e.g. /usr/local/lib, or add the path to its dir to /etc/ld.so.conf
Then hopefully you can compile the app. Note that if the app tries calls a pulse function, it could do anything at all, including crash, or worse, it depends what the app's code is, e.g. it could be something bad like this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.