Home | News | Download | Packages | Forum | Wiki | Github

PulseAudio + ALSA, no sound, only plain ALSA produces sound


#1

I’ve spent the last 8 hours trying to get PulseAudio + ALSA to work so that I can have sound on more than 1 program at a time… no luck. I installed every Pulse- and ALSA-related xbps package there is and tried to make some ALSA files in /etc/. PulseAudio is running in the background just fine. And pure ALSA mostly works (when user is in group audio), but it does reset my master volume to 41 exactly once per second (when changing it, it jumps back to 41) when using pure ALSA for some reason. And I do know I shouldn’t be in usergroup audio when using PulseAudio; removing myself from group audio is what I do to try and “use/activate PulseAudio,” resulting in no sound.

It seems like one of two things is happening:
A. PulseAudio is having trouble picking the correct device/card (I had to force ALSA to use card #1 over #0)
B. Applications are are trying to only use ALSA and won’t use (or aren’t detecting) PulseAudio.

Is there any specific info I should post for help?


#2

Why open a new topic about your pulseaudio issue?
You have already opened this one a few hours ago…

Did you get a good look at wiki/PulseAudio, as @Duncaen suggested you?


#3

Void musl 64 bits here, no problem getting sound from more than one app at the same time.
Here’s what I have installed… In addition to dbus, consolkit2 and cgmanager. These services should be enabled as well.

[pin@awesomevoidmusl ~]$ xbps-query -s alsa
[*] AlsaMixer.app-0.1_3                 Simple dockable mixer application for Linux with ALSA drivers
[*] AlsaMixer.app-dbg-0.1_3             Simple dockable mixer application for Linux with ALSA drivers (debug files)
[*] alsa-lib-1.1.5_1                    The Advanced Linux Sound Architecture (ALSA) library
[*] alsa-lib-dbg-1.1.5_1                The Advanced Linux Sound Architecture (ALSA) library (debug files)
[*] alsa-plugins-1.1.5_1                Advanced Linux Sound Architecture (ALSA) extra plugins
[*] alsa-plugins-dbg-1.1.5_1            Advanced Linux Sound Architecture (ALSA) extra plugins (debug files)
[*] alsa-plugins-pulseaudio-1.1.5_1     Advanced Linux Sound Architecture (ALSA) extra plugins - Pulseaudio output plugin
[*] alsa-plugins-pulseaudio-dbg-1.1.5_1 Advanced Linux Sound Architecture (ALSA) extra plugins - Pulseaudio output plugin (debug files)
[*] alsa-tools-1.1.5_1                  Advanced ALSA tools for certain sound cards
[*] alsa-tools-dbg-1.1.5_1              Advanced ALSA tools for certain sound cards (debug files)
[*] alsa-utils-1.1.5_1                  The Advanced Linux Sound Architecture (ALSA) utilities
[*] alsa-utils-dbg-1.1.5_1              The Advanced Linux Sound Architecture (ALSA) utilities (debug files)
[*] python-alsa-1.0.29_2                Official Python bindings for ALSA
[*] python-alsa-dbg-1.0.29_2            Official Python bindings for ALSA (debug files)
[pin@awesomevoidmusl ~]$ xbps-query -s pulse
[*] alsa-plugins-pulseaudio-1.1.5_1     Advanced Linux Sound Architecture (ALSA) extra plugins - Pulseaudio output plugin
[*] alsa-plugins-pulseaudio-dbg-1.1.5_1 Advanced Linux Sound Architecture (ALSA) extra plugins - Pulseaudio output plugin (debug files)
[*] libpulseaudio-11.1_1                A featureful, general-purpose sound server - shared libraries
[*] libpulseaudio-dbg-11.1_1            A featureful, general-purpose sound server - shared libraries (debug files)
[*] pavucontrol-3.0_2                   PulseAudio Volume Control
[*] pavucontrol-dbg-3.0_2               PulseAudio Volume Control (debug files)
[*] pulseaudio-11.1_1                   A featureful, general-purpose sound server
[*] pulseaudio-dbg-11.1_1               A featureful, general-purpose sound server (debug files)

#4

I have no idea what I did that fixed it, but finally I can hear audio from multiple applications at once with ALSA. But my other problem still remains: exactly every 1000ms/1 second, my ALSA volume is reset to exactly the value 41%. No matter how I change it, it jumps back every second, like some kind of delibrate timer. I can’t find anything about this on Google though.


#5

:crystal_ball: neither do we.


#6

I couldn’t hear anything in lxqt. After the installation of pavucontrol everything was fine. Which WM is installed on your computer?