<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Package: pulseaudio</p>
<p>Version: 14.2<br>
</p>
<div class="moz-forward-container">Severity: serious</div>
<div class="moz-forward-container">Usertags: pulseaudio, alsa, sound
card, module-udev-detect, module-alsa-sink</div>
<div class="moz-forward-container"><br>
</div>
<div class="moz-forward-container">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 12px;" lang="x-unicode">BUG after update: PulseAudio:
`module-alsa-sink` cannot be loaded automatically by
`module-udev-detect` related also to `sudo alsa force-reload`
which does not solve the problem reporting fail to unload some
modules. <br>
<br>
The command `pactl load-module module-alsa-sink` works as
workaround. <br>
<br>
BUT when running `systemctl --user restart pulseaudio` reports
"no output device". <br>
<br>
<br>
`sudo alsa force-reload` <br>
<br>
Unloading ALSA sound driver modules: snd-hrtimer
snd-hda-codec-realtek snd-hda-codec-generic snd-hda-codec-hdmi
snd-hda-intel snd-intel-dspcfg snd-hda-codec snd-hda-core
snd-hwdep snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm
snd-seq snd-seq-device snd-timer (failed: modules still loaded:
snd-hrtimer snd-hda-codec-realtek snd-hda-codec-generic
snd-hda-codec-hdmi snd-hda-intel snd-intel-dspcfg snd-hda-codec
snd-hda-core snd-hwdep snd-soc-core snd-compress
snd-pcm-dmaengine snd-pcm snd-seq snd-seq-device snd-timer). <br>
Loading ALSA sound driver modules: snd-hrtimer
snd-hda-codec-realtek snd-hda-codec-generic snd-hda-codec-hdmi
snd-hda-intel snd-intel-dspcfg snd-hda-codec snd-hda-core
snd-hwdep snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm
snd-seq snd-seq-device snd-timer. <br>
<br>
<br>
`lsb_release -a` <br>
<br>
LSB Version:
core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch <br>
Distributor ID: Debian <br>
Description: Debian GNU/Linux 11 (bullseye) <br>
Release: 11 <br>
Codename: bullseye <br>
<br>
<br>
`pactl list short modules | grep detect' <br>
<br>
6 module-udev-detect <br>
7 module-alsa-card device_id="1" name="pci-0000_01_00.1"
card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false
tsched=yes fixed_latency_range=no ignore_dB=no
deferred_volume=yes use_ucm=yes avoid_resampling=no
card_properties="module-udev-detect.discovered=1" <br>
<br>
<br>
`pulseaudio -vv --log-time` <br>
<br>
( 0.000| 0.000) I: [pulseaudio] main.c:
setrlimit(RLIMIT_NICE, (31, 31)) failed <br>
( 0.000| 0.000) I: [pulseaudio] main.c:
setrlimit(RLIMIT_RTPRIO, (9, 9)) failed <br>
( 0.000| 0.000) D: [pulseaudio] core-rtclock.c: Timer slack
is set to 50 us. <br>
( 0.003| 0.003) D: [pulseaudio] core-util.c: RealtimeKit
worked. <br>
( 0.003| 0.000) I: [pulseaudio] core-util.c: Successfully
gained nice level -11. <br>
( 0.003| 0.000) I: [pulseaudio] main.c: This is PulseAudio
14.2 <br>
( 0.003| 0.000) D: [pulseaudio] main.c: Compilation CFLAGS:
-g -O2
-ffile-prefix-map=/build/pulseaudio-nxcwfw/pulseaudio-14.2=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-W -Wextra -pipe -Wno-long-long -Wno-overlength-strings
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op
-Wsign-compare -Wformat-security -Wmissing-include-dirs
-Wformat-nonliteral -Wpointer-arith -Winit-self
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
-Wredundant-decls -Wmissing-declarations -Wmissing-noreturn
-Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing
-Wwrite-strings -Wno-unused-parameter -fno-common
-fdiagnostics-show-option -fdiagnostics-color=auto <br>
( 0.003| 0.000) D: [pulseaudio] main.c: Running on host:
Linux x86_64 5.11.0-18-generic #19-Ubuntu SMP Fri May 7 14:22:03
UTC 2021 <br>
( 0.003| 0.000) D: [pulseaudio] main.c: Found 4 CPUs. <br>
( 0.003| 0.000) I: [pulseaudio] main.c: Page size is 4096
bytes <br>
( 0.003| 0.000) D: [pulseaudio] main.c: Compiled with
Valgrind support: no <br>
( 0.003| 0.000) D: [pulseaudio] main.c: Running in valgrind
mode: no <br>
( 0.003| 0.000) D: [pulseaudio] main.c: Running in VM: no <br>
( 0.003| 0.000) D: [pulseaudio] main.c: Running from build
tree: no <br>
( 0.003| 0.000) D: [pulseaudio] main.c: Optimized build: yes
<br>
( 0.003| 0.000) D: [pulseaudio] main.c: FASTPATH defined,
only fast path asserts disabled. <br>
( 0.003| 0.000) I: [pulseaudio] main.c: Machine ID is
04fff76710264d35b0a53ca6d1c7ff4d. <br>
( 0.003| 0.000) I: [pulseaudio] main.c: Session ID is c1. <br>
( 0.003| 0.000) I: [pulseaudio] main.c: Using runtime
directory /run/user/1000/pulse. <br>
( 0.003| 0.000) I: [pulseaudio] main.c: Using state
directory <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/elias<span
class="moz-txt-tag">/</span></i>.config/pulse. <br>
( 0.003| 0.000) I: [pulseaudio] main.c: Using modules
directory /usr/lib/pulse-14.2/modules. <br>
( 0.003| 0.000) I: [pulseaudio] main.c: Running in system
mode: no <br>
( 0.003| 0.000) E: [pulseaudio] pid.c: Daemon already
running. <br>
( 0.003| 0.000) E: [pulseaudio] main.c: failed
pa_pid_file_create(). <br>
<br>
<br>
` journalctl --user-unit=pulseaudio.service` <br>
<br>
.... <br>
<br>
Feb 07 01:41:19 eliasc pulseaudio[2033]: GetManagedObjects()
failed: org.freedesktop.systemd1.NoSuchUnit: Unit
dbus-org.bluez.service not found. <br>
Feb 07 15:32:41 eliasc pulseaudio[107870]: Sink output does not
exist. <br>
Feb 07 15:32:41 eliasc pulseaudio[107870]: Source input does not
exist. <br>
<br>
`journalctl -xe --user-unit pulseaudio` <br>
<br>
Feb 07 15:48:55 eliasc pulseaudio[110879]: module-detect is
deprecated: Please use module-udev-detect instead of
module-detect! <br>
Feb 07 15:48:55 eliasc pulseaudio[110879]: Failed to load module
"module-alsa-sink" (argument: "device_id=0"): initialization
failed. <br>
Feb 07 15:50:11 eliasc pulseaudio[110879]: module-detect is
deprecated: Please use module-udev-detect instead of
module-detect! <br>
Feb 07 15:50:11 eliasc pulseaudio[110879]: Failed to load module
"module-alsa-sink" (argument: "device_id=0"): initialization
failed. <br>
Feb 07 15:50:11 eliasc pulseaudio[110879]: Failed to load module
"module-alsa-source" (argument: "device_id=0"): initialization
failed. <br>
Feb 07 15:50:11 eliasc pulseaudio[110879]: failed to detect any
sound hardware. <br>
Feb 07 15:50:11 eliasc pulseaudio[110879]: Failed to load module
"module-detect" (argument: ""): initialization failed. <br>
Feb 07 15:50:13 eliasc pulseaudio[110879]: module-detect is
deprecated: Please use module-udev-detect instead of
module-detect! <br>
Feb 07 15:50:13 eliasc pulseaudio[110879]: Failed to load module
"module-alsa-sink" (argument: "device_id=0"): initialization
failed. <br>
Feb 07 15:50:41 eliasc pulseaudio[110879]: fail to open
load-module.so: load-module.so: cannot open shared object file <br>
Feb 07 15:50:41 eliasc pulseaudio[110879]: Failed to open module
"load-module". <br>
Feb 07 15:50:43 eliasc pulseaudio[110879]: fail to open
load-module.so: load-module.so: cannot open shared object file <br>
Feb 07 15:50:43 eliasc pulseaudio[110879]: Failed to open module
"load-module". <br>
Feb 07 15:50:43 eliasc pulseaudio[110879]: fail to open
load-module.so: load-module.so: cannot open shared object file <br>
Feb 07 15:50:43 eliasc pulseaudio[110879]: Failed to open module
"load-module". <br>
Feb 07 15:50:44 eliasc pulseaudio[110879]: fail to open
load-module.so: load-module.so: cannot open shared object file <br>
Feb 07 15:50:44 eliasc pulseaudio[110879]: Failed to open module
"load-module". <br>
Feb 07 15:50:45 eliasc pulseaudio[110879]: fail to open
load-module.so: load-module.so: cannot open shared object file <br>
Feb 07 15:50:45 eliasc pulseaudio[110879]: Failed to open module
"load-module". <br>
Feb 07 15:50:54 eliasc pulseaudio[110879]: Failed to load module
"module-alsa-source" (argument: "device=hw:1,0"): initialization
failed. <br>
Feb 07 15:51:23 eliasc pulseaudio[110879]: Module
"module-device-restore" should be loaded once at most. Refusing
to load. <br>
Feb 07 15:51:29 eliasc pulseaudio[110879]: Module
"module-stream-restore" should be loaded once at most. Refusing
to load. <br>
Feb 07 15:51:38 eliasc pulseaudio[110879]: Module
"module-augment-properties" should be loaded once at most.
Refusing to load. <br>
Feb 07 15:51:44 eliasc pulseaudio[110879]: Module
"module-switch-on-port-available" should be loaded once at most.
Refusing to load. <br>
Feb 07 15:52:06 eliasc pulseaudio[110879]: Error opening PCM
device front:0 <br>
<br>
`cat /proc/asound/cards' <br>
0 [PCH ]: HDA-Intel - HDA Intel PCH <br>
HDA Intel PCH at 0xf7210000 irq 34 <br>
1 [NVidia ]: HDA-Intel - HDA NVidia <br>
HDA NVidia at 0xf7080000 irq 17 <br>
<br>
' cat /proc/asound/card0/codec#2 | grep Codec' <br>
Codec: Realtek ALC887-VD <br>
<br>
'lsmod | grep snd_hda_intel' <br>
snd_hda_intel 53248 4 <br>
snd_intel_dspcfg 28672 1 snd_hda_intel <br>
snd_hda_codec 147456 4
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek<br>
snd_hda_core 94208 5
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek<br>
snd_pcm 118784 9
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine<br>
snd 94208 19
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm<br>
<br>
<br>
`pactl list cards` <br>
<br>
Card #0 <br>
Name: alsa_card.pci-0000_01_00.1 <br>
Driver: module-alsa-card.c <br>
part: 7 <br>
Properties: <br>
alsa.card = "1" <br>
alsa.card_name = "HDA NVidia" <br>
alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
<br>
alsa.driver_name = "snd_hda_intel" <br>
device.bus_path = "pci-0000:01:00.1" <br>
sysfs.path =
"/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1" <br>
device.bus = "pci" <br>
device.vendor.id = "10de" <br>
device.vendor.name = "NVIDIA Corporation" <br>
device.product.id = "0fb8" <br>
device.product.name = "GP108 High Definition Audio
Controller" <br>
device.string = "1" <br>
device.description = "GP108 High Definition Audio
Controller" <br>
module-udev-detect.discovered = "1" <br>
device.icon_name = "audio-card-pci" <br>
parts: <br>
output:hdmi-stereo: Έξοδος Digital Stereo (HDMI) (sinks:
1, sources: 0, priority: 5900, available: no) <br>
output:hdmi-surround: Έξοδος Digital Surround 5.1 (HDMI)
(sinks: 1, sources: 0, priority: 800, available: no) <br>
output:hdmi-surround71: Έξοδος Digital Surround 7.1
(HDMI) (sinks: 1, sources: 0, priority: 800, available: no) <br>
output:hdmi-stereo-extra1: Έξοδος Digital Stereo (HDMI
2) (sinks: 1, sources: 0, priority: 5700, available: no) <br>
output:hdmi-surround-extra1: Έξοδος Digital Surround 5.1
(HDMI 2) (sinks: 1, sources: 0, priority: 600, available: no) <br>
output:hdmi-surround71-extra1: Έξοδος Digital Surround
7.1 (HDMI 2) (sinks: 1, sources: 0, priority: 600, available:
no) <br>
output:hdmi-stereo-extra2: Έξοδος Digital Stereo (HDMI
3) (sinks: 1, sources: 0, priority: 5700, available: no) <br>
output:hdmi-surround-extra2: Έξοδος Digital Surround 5.1
(HDMI 3) (sinks: 1, sources: 0, priority: 600, available: no) <br>
output:hdmi-surround71-extra2: Έξοδος Digital Surround
7.1 (HDMI 3) (sinks: 1, sources: 0, priority: 600, available:
no) <br>
output:hdmi-stereo-extra3: Έξοδος Digital Stereo (HDMI
4) (sinks: 1, sources: 0, priority: 5700, available: no) <br>
output:hdmi-surround-extra3: Έξοδος Digital Surround 5.1
(HDMI 4) (sinks: 1, sources: 0, priority: 600, available: no) <br>
output:hdmi-surround71-extra3: Έξοδος Digital Surround
7.1 (HDMI 4) (sinks: 1, sources: 0, priority: 600, available:
no) <br>
output:hdmi-stereo-extra4: Έξοδος Digital Stereo (HDMI
5) (sinks: 1, sources: 0, priority: 5700, available: no) <br>
output:hdmi-surround-extra4: Έξοδος Digital Surround 5.1
(HDMI 5) (sinks: 1, sources: 0, priority: 600, available: no) <br>
output:hdmi-surround71-extra4: Έξοδος Digital Surround
7.1 (HDMI 5) (sinks: 1, sources: 0, priority: 600, available:
no) <br>
off: Ανενεργό (sinks: 0, sources: 0, priority: 0,
available: yes) <br>
is active: off <br>
Ports: <br>
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority:
5900, latency offset: 0 usec, not available) <br>
Properties: <br>
device.icon_name = "video-display" <br>
part: output:hdmi-stereo, output:hdmi-surround,
output:hdmi-surround71 <br>
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI,
priority: 5800, latency offset: 0 usec, not available) <br>
Properties: <br>
device.icon_name = "video-display" <br>
part: output:hdmi-stereo-extra1,
output:hdmi-surround-extra1, output:hdmi-surround71-extra1 <br>
hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI,
priority: 5700, latency offset: 0 usec, not available) <br>
Properties: <br>
device.icon_name = "video-display" <br>
Τμήμα των κατατομών: output:hdmi-stereo-extra2,
output:hdmi-surround-extra2, output:hdmi-surround71-extra2 <br>
hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI,
priority: 5600, latency offset: 0 usec, not available) <br>
Properties: <br>
device.icon_name = "video-display" <br>
Part: output:hdmi-stereo-extra3,
output:hdmi-surround-extra3, output:hdmi-surround71-extra3 <br>
hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI,
priority: 5500, latency offset: 0 usec, not available) <br>
Properties: <br>
device.icon_name = "video-display" <br>
Part: output:hdmi-stereo-extra4,
output:hdmi-surround-extra4, output:hdmi-surround71-extra4 <br>
<br>
` pactl list sinks ` <br>
Sink #0 <br>
State: RUNNING <br>
Name: auto_null <br>
Description: Εικονική έξοδος <br>
Driver: module-null-sink.c <br>
Sample Specification: s16le 2ch 44100Hz <br>
Channel Map: front-left,front-right <br>
Owner Module: 12 <br>
Mute: no <br>
Volume: front-left: 65536 / 100% / 0.00 dB, front-right:
65536 / 100% / 0.00 dB <br>
balance 0.00 <br>
Base Volume: 65536 / 100% / 0.00 dB <br>
Monitor Source: auto_null.monitor <br>
Latency: 11876 usec, configured 23220 usec <br>
Flags: DECIBEL_VOLUME LATENCY SET_FORMATS <br>
Properties: <br>
device.description = "Εικονική έξοδος" <br>
device.class = "abstract" <br>
device.icon_name = "audio-card" <br>
Formats: <br>
pcm <br>
<br>
`pactl load-module module-alsa-sink` <br>
<br>
<br>
`sudo gedit /etc/pulse/default.pa` <br>
<br>
#!/usr/bin/pulseaudio -nF <br>
# <br>
# This file is part of PulseAudio. <br>
# <br>
# PulseAudio is free software; you can redistribute it and/or
modify it <br>
# under the terms of the GNU Lesser General Public License as
published by <br>
# the Free Software Foundation; either version 2 of the License,
or <br>
# (at your option) any later version. <br>
# <br>
# PulseAudio is distributed in the hope that it will be useful,
but <br>
# WITHOUT ANY WARRANTY; without even the implied warranty of <br>
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU <br>
# General Public License for more details. <br>
# <br>
# You should have received a copy of the GNU Lesser General
Public License <br>
# along with PulseAudio; if not, see <a
class="moz-txt-link-rfc2396E"
href="http://www.gnu.org/licenses/" moz-do-not-send="true"><http://www.gnu.org/licenses/></a>.
<br>
<br>
# This startup script is used only if PulseAudio is started
per-user <br>
# (i.e. not in system mode) <br>
<br>
.fail <br>
<br>
### Automatically restore the volume of streams and devices <br>
load-module module-device-restore <br>
load-module module-stream-restore <br>
load-module module-card-restore <br>
<br>
### Automatically augment property information from .desktop
files <br>
### stored in /usr/share/application <br>
load-module module-augment-properties <br>
<br>
### Should be after module-*-restore but before module-*-detect
<br>
load-module module-switch-on-port-available <br>
<br>
### Use hot-plugged devices like Bluetooth or USB automatically
(LP: #1702794) <br>
.ifexists module-switch-on-connect.so <br>
load-module module-switch-on-connect <br>
.endif <br>
<br>
### Load audio drivers statically <br>
### (it's probably better to not load these drivers manually,
but instead <br>
### use module-udev-detect -- see below -- for doing this
automatically) <br>
#load-module module-alsa-sink <br>
#load-module module-alsa-source device=hw:1,0 <br>
#load-module module-oss device="/dev/dsp" sink_name=output
source_name=input <br>
#load-module module-oss-mmap device="/dev/dsp" sink_name=output
source_name=input <br>
#load-module module-null-sink <br>
#load-module module-pipe-sink <br>
<br>
### Automatically load driver modules depending on the hardware
available <br>
.ifexists module-udev-detect.so <br>
load-module module-udev-detect <br>
.else <br>
### Use the static hardware detection module (for systems that
lack udev support) <br>
load-module module-detect <br>
.endif <br>
<br>
### Automatically connect sink and source if JACK server is
present <br>
.ifexists module-jackdbus-detect.so <br>
.nofail <br>
load-module module-jackdbus-detect channels=2 <br>
.fail <br>
.endif <br>
<br>
### Automatically load driver modules for Bluetooth hardware <br>
.ifexists module-bluetooth-policy.so <br>
#load-module module-bluetooth-policy <br>
.endif <br>
<br>
.ifexists module-bluetooth-discover.so <br>
#load-module module-bluetooth-discover <br>
.endif <br>
<br>
### Load several protocols <br>
.ifexists module-esound-protocol-unix.so <br>
load-module module-esound-protocol-unix <br>
.endif <br>
load-module module-native-protocol-unix <br>
<br>
### Network access (may be configured with paprefs, so leave
this commented <br>
### here if you plan to use paprefs) <br>
#load-module module-esound-protocol-tcp <br>
#load-module module-native-protocol-tcp <br>
#load-module module-zeroconf-publish <br>
<br>
### Load the RTP receiver module (also configured via paprefs,
see above) <br>
#load-module module-rtp-recv <br>
<br>
### Load the RTP sender module (also configured via paprefs, see
above) <br>
#load-module module-null-sink sink_name=rtp format=s16be
channels=2 rate=44100 sink_properties="device.description='RTP
Multicast Sink'" <br>
#load-module module-rtp-send source=rtp.monitor <br>
<br>
### Load additional modules from GSettings. This can be
configured with the paprefs tool. <br>
### Please keep in mind that the modules configured by paprefs
might conflict with manually <br>
### loaded modules. <br>
.ifexists module-gsettings.so <br>
.nofail <br>
load-module module-gsettings <br>
.fail <br>
.endif <br>
<br>
<br>
### Automatically restore the default sink/source when changed
by the user <br>
### during runtime <br>
### NOTE: This should be loaded as early as possible so that
subsequent modules <br>
### that look up the default sink/source get the right value <br>
load-module module-default-device-restore <br>
<br>
### Make sure we always have a sink around, even if it is a null
sink. <br>
load-module module-always-sink <br>
<br>
### Honour intended role device property <br>
load-module module-intended-roles <br>
<br>
### Automatically suspend sinks/sources that become idle for too
long <br>
load-module module-suspend-on-idle <br>
<br>
### If autoexit on idle is enabled we want to make sure we only
quit <br>
### when no local session needs us anymore. <br>
.ifexists module-console-kit.so <br>
load-module module-console-kit <br>
.endif <br>
.ifexists module-systemd-login.so <br>
load-module module-systemd-login <br>
.endif <br>
<br>
### Enable positioned event sounds <br>
load-module module-position-event-sounds <br>
<br>
### Cork music/video streams when a phone stream is active <br>
load-module module-role-cork <br>
<br>
### Block audio recording for snap confined packages unless they
have <br>
### the "pulseaudio" or "audio-record" interfaces plugged. <br>
.ifexists module-snap-policy.so <br>
load-module module-snap-policy <br>
.endif <br>
<br>
### Modules to allow autoloading of filters (such as echo
cancellation) <br>
### on demand. module-filter-heuristics tries to determine what
filters <br>
### make sense, and module-filter-apply does the heavy-lifting
of <br>
### loading modules and rerouting streams. <br>
load-module module-filter-heuristics <br>
load-module module-filter-apply <br>
<br>
### Make some devices default <br>
set-default-sink output <br>
set-default-source input <br>
<br>
<br>
Sincerely, <br>
<br>
Elias Tsolis <br>
<br>
Statistician / Psychologist <br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</div>
</body>
</html>