Hello, I got similar issue, I am using this in default.pa

### Enable echo/noise cancellation
load-module module-echo-cancel aec_method=webrtc 
aec_args="analog_gain_control=0 digital_gain_control=1" 
source_name=echocancelledsource 
set-default-source echocancelledsource

It works when I use pulseaudio -k in terminal, echo cancelled
sink/sources are shown and the echo cancelled source is default. This
also retains on log off and re login but after a restart it does not
apply at all.

For now my solution is to add a entry to gnome startup application
preferences as "pulseaudio echo cancel" and use this in command
"pulseaudio -k".

I tried using "sleep 5/10/30 && pulseaudio -k" as command but no matter
what sleep seconds it didn't load module at all, only using the command
without sleep works.

This method also retains volume/state of echo cancelled sources so it's
fine for now hope it gets fixed soon officially.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1916851

Title:
  module-echo-cancel fails on first run

Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  I have the following in `.config/pulse/default.pa`:

  ```
  .include /etc/pulse/default.pa
  load-module module-echo-cancel aec_method=webrtc 
aec_args="analog_gain_control=0 digital_gain_control=1"
  ```

  After a reboot, there is no echo cancelled device.

  And then I run `systemctl --user restart pulseaudio` and the echo
  cancelled devices appear.

  That's a bit of a hassle.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: pulseaudio 1:13.99.2-1ubuntu2.3
  ProcVersionSignature: Ubuntu 5.8.0-44.50-generic 5.8.18
  Uname: Linux 5.8.0-44-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu50.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  shahar    39906 F.... pulseaudio
   /dev/snd/controlC1:  shahar    39906 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb 25 16:05:48 2021
  InstallationDate: Installed on 2010-10-12 (3788 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  SourcePackage: pulseaudio
  UpgradeStatus: Upgraded to groovy on 2020-10-25 (122 days ago)
  dmi.bios.date: 10/24/2018
  dmi.bios.release: 5.11
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2.1a
  dmi.board.asset.tag: Default string
  dmi.board.name: X10SRA
  dmi.board.vendor: Supermicro
  dmi.board.version: 1.01
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 17
  dmi.chassis.vendor: Supermicro
  dmi.chassis.version: 0123456789
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2.1a:bd10/24/2018:br5.11:svnSupermicro:pnX10SRA:pvr0123456789:rvnSupermicro:rnX10SRA:rvr1.01:cvnSupermicro:ct17:cvr0123456789:
  dmi.product.family: Default string
  dmi.product.name: X10SRA
  dmi.product.sku: Default string
  dmi.product.version: 0123456789
  dmi.sys.vendor: Supermicro
  modified.conffile..etc.pulse.system.pa: [modified]
  mtime.conffile..etc.pulse.system.pa: 2021-02-20T16:50:24.134862

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1916851/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to