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.
This is : Music On Console
Version : 2.5.2
Revision : Unversioned directory
Built : Jul 17 2019 18:48:39
Compiled with : OSS ALSA DEBUG Network streams resample
Running on : Linux 5.4.11 x86_64
Author : Damian Pietras
Homepage : http://moc.daper.net/
E-Mail : mocmaint@daper.net
Copyright : (C) 2003-2016 Damian Pietras and others
License : GNU General Public License, version 2 or later
Problem: I followed this guide to get rid of PulseAusio completely.
But when I try to launch mocp, this happens...
Code:
Running the server...
Trying ALSA...
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
Trying OSS...
FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!
I suppose it does not work because I have to rebuild packages. For those who hate PulseAudio: The best way to get rid of PulseAudio is to get rid of them during system install.
I try to install apulse. I uninstall pulseaudio first and then install apulse. mocp starts successfully but it does not show volume level and crashes as I try to start playing a song saying that it cannot get information from server. How to fix this?
mocp works here with or without PulseAudio installed, as the moc package has no dependency on PulseAudio at all.
I won't waste my time trying to help you finding what's wrong in your system, as your issue is a non issue. And doubly so IMNSHO as there is no reason to hate PulseAudio, but not wanting to learn.
Last edited by Didier Spaier; 01-14-2020 at 06:59 AM.
mocp works here with or without PulseAudio installed, as the moc package has no dependency on PulseAudio at all.
I won't waste my time trying to help you finding what's wrong in your system, as your issue is a non issue. And doubly so IMNSHO as there is no reason to hate PulseAudio, but not wanting to learn.
Thanks for your will to help, I am to mark this thread as solved as I have solved the issue (post #4). I would use a systemd(ick) linux distribution if I did not have a will to learn new. I hate PulseAudio because it is bloated crap.
Last edited by unInstance; 01-14-2020 at 07:12 AM.
Our experiences differ then as I don't suffer of anything you mentioned.
That is exactly the problem with pulseaudio, it works for some and for others its just a broken mess. Its highly temperamental and inconsistent software.
orebea and uninstance, I despise pulseaudio but it has nothing to do with mere bloat, real or imagined. My hatred of Pulse is it hooks into so many things it's not particularly modular where it would function as an option but instead actually behaves like a requirement. One important concept is that there is not even an objective definition of "bloat" exactly because it is entirely subjective. "Whatever I don't find useful" is the working definition of "bloat" and IMHO as long as those "useless extras" don't use up resources why should anyone care if they are just there?
Didier I fail to understand how, knowing you have been in a number of threads regarding Pulseaudio where you must have read what some people, particularly audiophiles or just those to whom sound isn't a mere accessory, have written about Pulse's problems not the least of which is latency almost a full order of magnitude worse than pure ALSA, you can dismiss people's concerns as merely unwillingness to learn the new. It's great that it works for you but it is myopic and wrong to dismiss other's concerns who have different use cases from yours as being essentially delusional.
Would you mind elaborating what makes you think that PulseAudio is a bloated crap?
For day-to-day stuff, I don't bother removing pulse. But if I'm doing any kind of music, I suspend it. The latency with it is still that awful. (That having been said, I was pleasantly surprised at how not-crap pulse is these days, when I had to switch to it for the Extra Life marathon stream.)
Back to the original problem...
If you're using alsa, and you have more than one sound card (which everyone does--most video cards have an audio device, there's usually an on-board mobo device, and if you're using a discrete one, that's a third audio device), you'll need to have an .asoundrc. (https://www.alsa-project.org/main/index.php/Asoundrc)
Once you specify which audio device things using ALSA should be using, it should work. Changes to an .asoundrc are immediate.
Didier I fail to understand how, knowing you have been in a number of threads regarding Pulseaudio where you must have read what some people, particularly audiophiles or just those to whom sound isn't a mere accessory, have written about Pulse's problems not the least of which is latency almost a full order of magnitude worse than pure ALSA, you can dismiss people's concerns as merely unwillingness to learn the new. It's great that it works for you but it is myopic and wrong to dismiss other's concerns who have different use cases from yours as being essentially delusional.
I fully agree that PulseAudio is not suitable for all uses cases. That some or even many people do not like it, or do not want to use it for any reason or purpose is fine with me. What I do not agree with is:
That someone calls it "bloated crap" just because this person does not like it for whatever reason (by the way I have also read something similar about grub, to which I disagree as well),
That it should be removed from the system to allow using other software instead.
I think that we agree on the first point, let me elaborate a bit on the second one. I will do this from a systems' integrator stand point (as you know, this is my hobby).
I easily admit that PulseAudio may not be the best software for audiophiles, because of excessive latency (although this can be mitigated using rtkit, cf.: http://git.0pointer.net/rtkit.git/) or for any other reason, and that other software like Alsa or Jack be preferred for listening to music or other features like audio or video editing. But I still don't understand why using other software for such purposes would need not to have PulseAudio installed.
A few basic things allow not have PulseAudio get in the way, like no redirecting ALSA's audio output to it, start it only on demand (by applications that require it, not when starting a user session, let alone system wide).
tl;dr: I still didn't find a convincing answer to this question: why an audiophile (or anyone else, for any use case) would need to have PulseAudio not installed?
Last edited by Didier Spaier; 01-14-2020 at 02:39 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.