Language Selection

English French German Italian Portuguese Spanish

Should Pulseaudio Die? What do you think?

Filed under
Linux

When I was installing and testing Mandriva 2010 Cooker (new development) releases this last Fall season, I kept having persistent problems with sound. Eventually, the advice in the Mandriva Cooker forum for KDE users became: "Disable Pulseaudio, and set Xine as the preferred back end over GStreamer (in the KDE multimedia settings).

Unlike the latest 'buntu, Mandriva does supply a checkbox in their Control Center Sound configuration utility to enable/disable Pulseaudio.

Then Mandriva 2010 final came out, and Pulseaudio more or less works, (and GStreamer works fine for the KDE back end). Some users report that flash videos have no sound with Pulseaudio enabled. Certainly there's some sound lag with Pulseaudio.

Today I was listening to the latest tllts podcast (The Linux Link Tech Show). Tllts member Patrick Davila started his "rant" segment, and said:

Quote:
Pulseaudio sucks. The experiment [with Pulseaudio] has gone far too long. It's time to admit that it's a f*ing failure and every implementation sucks. The guy who runs it [Pulseaudio]--any time anybody tries to talk to him, is very negative and tells you you're an idiot. Canonical should hire Paul Davis, the developer of Jack and Ardour and Jack should become the default sound daemon."

What do you think? I tend to agree with Davila, however Linux sound is not my area of expertise. But I've certainly been plagued and frustrated over the years with Linux sound issues, and Pulseaudio seems to make things worse.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I use Sidux AMD64 with KDE

I use Sidux AMD64 with KDE 4.3 and I have a proper sound card - an M-Audio Revolution 5.1. I do not have any Pulseaudio installed. My sound works perfectly. In part this is because my sound card supports hardware mixing. KDE uses Phonon not Pulse.

Now, this week I built a second machine from old bits for the purpose of video editing. I wanted to try OpenShot so I installed Karmic Koala, as OpenShot requires Python 2.6 and so it will not run on anything Debian (yet). After installation I had no sound at all. The Pulseaudio controlled sound applet showed everything was working, but nothing emanated from the speakers. I installed Gnome Alsamixer and found that the output was not selected, a simple click of the mouse and music poured forth. To me the biggest fault here is Gnome using this new mixer applet instead of the traditional Alsa one. Ubuntu, or Gnome in general, have also removed the older Gnome Sound properties dialog with a Pulse based one. You can no longer change the default output easily. If it does not work there is now nowhere to go unless you are an experienced Linux user. I removed Pulseaudio as I had other issues with input from Aux (but that one was an ALSA issue), but in doing so lost the speaker applet. I disabled the onboard sound and put in a PCI sound card and reinstalled Pulseaudio and now it all works.

Is this the fault of Pulseaudo, Gnome or Ubuntu - or all of them. When Pulseaudio works it is a good tool, when it does not it is an utter pain. Unfortunately it seems to fail way too often for my liking. The failures are often simple and can be overcome with simple access to good Alsa based mixer. This then is the fault of Gnome and the distro builders. Bring back the old sound properties dialog and install Gnome Alsamixer by default. Give the noobs a fighting chance.

My last peeve is definitley distro based. Why is my sound constantly muted by updates? Not Sidux - the others. Why on earth would you set mute as the default? Ever?

enough ranting

It is junk.

I agree too. Pulse audio is junk just like udev, hal, dbus and polkit. Useless crap that don't work right.

Depends on the distro

I have an older Creative card that uses the snd-emu* drivers. It and PA (PulseAudio) work fine with certain distros, like Mandriva 2010 and Ubuntu 9.10. It and PA don't work well with others, like Fedora 12 and openSUSE 11.2. In those distros, system sounds come out layered in static. Flash and other audio playback can sometimes be staticky as well. Why one distro gives me no problems while another does, I have no idea.

The reaction of the PulseAudio dev is as follows: "Regarding snd-emu*: Creative doesn't like Open Source -- there are no docs available. If you buy Creative it is hence a bit your own fault."

Fair enough, except the card works fine with ALSA. Why the difference? The PulseAudio dev again: "As long as you only play MP3 music directly on the device and use the traditional sound card interrupt based wakeups the bogus timing information the sound drivers export doesn't matter. That's why you won't notice this issue without PA but it becomes very visible (or audible...) when PA is used."

Whoopee.

PulseAudio can do all kinds of cool things, but I'd just like to have an alternative to using it. I've tried but I can't replace it with any other backend in openSUSE 11.2 and have working sound, even in KDE 3/4.

re: depends distro

Yeah, I had trouble with a creative card and opensuse 11.2 too. Sound would only come out of one of the four speakers. That didn't go over too well with me.

I haven't had too much trouble with most of others distros except that Flash sound wouldn't work in the latest Mandriva. The only solution really offered was to disable pulseaudio. That did indeed do the trick.

Distros' fault

Pay attention to what PulseAudio's dev has said many times. Ubuntu in particular, he argues, does a HUGE disservice to the reputation of PulseAudio.

re: Distros fault

Yes, Linux Excuses 101.

Whenever something sucks, blame everyone (the distro, the user, the girlscouts) but the monkey who codes it.

its every distro?

I've only read the horror stories of PA but I've no experience myself. However, its constantly repeated that it is the distros' fault in their implementations. Perhaps the developer needs to provide more-clear examples or documentation so that his product doesn't get such a bad reputation?

On the flip side, which distros are implementing this correctly according to the PA developer(s)?

PulseAudio...

I've been using Linux on and off for the past four years and since my first stab at it, everyone always suggest that I stay away from PulseAudio. Because of that, I've always stuck with Alsa. It works and it works great. I'm personally a fan of building minimal Debian systems and I've always relied Alsa for sound. Most of it is because I've heard nothing but bad stories about PulseAudio. Lots of promise but just as much letdown. Does this project really lack that much direction/ it clearly isn't moving forward if this debate is still going on four years later.

yep

Pulse audio is garbage. I actually do blame the distros a little bit. If the crap isn't tested and working on common hardware, why put it in a so called stable release.The developer can test it all he wants, can ask for testers, or keep it on his hard drive for all I care. When the major distros release new versions, something as basic as sound should work. Period. I suppose the community working together on improving what we already have working would be too much to ask.

PulseAudio

I'm going to be murdered for posting this, but I think we should all go back to OSS, with version 4 and later version 5. I'm on Arch, so I can pick and choose from the beginning what I want to use. I have tried PulseAudio, which seems to lag, ALSA works but it sounds weak, compared to sound in OSS4 and Windows 7. I dare say it sounds better in OSS4 than Windows 7. I even have a Creative card and it works better in OSS than the rest with BETA drivers. Granted I don't do any recording or anything complicated that doesn't involve listening to FLAC audio, movies and youtube, with a 5.1 surround system. Adding to this, OSS is so easy to configure, everything residing in /usr/lib/oss and while the wiki is not updated as often, it has the usual problems that I encountered listed and in the forums, there are friendly people who have helped me, up to the extent of modifying source code and recompiling OSS on Arch in order to get a USB sound card working. I know what the developer did in the past still makes some people angry or distrustful but I don't think that's going to happen again, everyone can make mistakes and I think if we show more support with development and testing, OSS can be the greatest thing for sound in Linux and all of *nix systems. Freebsd uses it, maybe a modified version but to me OSS is both user and developer friendly.

I have not tried JACK, but if that works good, I don't have any complaints. I just want to move to something that is not ALSA or Pulseaudio and more importantly, that it works as intended.

http://www.4front-tech.com/forum/index.php
http://www.4front-tech.com
http://www.opensound.com/wiki/index.php

I agree

I find PC-BSD with OSS has the best sound on my system. I should try this with Chakra. JACK sounds interesting as well.

I also agree with Anonymo

I read "State of Sound in Linux not so Sorry After All"

http://insanecoding.blogspot.com/2009/06/state-of-sound-in-linux-not-so-sorry.html

I switched Ubuntu to OSS and everything was better / cooler / easier. i.e. the sound quality was better, the user interface was nicer too. (Although there was no OSS HDMI driver at the time.)

I also have used OSS on Solaris. It was the exact same experience. I plugged in a USB DAC and viola! It just worked.

Pulse made me busy all this year

Hi. I don't know if pulse have to die, but I sure hate its guts. I work for an OEM company who sell various machines with Linux/KDE installed. Pulse failed on basically all the HW configs that I saw.

At home, here's what I have to say : Pulse is not ready. When I manage to get it to work, it hangs.

I totally agree with the guy who proposed to replace pulse with jack, maybe with a simple frontend ? Jack is the only software that I know of that actually aknowledge that a user can have more than ONE soundcard.

More in Tux Machines

This Raspberry Pi add-on lets you control Lego robots

Raspberry Pi is releasing an add-on that will let you use many of its tiny, inexpensive computers to control certain Lego robot motors and sensors. The add-on is called the Build HAT (HAT stands for Hardware Attached on Top), and slotting it onto a Raspberry Pi’s GPIO pins will give you four ports that you can use to control Lego Education’s SPIKE components, which the HAT and its software are specially designed for. It’ll also connect to most other parts that use an LPF2 connector, including the components from the Lego Mindstorms robot inventor kit. There’s also a Python library (basically a set of commands you can use to control the robot) available to go alongside the HAT, which will let you write software to control the robot parts you’ve got hooked up. Programing Lego’s SPIKE components with Python isn’t a unique selling feature from Raspberry Pi — the SPIKE kit comes with a hub that supports connecting six devices (compared to the Build HAT’s four) that can also store and run Python programs. Read more

today's howtos

  • How To Install Zikula on Ubuntu 20.04 LTS

    In this tutorial, we will show you how to install Zikula on Ubuntu 20.04 LTS. For those of you who didn’t know, Zikula is free open source software (FOSS) It allows webmasters and users to create great portals for secure extranet, online databases, e-commerce and multilingual sites. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of Zikula on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

  • How to Install Caddy Web Server on Debian 11

    Caddy is a free, open-source, and modern web server written in GO language. It is a lightweight and commercially supported web server that supports HTTP/2 and experimental HTTP/3 protocols. It can run anywhere with no external dependencies and is expanded via plugins. It is designed with security in mind and provides a number of features that are useful for hosting websites. In this tutorial, I will explain how to install the Caddy web server on Debian 11.

  • How to Install GIMP on Debian 11 Bullseye - LinuxCapable

    GIMP is free, open-source raster graphics editing software primarily used for image manipulation and image editing, transcoding between various image formats, free-form drawing, and many more specialized tasks. GIMP is released under GPL-3.0-or-later license and is available for Linux, macOS, and Microsoft Windows. In the following tutorial, you will learn to install the GIMP application on Debian 11 Bullseye using three alternative methods that you can choose from.

  • How to Install and Use PIP Python Package Manager on Debian 11

    Pip is a widely used package manager for the Python programming language. It is being used for installing and managing additional packages that are not available in the Python standard library. It allows users to search a package from the python packages index as well as install its dependencies. Pip is also known as a "Preferred Installer Program" that can create a completely isolated environment for the Python application. In this article, I will show you how to install and use Pip on Debian 11.

  • How to Install Visual Studio Code Cloud IDE on Rocky Linux 8 [Ed: It is proprietary, it is spying, and it needs to be shunned]
  • How to Remove Trash Can Icon From Left Dock Panel in Ubuntu 21.10 | UbuntuHandbook

    This simple tutorial shows how to remove the trash icon from the dock in Ubuntu 21.10 Impish Indri. Different to the previous releases, Ubuntu 21.10 puts the trash icon on left dock instead of the desktop. However, I don’t use the trash icon in either location. Instead, I removes files using right-click menu options, and go to trash via file manager left sidebar. If you also find it useless, then here’s how to remove it either via a single command or by a graphical configuration tool.

  • How to create a user and add it to the sudoers group in Rocky Linux

    In Linux administration, best practice recommends running commands as a regular user with sudo privileges. This user is simply known as a sudo user, and the user bears root privileges to perform elevated tasks in the system such as installing, updating, upgrading, and removing packages to mention a few. To execute privileged commands as a sudo user, the word ‘sudo’ precedes the actual command. Sudo is short for Super User do and when invoked, it allows underprivileged users to perform elevated tasks using root privileges. By default, the regular user created upon installation is simply an underprivileged user. Thankfully, you can add the user to the sudoers group to impart root privileges. This will allow the user to perform elevated tasks in the system just as a root user would. In this tutorial, we demonstrate how to create a user and add them to the sudoers group on Rocky Linux.

  • How to install Apache, MariaDB and PHP (LAMP) on Debian 11 – VITUX

    The LAMP stack is a collection of open-source software products that are frequently used in conjunction. The acronym LAMP is used to describe a computer system that has the following components: Linux, Apache HTTP Server (or just server), MySQL and PHP/Perl/Python. A user can install all of these components separately on a single computer or, more commonly, on separate computers connected by a network; however, some components are dependent upon other components – for instance, it is not possible to install Apache without first installing Linux – hence the standard installation practice is to install all components on a single computer system. The LAMP stack is the combination of open-source software to form a server environment most commonly used in web development.

  • How to install OpenSSH server on Alpine Linux (including Docker) - nixCraft

    This quick tutorial explains how to install and set up OpenSSH (SSHD) server and client on the Alpine Linux system. Further, you will learn how to build a Docker Linux container running sshd server based upon Alpine Linux image too.

  • How to use Shazam on the Linux desktop with SongRec

    Are you listening to a song and don’t know the name of it? Want to “Shazam” it but don’t have an Android or iOS phone? Check out SongRec! It’s an unofficial Shazam client for Linux. Here’s how to use it to “Shazam” on the Linux desktop.

  • Installing KDE On Linux Mint Cinnamon Base - gHacks Tech News

    If you’re like me and really enjoy using the KDE Plasma desktop environment, especially as it’s become very lightweight over the last year or two compared to the past where it was known as very heavy on resources, you are probably disappointed that Linux Mint does not offer a KDE version of its popular Ubuntu-based distribution. However, installing KDE is very easily accomplished, and doesn’t take very long.

  • A Fresh Installation of Debian 11 Bullseye

    August 14, 2021, marks a new major release for the popular Debian Linux distribution. Codenamed Bullseye and chock-full of enhancements as well as software updates after 2 years, 1 month, and 9 days of development, this release will be supported for the next 5 years. This guide will walk through a fresh installation of Debian 11 Bullseye’s new operating system. With this new release comes quite a bit of new functionality. One of the most welcomed changes is an updated kernel. Buster (Debian 10) was still running 4.19 but now with Bullseye (Debian 11), the jump to 5.10 has brought some wonderful hardware support!

Games: Trine 3 on Linux, Stellaris: Aquatics Species Pack, Cassette Beasts, Julius 1.7

  • How to play Trine 3 on Linux

    Trine 3 is an action/puzzle-platformer video game developed by Frozenbyte. It is the successor to Trine 2 and was released on August 20th, 2015. The game is on Microsoft Windows, Xbox, PS4, Mac OS, and Linux. Here’s how to get it working on your Linux PC. [...] Trine 3 works on Linux as a native game, but you’ll have to install the Steam application first if you want to play it. Thankfully, Steam works on a majority of Linux operating systems. Unfortunately, the software doesn’t come pre-installed on many distributions, so we’ll need to go over how to get it working first.

  • Stellaris: Aquatics Species Pack announced, launching with the free 3.2 update | GamingOnLinux

    Paradox only recently talked about a bunch of changes coming in the free 3.2 update and now they've announced Stellaris: Aquatics Species Pack as the latest DLC. "Sail the intergalactic seas and uncover an all new expansion packed to the gills with new options for new and longtime players alike. The Aquatics Species Pack will rinse Stellaris with a rising tide of new content, including brand new origins, species traits, civics and a treasure trove of new cosmetics. Seafarers and landlubbers alike will agree that this is Stellaris’ most immersive species pack to date.

  • Monster collecting game Cassette Beasts gets a new trailer and publisher | GamingOnLinux

    Cassette Beasts is the upcoming monster collecting game from Bytten Studio and today it has been announced that Raw Fury has joined as publisher. Bytten Studio had been looking for a publisher for some time now so this is great news. Developed in the open source Godot Engine, Cassette Beasts looks like a monster catching game like no other as you use the powerful fusion system to transform into creatures using retro cassette tapes.

  • Julius 1.7 is out, an open source re-implementation of the classic Caesar III | GamingOnLinux

    Julius is another shining example of an open source game engine re-implementation done well and a major update is out. Taking the original Caesar III and upgrading it for modern computing platforms. Not by the original developers though, this is like others, totally unofficial but don't let that stop you enjoying a much improved experience.

Karanbir Singh stepping down from the CentOS Board

Today we have heard from KB that he is stepping down from the CentOS Board of Directors. On behalf of the Board, I want to thank KB for his years of leadership. His work on the project, and in the community, has made the world a better place in tangible ways that affect millions of sysadmins on a daily basis, and that's hard to measure or quantify. On a personal note, I've appreciated his advice, insight, and mentorship as I took the reins of the Community Manager position. His stories and introductions paved the way for success in a role that has been very rewarding and a lot of fun. Read more Also: CentOS Project Chair Karanbir Singh Steps Down