Skip to content

Instantly share code, notes, and snippets.

@FDrico
FDrico / lognoisetorch
Created July 19, 2020 15:32
log noisetorch
$ journalctl -n300 --no-pager -b /usr/bin/pulseaudio
-- Logs begin at Sat 2020-03-21 12:37:07 -03, end at Sun 2020-07-19 12:30:54 -03. --
jul 19 12:28:36 fede-dk pulseaudio[11451]: E: [pulseaudio] module-snap-policy.c: AppArmor profile could not be retrieved.
jul 19 12:28:36 fede-dk pulseaudio[11451]: E: [pulseaudio] module-snap-policy.c: AppArmor profile could not be retrieved.
jul 19 12:28:36 fede-dk pulseaudio[11451]: E: [pulseaudio] module-snap-policy.c: AppArmor profile could not be retrieved.
jul 19 12:28:36 fede-dk pulseaudio[11451]: E: [pulseaudio] module-snap-policy.c: AppArmor profile could not be retrieved.
jul 19 12:28:36 fede-dk pulseaudio[11451]: E: [pulseaudio] module-snap-policy.c: AppArmor profile could not be retrieved.
jul 19 12:28:36 fede-dk pulseaudio[11451]: E: [pulseaudio] module-snap-policy.c: AppArmor profile could not be retrieved.
jul 19 12:28:36 fede-dk pulseaudio[11451]: E: [pulseaudio] module-snap-policy.c: AppArmor profile could not be retrieved.
jul 19 12:28:36 fede-dk pulseaud
$ pacmd list-sources
8 source(s) available.
index: 0
name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY
state: RUNNING
suspend cause: (none)
priority: 1030
volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
@FDrico
FDrico / default.pa
Created July 19, 2020 16:02
pulsaudio config file
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
$ journalctl -b /usr/bin/pulseaudio | grep -v AppArmor
-- Logs begin at Sat 2020-03-21 12:37:07 -03, end at Sun 2020-07-19 13:14:30 -03. --
jul 18 22:55:08 fede-dk pulseaudio[1259]: E: [alsa-source-ALC887-VD Analog] module-echo-cancel.c: Doing resync
jul 18 22:55:08 fede-dk pulseaudio[1259]: E: [alsa-source-ALC887-VD Analog] module-echo-cancel.c: Playback too far ahead (4359), drop source 556
jul 18 22:55:08 fede-dk pulseaudio[1259]: E: [pulseaudio] main.c: Source record_mon does not exist.
jul 18 22:55:08 fede-dk pulseaudio[1259]: E: [alsa-source-ALC887-VD Analog] alsa-source.c: ALSA woke us up to read new data from the device, but there was actually nothing to read.
jul 18 22:55:08 fede-dk pulseaudio[1259]: E: [alsa-source-ALC887-VD Analog] alsa-source.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
jul 18 22:55:08 fede-dk pulseaudio[1259]: E: [alsa-source-ALC887-VD Analog] alsa-source.c: We were woken up with POLLIN set -- however a subseque
2020/07/19 13:34:38 Application starting. Version: 0.5.1-beta
2020/07/19 13:34:38 Checking if config needs to be initialized
2020/07/19 13:34:38 Couldn't resolve $XDG_CONFIG_HOME falling back to '/home/fede/.config'
2020/07/19 13:34:38 Wrote temp librnnoise to: /tmp/librnnoise-485334952.so
2020/07/19 13:34:38 Couldn't resolve $XDG_CONFIG_HOME falling back to '/home/fede/.config'
2020/07/19 13:34:38 Resolved $XDG_RUNTIME_DIR to '/run/user/1000'
2020/07/19 13:34:38 Couldn't resolve $XDG_CONFIG_HOME falling back to '/home/fede/.config'
2020/07/19 13:34:38 Checking for updates
2020/07/19 13:34:38 Input alsa_output.pci-0000_00_1f.3.analog-stereo.monitor, {Index:0 Name:alsa_output.pci-0000_00_1f.3.analog-stereo.monitor Description:Monitor of Built-in Audio Analog Stereo SampleSpec:{Format:3 Channels:2 Rate:44100} ChannelMap:[1 2] ModuleIndex:8 Cvolume:[65536 65536] Muted:false MonitorSourceIndex:0 MonitorSourceName:alsa_output.pci-0000_00_1f.3.analog-stereo Latency:0 Driver:module-alsa-card.c Flags:34 PropList:map[
2020/07/19 13:34:38 Application starting. Version: 0.5.1-beta
2020/07/19 13:34:38 Checking if config needs to be initialized
2020/07/19 13:34:38 Couldn't resolve $XDG_CONFIG_HOME falling back to '/home/fede/.config'
2020/07/19 13:34:38 Wrote temp librnnoise to: /tmp/librnnoise-485334952.so
2020/07/19 13:34:38 Couldn't resolve $XDG_CONFIG_HOME falling back to '/home/fede/.config'
2020/07/19 13:34:38 Resolved $XDG_RUNTIME_DIR to '/run/user/1000'
2020/07/19 13:34:38 Couldn't resolve $XDG_CONFIG_HOME falling back to '/home/fede/.config'
2020/07/19 13:34:38 Checking for updates
2020/07/19 13:34:38 Input alsa_output.pci-0000_00_1f.3.analog-stereo.monitor, {Index:0 Name:alsa_output.pci-0000_00_1f.3.analog-stereo.monitor Description:Monitor of Built-in Audio Analog Stereo SampleSpec:{Format:3 Channels:2 Rate:44100} ChannelMap:[1 2] ModuleIndex:8 Cvolume:[65536 65536] Muted:false MonitorSourceIndex:0 MonitorSourceName:alsa_output.pci-0000_00_1f.3.analog-stereo Latency:0 Driver:module-alsa-card.c Flags:34 PropList:map[
jul 19 17:55:21 fede-dk pulseaudio[7870]: Channel matrix:
jul 19 17:55:21 fede-dk pulseaudio[7870]: I00 I01
jul 19 17:55:21 fede-dk pulseaudio[7870]: +------------
jul 19 17:55:21 fede-dk pulseaudio[7870]: O00 | 0,500 0,500
jul 19 17:55:21 fede-dk pulseaudio[7870]: Using stereo to mono remapping
jul 19 17:55:21 fede-dk pulseaudio[7870]: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
jul 19 17:55:21 fede-dk pulseaudio[7870]: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
jul 19 17:55:21 fede-dk pulseaudio[7870]: Created output 3 "Peak detect" on alsa_input.pci-0000_00_1f.3.analog-stereo with sample spec float32le 1ch 25Hz and channel map mono
jul 19 17:55:21 fede-dk pulseaudio[7870]: media.name = "Peak detect"
jul 19 17:55:21 fede-dk pulseaudio[7870]: application.name = "PulseAudio Volume Control"
jul 19 17:56:20 fede-dk pulseaudio[7870]: [nui_mic_raw_in] Updated sampling rate to 44096 Hz.
jul 19 17:56:30 fede-dk pulseaudio[7870]: Loopback overall latency is 29,57 ms + 44,27 ms + 0,09 ms = 73,81 ms
jul 19 17:56:30 fede-dk pulseaudio[7870]: Loopback latency at base rate is 73,81 ms
jul 19 17:56:30 fede-dk pulseaudio[7870]: [nui_mic_raw_in] Updated sampling rate to 44099 Hz.
jul 19 17:56:40 fede-dk pulseaudio[7870]: Loopback overall latency is 24,93 ms + 48,98 ms + 0,13 ms = 73,90 ms
jul 19 17:56:40 fede-dk pulseaudio[7870]: Loopback latency at base rate is 73,90 ms
jul 19 17:56:40 fede-dk pulseaudio[7870]: [nui_mic_raw_in] Updated sampling rate to 44099 Hz.
jul 19 17:56:50 fede-dk pulseaudio[7870]: Loopback overall latency is 19,71 ms + 54,24 ms + 0,04 ms = 73,89 ms
jul 19 17:56:50 fede-dk pulseaudio[7870]: Loopback latency at base rate is 73,89 ms
jul 19 17:56:50 fede-dk pulseaudio[7870]: [nui_mic_raw_in] Updated sampling rate to 44099 Hz.
2020/07/19 17:59:33 Unloading pulseaudio modules
2020/07/19 17:59:33 Searching for null-sink
2020/07/19 17:59:33 Found null-sink at id [24], sending unload command
2020/07/19 17:59:33 Searching for ladspa-sink
2020/07/19 17:59:33 Found ladspa-sink at id [25], sending unload command
2020/07/19 17:59:34 Searching for loopback
2020/07/19 17:59:34 Found loopback at id [26], sending unload command
2020/07/19 17:59:34 Searching for remap-source
2020/07/19 17:59:34 Found remap source at id [27], sending unload command
2020/07/19 17:59:36 Deleted temp librnnoise: /tmp/librnnoise-711317433.so
jul 19 18:06:43 fede-dk pulseaudio[7870]: Created 7 "Native client (UNIX socket client)"
jul 19 18:06:43 fede-dk pulseaudio[7870]: Protocol version: remote 32, local 33
jul 19 18:06:43 fede-dk pulseaudio[7870]: Got credentials: uid=65534 gid=65534 success=0
jul 19 18:06:43 fede-dk pulseaudio[7870]: SHM possible: yes
jul 19 18:06:43 fede-dk pulseaudio[7870]: Negotiated SHM: no
jul 19 18:06:43 fede-dk pulseaudio[7870]: Disabling srbchannel, reason: No SHM support
jul 19 18:06:53 fede-dk pulseaudio[7870]: Created sink 5 "nui_mic_denoised_out" with sample spec s16le 2ch 48000Hz and channel map front-left,front-right
jul 19 18:06:53 fede-dk pulseaudio[7870]: device.description = "Null Output"
jul 19 18:06:53 fede-dk pulseaudio[7870]: device.class = "abstract"
jul 19 18:06:53 fede-dk pulseaudio[7870]: device.icon_name = "audio-card"