Subject: bug#480: Firefox - no sound

From: Michaela Merz <[email-masked]>
Date: Tue, 2 Jun 2020 18:33:50 -0500

Package: Firefox (direct download)
Version: 76-0-1 (64bit)

No sound from Firefox if downloaded from web-site. Sound in installed
package firefox, version firefox-esr, 68.8.0esr-1 works fine. Sound from
Google-Chrome (downloaded from Google also works fine). If I start
pulseaudio manually from terminal, sound works in downloaded Firefox.

---

From: Mark Hindley <[email-masked]>
Date: Wed, 3 Jun 2020 10:17:19 +0100

Control: tags -1 moreinfo

Michaela,

On Tue, Jun 02, 2020 at 06:33:50PM -0500, Michaela Merz wrote:
>    package firefox, version firefox-esr, 68.8.0esr-1 works fine. Sound
>    from Google-Chrome (downloaded from Google also works fine). If I start

I suspect this is that you need to enable pulseaudio autospawn as documented in
the Release Notes[1].

Please confirm if that resolves your issue.

Thanks

Mark

[1]  http://files.devuan.org/devuan_beowulf/Release_notes.txt

---

From: Mark Hindley <[email-masked]>
Date: Wed, 3 Jun 2020 19:44:01 +0100

reassign 480 pulseaudio
forcemerge 276 480

On Wed, Jun 03, 2020 at 12:06:42PM -0500, Michaela Merz wrote:
>    > > [1] http://files.devuan.org/devuan_beowulf/Release_notes.txt > >
>    --00000000000000808705a7310ed4 Content-Type: text/html; charset="UTF-8"
>    Content-Transfer-Encoding: quoted-printable
> 
>    Mark:
>    Rats. I enabled autospawn in client.conf, but forgot about
> 00-disable-autospawn.conf
> 
> Confirming that firefox works with audio now. Sory to bother you :(

Thanks.

Closing

Mark

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:10 +0000

This is an automatic notification regarding your bug report
which was filed against the pulseaudio package:

#480: Firefox - no sound

It has been closed by Mark Hindley <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <[email-masked]> by
replying to this email.

-- 
480: https://bugs.devuan.org/cgi/bugreport.cgi?bug=480
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#480: Firefox - no sound
From: Mark Hindley <[email-masked]>
To: Michaela Merz <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 3 Jun 2020 19:44:01 +0100

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: Firefox - no sound
From: Michaela Merz <[email-masked]>
To: [email-masked]
Date: Tue, 2 Jun 2020 18:33:50 -0500

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:14 +0000

#276: Pulseaudio fails to connect at startup (Beowulf)

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: Pulseaudio fails to connect at startup (Beowulf)
From: José Marinho <[email-masked]>
To: [email-masked]
Date: Sat, 29 Dec 2018 11:46:23 +0100 (CET)

Package: Pulseaudio 
Versión: 12.2-2

apt policy pulseaudio
pulseaudio:
  Instalado: 12.2-2
  Candidato: 12.2-2
  Táboa de versións:
 *** 12.2-2 500
        500 http://pkgmaster.devuan.org/merged beowulf/main amd64 Packages
        100 /var/lib/dpkg/status

grep -n 'pulse' /var/log/syslog
835:Dec 26 10:25:57 devuan pulseaudio[2962]: [pulseaudio] authkey.c: Failed to open cookie file '/home/devuan/.config/pulse/cookie': No such file or directory
836:Dec 26 10:25:57 devuan pulseaudio[2962]: [pulseaudio] authkey.c: Failed to load authentication key '/home/devuan/.config/pulse/cookie': No such file or directory
837:Dec 26 10:25:57 devuan pulseaudio[2962]: [pulseaudio] authkey.c: Failed to open cookie file '/home/devuan/.pulse-cookie': No such file or directory
838:Dec 26 10:25:57 devuan pulseaudio[2962]: [pulseaudio] authkey.c: Failed to load authentication key '/home/devuan/.pulse-cookie': No such file or directory
1713:Dec 26 11:45:39 beowulf pulseaudio[2934]: [pulseaudio] authkey.c: Failed to open cookie file '/home/jose/.config/pulse/cookie': Non hai tal ficheiro ou directorio
1714:Dec 26 11:45:39 beowulf pulseaudio[2934]: [pulseaudio] authkey.c: Failed to load authentication key '/home/jose/.config/pulse/cookie': Non hai tal ficheiro ou directorio
1715:Dec 26 11:45:39 beowulf pulseaudio[2934]: [pulseaudio] authkey.c: Failed to open cookie file '/home/jose/.pulse-cookie': Non hai tal ficheiro ou directorio
1716:Dec 26 11:45:39 beowulf pulseaudio[2934]: [pulseaudio] authkey.c: Failed to load authentication key '/home/jose/.pulse-cookie': Non hai tal ficheiro ou directorio
12402:Dec 29 10:37:53 beowulf dbus-daemon[1972]: [system] Activating service name='org.freedesktop.RealtimeKit1' requested by ':1.54' (uid=1000 pid=5887 comm="pulseaudio -D ") (using servicehelper)
14502:Dec 29 11:17:47 beowulf dbus-daemon[1854]: [system] Activating service name='org.freedesktop.RealtimeKit1' requested by ':1.45' (uid=1000 pid=4881 comm="pulseaudio ") (using servicehelper)

If I start a session I can start it normally opening a console with my user and typing: pulseaudio -D. After that woks fine but if I reboot pulseaudio fails to load again.

Possibly related with: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759810

-- 
Sent with https://mailfence.com
Secure and private email

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:18 +0000

#318: pulseaudio: autospawn is required on Beowulf (Ceres)

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: pulseaudio: autospawn is required on Beowulf (Ceres)
From: Gour <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
Date: Fri, 19 Apr 2019 06:49:20 +0200

Package: pulseaudio
Version: 12.2-4
Severity: important

Dear Maintainer,

   * What led up to the situation?

   I've PulseAudio selected as 'autostart', but there is no sound.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   * What was the outcome of this action?

   Inspecting my Beowulf system I noticed that only this was running:

   /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-
gnu/xfce4/panel/plugins/libpulseaudio-plugin.so 21 18874412 pulseaudio
PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system

   Moreover, attempt to start pavucontrol or mixer from the Xfce panel
   results in the mixer hanging with ""Establishing connection to
   PulseAudio" message.

   * What outcome did you expect instead?

   Running pulseaudio and working sound.

    However, I've found the solution to the problem by browsing Debian's
    bugtracker - see:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923203

    So, solution, for Beowulf and probably Ceres is to uncomment

    #00-disable-autospawn.conf

    line in $ /etc/pulse/client.conf.d/00-disable-autospawn.conf

    and then pulseaudio is correctly started as it is visible by:

    $ ps ax | grep pulse
 3587 ?        Sl
    0:03 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libpulseaudio-plugin.so
    21 18874412 pulseaudio PulseAudio Plugin Adjust the audio volume of
    the PulseAudio sound system
 3614 ?        S<l    0:00 /usr/bin/pulseaudio --start
    --log-target=syslog

-- Package-specific info:
File '/etc/default/pulseaudio' does not exist

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux beowulf/ceres
Release:	10
Codename:	n/a
Architecture: x86_64

Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=hr_HR.UTF-8, LC_CTYPE=hr_HR.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages pulseaudio depends on:
ii  adduser                      3.118
ii  libasound2                   1.1.8-1
ii  libasound2-plugins           1.1.8-1
ii  libc6                        2.28-8
ii  libcap2                      1:2.25-2
ii  libdbus-1-3                  1.12.12-1+devuan2
ii  libgcc1                      1:8.3.0-6
ii  libice6                      2:1.0.9-2
ii  libltdl7                     2.4.6-9
ii  liborc-0.4-0                 1:0.4.28-3.1
ii  libpulse0                    12.2-4
ii  libsm6                       2:1.2.3-1
ii  libsndfile1                  1.0.28-6
ii  libsoxr0                     0.1.2-3
ii  libspeexdsp1                 1.2~rc1.2-1+b2
ii  libstdc++6                   8.3.0-6
ii  libsystemd0                  241-3
ii  libtdb1                      1.3.16-2+b1
pn  libudev1                     <none>
ii  libwebrtc-audio-processing1  0.3-1
ii  libx11-6                     2:1.6.7-1
ii  libx11-xcb1                  2:1.6.7-1
ii  libxcb1                      1.13.1-2
ii  libxtst6                     2:1.2.3-1
ii  lsb-base                     10.2019031300
ii  pulseaudio-utils             12.2-4

Versions of packages pulseaudio recommends:
pn  dbus-user-session                <none>
ii  libpam-elogind [libpam-systemd]  234.4-2
ii  rtkit                            0.11-6

Versions of packages pulseaudio suggests:
pn  paman        <none>
pn  paprefs      <none>
ii  pavucontrol  3.0-4
pn  pavumeter    <none>
ii  udev         1:3.2.7+devuan1.1

-- no debconf information

--

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:24 +0000

#367: pulseaudio: /usr/bin/start-pulseaudio-x11 does not start pulseaudio in KDE (on beowulf) patch inside

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: pulseaudio: /usr/bin/start-pulseaudio-x11 does not start pulseaudio in KDE (on beowulf) patch inside
From: "Dr. Jan Hauss" <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
Date: Mon, 23 Dec 2019 17:16:46 +0100

Package: pulseaudio
Version: 12.2-4+deb10u1
Severity: normal

-- System Information:
Debian Release: 10.0
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages pulseaudio depends on:
ii  adduser                      3.118
ii  libasound2                   1.1.8-1
ii  libasound2-plugins           1:1.1.8-dmo1
ii  libc6                        2.28-10
ii  libcap2                      1:2.25-2
ii  libdbus-1-3                  1.12.16-1+devuan2
ii  libelogind0 [libsystemd0]    241.3-1
ii  libeudev1 [libudev1]         3.2.7-6
ii  libgcc1                      1:8.3.0-6
ii  libice6                      2:1.0.9-2
ii  libltdl7                     2.4.6-9
ii  liborc-0.4-0                 1:0.4.28-3.1
ii  libpulse0                    12.2-4+deb10u1
ii  libsm6                       2:1.2.3-1
ii  libsndfile1                  1.0.28-6
ii  libsoxr0                     0.1.2-3
ii  libspeexdsp1                 1.2~rc1.2-1+b2
ii  libstdc++6                   8.3.0-6
ii  libtdb1                      1.3.16-2+b1
ii  libudev1                     1:3.2.7+devuan1.1
ii  libwebrtc-audio-processing1  0.3-1
ii  libx11-6                     2:1.6.7-1
ii  libx11-xcb1                  2:1.6.7-1
ii  libxcb1                      1.13.1-2
ii  libxtst6                     2:1.2.3-1
ii  lsb-base                     10.2019051400
ii  pulseaudio-utils             12.2-4+deb10u1

Versions of packages pulseaudio recommends:
pn  dbus-user-session                <none>
ii  libpam-elogind [libpam-systemd]  241.3-1
ii  rtkit                            0.11-6

ii  eudev [udev]  3.2.7-6
pn  pavucontrol   <none>

Adding a line 
/usr/bin/pulseaudio --start --log-target=syslog
to 
/usr/bin/start-pulseaudio-x11

below

...
set -e

solves the problem that pulseaudio is not running automatically on KDE
beowulf after login in user context.

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:30 +0000

#375: pulseaudio not started in xfce for regular user

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: pulseaudio not started in xfce for regular user
From: Tito <[email-masked]>
To: [email-masked]
Date: Tue, 14 Jan 2020 22:09:03 +0100

Package: pulseaudio
Version: 12.2-4+deb10u1

Incorrect behavior: the .desktop file installed in
/etc/xdg/autostart/pulseaudio.desktop does not work correctly
for a regular user and pulseaudio is not started in xfce DE.
The .desktop file does start pulseaudio for the root user.

[Desktop Entry]
Version=1.0
Name=PulseAudio Sound System

omissis

Exec=start-pulseaudio-x11
Terminal=false
Type=Application
Categories=
GenericName=
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1

Partial fix:
changing Exec line to Exec=/usr/bin/pulseaudio --start
works for regular users but not for the  root user.

Calling a wrapper script like:

#!/bin/sh
if [ $(id -u) -eq 0 ] ; then
	start-pulseaudio-x11
else
	pulseaudio --start
fi

maybe could work for all users but i did not test it
and probably there is a more orthodox solution.

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:35 +0000

#378: libpulse0: pulseaudio disable autospawn by default on system without systemd

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: libpulse0: pulseaudio disable autospawn by default on system without systemd
From: Ludovic Bellière <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
Date: Tue, 21 Jan 2020 19:25:35 +0100

Package: libpulse0
Version: 12.2-4+deb10u1
Severity: normal

Dear Maintainer,

After upgrading from devuan ascii to beowulf, pulseaudio wouldn't spawn for
users session. It is due to the `autospawn` option contained in the file
/etc/pulse/client.conf.d/00-disable-autospawn.conf

The default configuration option for pulse audio on devuan should be to set
`autospawn` to `yes`.

Thanks.

-- System Information:
Debian Release: 10.0

Kernel: Linux 5.4.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR:fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:40 +0000

#403: Pulseaudio dont autostart(Beowulf)

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: Pulseaudio dont autostart(Beowulf)
From: Ian Dupuy <[email-masked]>
To: [email-masked]
Date: Wed, 26 Feb 2020 10:50:28 -0600

package: pulseaudio
version: 12.2-4+deb10u1

After upgrading to devuan beowulf I was testing and saw that pulseaudio did
not auto-start, the temporary solutions was to put pulseaudio -D in the
autostart. Then looking for a little more I found the solution in a
reddit(comments) post:

I had this problem on Debian unstable. Look if you have a file called
> /etc/pulse/client.conf.d/00-disable-autospawn.conf. If there is a line that
> says
>
>     autospawn=no
>
> comment it out (put a semicolon in front of it), like this:
>
>     ; autospawn=no
>
> Alternatively, check if in /etc/pulse/client.conf or your home config
> directory autospawn is disabled, and change that.
>
Similarly, instead of commenting on the option, I removed it, and the
problem was solved

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:44 +0000

#466: xfce4-settings: pulseaudio does not start despite it is enabled by xfce settings

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: xfce4-settings: pulseaudio does not start despite it is enabled by xfce settings
From: Ryutaroh Matsumoto <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
Date: Tue, 19 May 2020 13:56:26 +0900 (JST)

Package: xfce4-settings
Version: 4.12.4-1
Severity: normal

Dear Maintainer,

After fresh installment of Devuan Beowulf by RC netinstall ISO,
PulseAudio is enabled by xfce setting as the attached screenshot.
But ps ax | grep pulseaudio shows nothing,
and Pulse Audio Volume Control (pavucontrol) cannot connect
to the pulseaudio daemon.

My system can still use sound without pulseaudio,
e.g. by firefox.

Best regards, Ryutaroh Matsumoto

-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-9-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages xfce4-settings depends on:
ii  libc6                2.28-10
ii  libcairo2            1.16.0-4
ii  libdbus-1-3          1.12.16-1+devuan2
ii  libdbus-glib-1-2     0.110-4
ii  libexo-1-0           0.12.4-1
ii  libfontconfig1       2.13.1-2
ii  libgarcon-1-0        0.6.2-1
ii  libgarcon-common     0.6.2-1
ii  libgdk-pixbuf2.0-0   2.38.1+dfsg-1
ii  libglib2.0-0         2.58.3-2+deb10u2
ii  libgtk2.0-0          2.24.32-3
ii  libnotify4           0.7.7-4
ii  libpango-1.0-0       1.42.4-8~deb10u1
ii  libpangocairo-1.0-0  1.42.4-8~deb10u1
ii  libupower-glib3      0.99.10-1
ii  libx11-6             2:1.6.7-1
ii  libxcursor1          1:1.1.15-2
ii  libxfce4ui-1-0       4.12.1-3
ii  libxfce4util7        4.12.1-3
ii  libxfconf-0-2        4.12.1-1
ii  libxi6               2:1.7.9-1
ii  libxklavier16        5.4-4
ii  libxrandr2           2:1.5.1-1
ii  xfconf               4.12.1-1

Versions of packages xfce4-settings recommends:
ii  x11-utils  7.7+4

xfce4-settings suggests no packages.

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 03 Jun 2020 19:03:50 +0000

#473: pulseaudio: 00-disable-autospawn.conf needs a systemd specific line commented out.

reassign 480 pulseaudio
forcemerge 276 480

Thanks.

Closing

Mark

Subject: pulseaudio: 00-disable-autospawn.conf needs a systemd specific line commented out.
From: Paul Beardsell <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
Date: Fri, 22 May 2020 14:07:49 +0100

Package: pulseaudio
Version: 12.2-4+deb10u1
Severity: grave
Tags: a11y patch
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

*** End of the template - remove these template lines ***

Fresh Devuan install of beowulf.
Audio did not work.
The following patch needs to be applied to
/etc/pulse/client.conf.d/00-disable-autospawn.conf

diff --context=3 00-disable-autospawn.conf.0 00-disable-autospawn.conf
*** 00-disable-autospawn.conf.0	2019-08-15 16:21:19.000000000 +0100
--- 00-disable-autospawn.conf	2020-05-22 13:07:45.696629598 +0100
***************
*** 1,3 ****
  # On linux systems, disable autospawn by default
  # If you are not using systemd, comment out this line
! autospawn=no
--- 1,3 ----
  # On linux systems, disable autospawn by default
  # If you are not using systemd, comment out this line
! ### autospawn=no

-- System Information:
Distributor ID:	Debian

Kernel: Linux 4.19.0-9-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

ii  libelogind0 [libsystemd0]    241.4-2

Versions of packages pulseaudio recommends:
pn  dbus-user-session                <none>
ii  libpam-elogind [libpam-systemd]  241.4-2
ii  rtkit                            0.11-6

ii  paprefs       1.0-1