pulseaudio intermittently quits

Forum Forums New users New Users and General Questions pulseaudio intermittently quits

  • This topic has 13 replies, 4 voices, and was last updated Feb 8-4:36 pm by calciumsodium.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #77041
    Member
    blur13

      Hi!

      I realise pulseaudio has become a contentious issue on this forum of late. I have no opinion on its merits, I only need it because a few programs I use depend on it.

      I have “pulseaudio -D &” in the startup file, using antiX 19.5. Recently, sometimes it does not start. So I run the command manually. Only to sometimes find out that it has quit when trying to run a program that depends on it. Running “pulseaudio -D” solves the problem. However, I now find myself running this command quite frequently, when before I never did. Has anyone else had this issue?

      I suspect that it might have to do with the latest upgrade to “pulseaudio 12.2-4+deb10u1.0nosystemd1”. Is there any way to restore it to the previous version? I’d like to do some testing to see if that is indeed the cause of the issue.

      Thanks!

      #77046
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        Hi!

        I suspect that it might have to do with the latest upgrade to “pulseaudio 12.2-4+deb10u1.0nosystemd1”. Is there any way to restore it to the previous version? I’d like to do some testing to see if that is indeed the cause of the issue.

        Thanks!

        1. Remove all pulseaudio
        2. Remove nosystemd part in /etc/apt/sources.list.d/antix.list
        3. sudo apt update
        4. Install pulseaudio via Package Installer

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #77047
        Member
        calciumsodium
          Helpful
          Up
          0
          ::

          Hi,
          I have the same problem as @blur13.
          I tried your suggestion, but when I tried to install pulseaudio after removing the nosystemd part in /etc/apt/sources.list.d/antix.list,
          I get this error:

          The following packages have unmet dependencies:
           pulseaudio : Depends: libpulse0 (= 12.2-4+deb10u1) but 13.0-3~bpo10+1 is to be installed
                        Depends: pulseaudio-utils but it is not going to be installed
          E: Unable to correct problems, you have held broken packages.
          #77048
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Make sure Debian buster-backports repos are commented out.

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #77049
            Member
            calciumsodium
              Helpful
              Up
              0
              ::

              Hi,

              I get this error when I commented out the Debian buster-backports repos:

              The following packages have unmet dependencies:
               pulseaudio : Depends: libpulse0 (= 12.2-4+deb10u1) but 12.2-4+deb10u1.0nosystemd1 is to be installed
                            Depends: pulseaudio-utils but it is not going to be installed
              E: Unable to correct problems, you have held broken packages.
              
              #77050
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                You need to downgrade libpulse0 to use the buster version.

                Was pulseaudio working correctly without intermittently quitting antiX-19 (pre 19.5) before latest pulseaudio update in antiX nosystemd repos?

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #77051
                Member
                calciumsodium
                  Helpful
                  Up
                  0
                  ::

                  Was pulseaudio working correctly without intermittently quitting antiX-19 (pre 19.5) before latest pulseaudio update in antiX nosystemd repos?

                  From my experience, yes.
                  Thanks for looking into this issue.

                  #77052
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    I can reproduce this issue, but I’m not sure what exactly is causing the issue in antiX-19x and what will fully fix it.
                    This *seems* to work.

                    1. buster-backports repos turned off
                    2. using default (latest) pulseaudio debs (and pavucontrol) from antiX nosystemd repo
                    3. make sure pulseaudio -D & is in .desktop-defaults startup fie above the volumeicon one.
                    4. added sleep 3 && before volumeicon entry so it looks like this – sleep 3 && volumeicon &
                    5. right-click on volume icon in tray, Preferences > External mixer (change to pavucontrol)
                    6. make sure libelogind0 is installed
                    7, apt purge seatd (this will bring in consolekit stuff).
                    8. Reboot
                    9. Test

                    Philosophers have interpreted the world in many ways; the point is to change it.

                    antiX with runit - leaner and meaner.

                    #77053
                    Member
                    blur13
                      Helpful
                      Up
                      0
                      ::

                      Not sure I understand,

                      2) so basically, dont edit the /etc/apt/sources.list.d/antix.list ?

                      3,4,5) I have the volume icon commented out, should I uncomment?

                      7) this did nothing on my system

                      Anyways, the above did not solve the issue for me.

                      Thank you for looking into this. If its not fixable I suppose I could go back to 19.4 and remove nosystemd from the /etc/apt/sources.list.d/antix.list and prevent the nosystemd stuff from installing?

                      #77064
                      Forum Admin
                      anticapitalista
                        Helpful
                        Up
                        0
                        ::

                        @blur13

                        My post 77052 is with pulseaudio 12.2-4+deb10u1.0nosystemd1 and seeing if this can be fixed without downgrading pulseaudio.

                        If you do try 19.4, you could manually update the packages with the default settings, but make sure pulseaudio/libpulse0 does not get upgraded.
                        Then you can comment out the nosystemd bit and see if pulseaudio works as it should.
                        If it does, then the issue would be the latest pulseaudio update.

                        Philosophers have interpreted the world in many ways; the point is to change it.

                        antiX with runit - leaner and meaner.

                        #77065
                        Forum Admin
                        anticapitalista
                          Helpful
                          Up
                          0
                          ::

                          Which apps seem to kill pulseaudio?

                          Philosophers have interpreted the world in many ways; the point is to change it.

                          antiX with runit - leaner and meaner.

                          #77066
                          Moderator
                          caprea
                            Helpful
                            Up
                            0
                            ::

                            Because there was a member who had the problem that chromium update kicked off his pulseaudio I ask.
                            Do you use chromium browser?Probably has nothing to do with the problem here,just want to rule this out.

                            #77067
                            Member
                            blur13
                              Helpful
                              Up
                              0
                              ::

                              No, I dont use chromium.

                              It really is “intermittent” in the sense that it seems unrelated to specific apps, it just randomly quits. I started pulseaudio, did some surfing in links2 and mail checking in Alpine for half an hour and when I looked in htop pulseaudio was gone. I started it again, fired up firefox to type this, and now its gone. Very strange.

                              #77073
                              Member
                              calciumsodium
                                Helpful
                                Up
                                0
                                ::

                                4. added sleep 3 && before volumeicon entry so it looks like this – sleep 3 && volumeicon &

                                Adding the sleep 3 before the launch of volumeicon seems to make pulseaudio more stable:

                                pulseaudio -D &
                                sleep 3 && volumeicon & 

                                Thank you for the tip.

                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • You must be logged in to reply to this topic.