Linux Lite Forums

Hardware - Support => Sound => Topic started by: j8a on May 06, 2021, 03:28:46 PM

Title: libasound2 not working after update
Post by: j8a on May 06, 2021, 03:28:46 PM
Hi,
Today I did an update, Thunderbird was updated.
Then, I realize that the sound is lost, the volume control pops up frequently, whether I check the configuration in the Manual and run alsamixer I have no idea what is happening.
I upload the report of my system in order to recieve any help.
I could see the sound in the audio control panel and also while I run a test in the terminal with the command:
speaker-test -c 2


Regards
Title: Re: libasound2 not working after update
Post by: j8a on May 07, 2021, 09:25:46 AM
I recieved the updates attached today.
I did try to listen mp3 files with vlc, but I have no success.
I also check the audio on the speakers with another pc, I can hear videos and audio without problems.

I booted on a different kernel BTW, but nothing happened.

That's all for today, regards.
Title: Re: libasound2 not working after update
Post by: j8a on May 07, 2021, 11:30:18 AM
I also tried to boot on live LL 5.0 and the same problem continues.

Then, under LL 5.4 I run journalctl -f and the following message appeared:

jochoa-pc pulseaudio[2275]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply.
Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply,
the reply timeout expired, or the network connection was broken.jochoa-pc pulseaudio[2275]: GetManagedObjects()
failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply,
the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I could not saw any messages running journalctl -f whether I tried to play either a mp3 music track or a Youtube video.

I also run lsmod | grep video and lsmod | grep audio and the terminal outputs where the following:

lsmod | grep audio
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek

lsmod | grep video
video                  49152  1 nouveau

Hope this help, regards.
Title: Re: libasound2 not working after update
Post by: TheDead on May 10, 2021, 08:04:20 AM
Hi!
Could be old news since I used this in 4.x, but...
If you have your monitor in HDMI, it could be that the output tries to go there, check in the audio outputs that the right one is selected.
You could also try this... when everything is closed, open a terminal and do : sudo pulseaudio -k (or --k, can't remember) to "kill" the audio outputs, running an application after should restart this process automatically.
Title: Re: libasound2 not working after update
Post by: j8a on May 10, 2021, 09:38:02 AM
Hi @TheDead ,
Thank you for your answer.

I tried sudo pulseaudio -k and the following message apperared.
 [pulseaudio] main.c: The daemon could not be stopped. The process does not exists.

I also tried,
systemctl status pulseaudio-enable-autospawn.service
● pulseaudio-enable-autospawn.service
     Loaded: masked (Reason: Unit pulseaudio-enable-autospawn.service is masked>
     Active: inactive (dead)

At last I run,
journalctl -f -t pulseaudio and the following message appeared:
may 10 09:23:23 jochoa-pc pulseaudio[2251]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I have PolicyKit Authentication Agent enable in the Session and Startup section under autostart commands, while the system is booting.
I also the following autostart commands in this panel.
System Sound Pulse Audio
Login Sound (which I can not hear anymore)



Regards
Title: Re: libasound2 not working after update
Post by: j8a on May 10, 2021, 10:08:43 AM
Hi, @TheDead, you were right about the external monitor, you made me tought that there is something missing on my BIOS configuration and at last I remember what is it.
I am ashamed because I ckeck the BIOS settings and i have the video and sound card in PCI instead of on board, because I tried to install another video card unsuccessfully and forgot to change this setting.

Although the change was fine and the output of
sudo pulseaudio --kill whas done, the problem persist with the audio.

This is the output of the the following terminal command:
pulseaudio --dump-conf
### Leyendo desde el archivo de confioguración: /etc/pulse/daemon.conf ###
daemonize = no
fail = yes
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
allow-module-loading = yes
allow-exit = yes
use-pid-file = yes
system-instance = no
local-server-type = user
cpu-limit = no
enable-shm = yes
flat-volumes = no
rescue-streams = yes
lock-memory = no
exit-idle-time = 20
scache-idle-time = 20
dl-search-path = /usr/lib/pulse-13.99.1/modules
default-script-file = /etc/pulse/default.pa
load-default-script-file = yes
log-target =
log-level = notice
resample-method = auto
avoid-resampling = no
enable-remixing = yes
remixing-use-all-sink-channels = yes
remixing-produce-lfe = no
remixing-consume-lfe = no
lfe-crossover-freq = 0
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 4
default-fragment-size-msec = 25
enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
deferred-volume-extra-delay-usec = 0
shm-size-bytes = 0
log-meta = no
log-time = no
log-backtrace = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-rss = -1
rlimit-as = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 200000

The other output I posted above are valid.

I could add the output of the comand lspci -v
00:05.0 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2)
   Subsystem: ASRock Incorporation MCP61 High Definition Audio
   Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21, NUMA node 0
   Memory at efdf8000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: <access denied>
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel

Regards,
Title: Re: libasound2 not working after update
Post by: j8a on May 14, 2021, 11:46:51 AM
Hi,
I found the issue for my audio card, after a couple of weeks the libasound2 package was updated and since the I lost the output sound.

I tried to downgrade the package but I recieve a message that I have broken dependencies unmet.

Afterwards, I installed libasound2-dev and run a program suggested by the website https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/BrokenDrivers/ (https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/BrokenDrivers/)

I followed the instructions and send the report. I tried my best.

Regards
Title: Re: libasound2 not working after update
Post by: Moltke on May 14, 2021, 07:22:46 PM
Hi @TheDead ,
Thank you for your answer.

I tried sudo pulseaudio -k and the following message apperared.
 [pulseaudio] main.c: The daemon could not be stopped. The process does not exists.

There's no need to run this command with sudo
Code: [Select]
pulseaudio -k and then
Code: [Select]
pulseaudio --start will do just fine, pulseaudio is a user's service not a system's one, thus it can be managed by your user without sudo.

Quote
I also tried,
systemctl status pulseaudio-enable-autospawn.service
● pulseaudio-enable-autospawn.service
     Loaded: masked (Reason: Unit pulseaudio-enable-autospawn.service is masked>
     Active: inactive (dead)

Here, you're just asking systemd for the status of the service, and it has no effect on it, in short, it is an informative command to query whether a service is enabled, disabled, running, active, loaded, dead, inactive, but it doesn't change its status or solve anything. BTW, that service is masked for a reason, meaning it is disabled by default, and you should leave it as is. What you probably want to do here is
Code: [Select]
systemctl --user restart pulseaudio.service Read man systemctl and here https://wiki.archlinux.org/title/Systemctl

Quote
At last I run,
journalctl -f -t pulseaudio and the following message appeared:
may 10 09:23:23 jochoa-pc pulseaudio[2251]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


Regards

This one should be run either as root or with sudo
Code: [Select]
sudo journalctl -f -t pulseaudio since the dir where it gets the input /var/log it's owned by root, otherwise you get that error.  Read here https://wiki.archlinux.org/title/Systemd/Journal

What's the output of
Code: [Select]
pactl info this should tell you whether pulseaudio is running or not.
Title: Re: libasound2 not working after update
Post by: j8a on May 15, 2021, 11:20:59 AM
Hi @Moltke ,
Thank you for answer my question.
The problem is described in the following post:
https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Pulse_overwrites_ALSA_settings (https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Pulse_overwrites_ALSA_settings)

Daemon is already running.
Pulseaudio maybe started by multiple times.
I checked the files but I have no idea on what I have to change in order to solve the problem.
I wish whether you could help me to fix the problem.

Regards,
Title: Re: libasound2 not working after update
Post by: Moltke on May 15, 2021, 01:00:58 PM
Hi @Moltke ,
Thank you for answer my question.
The problem is described in the following post:
https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Pulse_overwrites_ALSA_settings (https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Pulse_overwrites_ALSA_settings)

Daemon is already running.
Pulseaudio maybe started by multiple times.
I checked the files but I have no idea on what I have to change in order to solve the problem.
I wish whether you could help me to fix the problem.

Regards,

What's the output of
Code: [Select]
pactl info run that in a terminal and copy/paste the output here.
Title: Re: libasound2 not working after update
Post by: j8a on May 17, 2021, 09:53:42 AM
Hi @Moltke ,
I will try these in a few days, we have experienced a covid case at work and I can not go to the office right now.
I will contact you as soon as I can go back to work, I hope it will be soon. Fortunately, I am all right and so my colleagues.

Regards
Title: Re: libasound2 not working after update
Post by: Moltke on May 17, 2021, 12:23:36 PM
Hi @Moltke ,
I will try these in a few days, we have experienced a covid case at work and I can not go to the office right now.
I will contact you as soon as I can go back to work, I hope it will be soon. Fortunately, I am all right and so my colleagues.

Regards

Sure, no problem. Glad you're Ok, take care. By the way, I see you're from Argentina? You can also post in the Spanish sub-forum https://www.linuxliteos.com/forums/spanish/
Title: Re: libasound2 not working after update
Post by: j8a on May 26, 2021, 08:41:09 AM
Hi, @Moltke ,
The ouptput of the pactl info command is the following_

pactl info
Error en la conexión: Conexión negada
pa_context_connect() falló: Conexión negada

I include also, the output of these other terminal commands, which could help
ournalctl --user -xe | grep pulseaudio.service
may 14 13:34:04 jochoa-pc systemd[2234]: pulseaudio.service: Succeeded.
may 14 14:28:51 jochoa-pc systemd[2260]: pulseaudio.service: Succeeded.
may 14 15:49:50 jochoa-pc systemd[2864]: pulseaudio.service: Succeeded.
may 14 16:25:35 jochoa-pc systemd[1024]: pulseaudio.service: Succeeded.
may 26 09:33:39 jochoa-pc systemd[2070]: pulseaudio.service: Succeeded.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:44 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Start request repeated too quickly.
may 26 09:33:45 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:20 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Start request repeated too quickly.
may 26 09:34:21 jochoa-pc systemd[2070]: pulseaudio.service: Failed with result 'exit-code'.

And,

() falló: Conexión negada
 jochoa  ~  1  pulseaudio -vvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operación no permitida
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operación no permitida
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.99.1
D: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/pulseaudio-iKJeff/pulseaudio-13.99.1=. -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
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is 55b959beaf3c4e8c885de71ed85401c1.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/jochoa/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.99.1/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: Ha fallado pa_pid_file_create().

I have ~.asoundrc as this
cat .asoundrc
pcm.!default {
        type hw
        card 0
}

ctl.!default {
        type hw           
        card 0
}

At last, when I tried to enable autosparm.service the answer is:
systemctl enable pulseaudio-enable-autospawn.service
Synchronizing state of pulseaudio-enable-autospawn.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable pulseaudio-enable-autospawn
Failed to enable unit: Unit file /lib/systemd/system/pulseaudio-enable-autospawn.service is masked.


Where could be any problem?

Regards
Title: Re: libasound2 not working after update
Post by: TheDead on May 26, 2021, 09:10:22 AM
Saw thread was marked solved and was curious... but it's not :-S

Got two ideas :
1. Try to install the Hardware Enablement pack.
2. Turning off the audio card in BIOS, booting once, then turning back on and rebooting. Pretty sure this procedure would be useless but... trying stuff in Linux ;)
Title: Re: libasound2 not working after update
Post by: j8a on May 26, 2021, 09:54:17 AM
Hi @TheDead,
I unmark the post now, I though it will have no responses but @Moltke asked me a question about this and now you too.
I installed HWE support and the output from the terminal command line is the following:

hwe-support-status --verbose
Your Hardware Enablement Stack (HWE) is supported until abril 2025

I rebooted and disabled the sound from the BIOS. Afterwards, I reboot and enabled it.
In both cases the sound is still missing, the output I wrote are the same.  It is a weird problem.
 
The only thing is changed is that now, the output of pactl info is the following.

pactl info
Cadena de servidor: /run/user/1000/pulse/native
Versión de protocolo de biblioteca: 33
Versión de protocolo de servidor: 33
Es local: sí
Índice de cliente: 33
Tamaño de grupo: 65472
Nombre de usuario: jochoa
Nombre del equipo: jochoa-pc
Nombre del servidor: pulseaudio
Versión del servidor: 13.99.1
Especificación de muestra por defecto: s16le 2ch 44100Hz
Mapa de canal por defecto: front-left,front-right
Destino por defecto: alsa_output.pci-0000_00_05.0.analog-stereo
Fuente por defecto: alsa_input.usb-KYE_Systems_Corp._FaceCam_VGA-02.mono-fallback
Cookie: 4084:51ac


Regards,
Title: Re: libasound2 not working after update
Post by: Moltke on May 26, 2021, 11:00:42 AM
Hi @TheDead,
I unmark the post now, I though it will have no responses but @Moltke asked me a question about this and now you too.
I installed HWE support and the output from the terminal command line is the following:

hwe-support-status --verbose
Your Hardware Enablement Stack (HWE) is supported until abril 2025

I rebooted and disabled the sound from the BIOS. Afterwards, I reboot and enabled it.
In both cases the sound is still missing, the output I wrote are the same.  It is a weird problem.
 
The only thing is changed is that now, the output of pactl info is the following.

pactl info
Cadena de servidor: /run/user/1000/pulse/native
Versión de protocolo de biblioteca: 33
Versión de protocolo de servidor: 33
Es local: sí
Índice de cliente: 33
Tamaño de grupo: 65472
Nombre de usuario: jochoa
Nombre del equipo: jochoa-pc
Nombre del servidor: pulseaudio
Versión del servidor: 13.99.1
Especificación de muestra por defecto: s16le 2ch 44100Hz
Mapa de canal por defecto: front-left,front-right
Destino por defecto: alsa_output.pci-0000_00_05.0.analog-stereo
Fuente por defecto: alsa_input.usb-KYE_Systems_Corp._FaceCam_VGA-02.mono-fallback
Cookie: 4084:51ac


Regards,

According to pactl info pulseaudio is enabled and up, which means you should be getting sound, aren't you? If you don't, try renaming your ~/.asoundrc to ~/.asoundrc.bak, restart pulseaudio
Code: [Select]
pulseaudio --check returns 0 when the pulseaudio daemon is already running, or non-zero otherwise. Then
Code: [Select]
pulseaudio --start start pulseaudio if it is not running yet. Implies --daemonize. For more info read man pulseaudio
Title: Re: libasound2 not working after update
Post by: j8a on May 26, 2021, 02:37:37 PM
Hi @Moltke ,
I tried both commands and I recieved no output  on the console. I also move the .asoundrc to .asoundr.bak and restart pulseaudio, but still not sound.

Then, I open a terminal command while I was playing a sound track on VLC and I excecuted the following commands:

aplay -Ll
default
    Playback/recording through the PulseAudio sound server surround21
2.1 Surround output to Front and Subwoofer speakers
surround40
    4.0 Surround output to Front and Rear speakers
surround41
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
    5.0 Surround output to Front, Center and Rear speakers
surround51
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
sysdefault:CARD=NVidia
    HDA NVidia, ALC887-VD Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Front speakers
surround21:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Direct sample snooping device
hw:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Hardware device with all software conversions
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
**** Lista de PLAYBACK dispositivos hardware ****
tarjeta 0: NVidia [HDA NVidia], dispositivo 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdispositivos: 0/1
  Subdispositivo #0: subdevice #0

-----------------
fuser -v /dev/snd/*
                     USUARIO        ORDEN DE ACCESO PID
/dev/snd/controlC0:  jochoa     2826 F.... pulseaudio
/dev/snd/pcmC0D0p:   jochoa     2826 F...m pulseaudio


---------------

pacmd list-cards
1 card(s) available.
    index: 0
   name: <alsa_card.pci-0000_00_05.0>
   driver: <module-alsa-card.c>
   owner module: 7
   properties:
      alsa.card = "0"
      alsa.card_name = "HDA NVidia"
      alsa.long_card_name = "HDA NVidia at 0xefdf8000 irq 21"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:05.0"
      sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
      device.bus = "pci"
      device.vendor.id = "10de"
      device.vendor.name = "NVIDIA Corporation"
      device.product.id = "03f0"
      device.product.name = "MCP61 High Definition Audio"
      device.form_factor = "internal"
      device.string = "0"
      device.description = "Audio Interno"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   profiles:
      input:analog-stereo: Entrada Estéreo analógico (priority 65, available: no)
      output:analog-stereo: Salida Estéreo analógico (priority 6500, available: unknown)
      output:analog-stereo+input:analog-stereo: Estéreo Analógico Dúplex (priority 6565, available: no)
      off: Apagado (priority 0, available: unknown)
   active profile: <output:analog-stereo>
   sinks:
      alsa_output.pci-0000_00_05.0.analog-stereo/#0: Audio Interno Estéreo analógico
   sources:
      alsa_output.pci-0000_00_05.0.analog-stereo.monitor/#0: Monitor of Audio Interno Estéreo analógico
   ports:
      analog-input-front-mic: Micrófono frontal (priority 8500, latency offset 0 usec, available: no)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-rear-mic: Micrófono trasero (priority 8200, latency offset 0 usec, available: no)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-linein: Línea de entrada (priority 8100, latency offset 0 usec, available: no)
         properties:
            
      analog-output-lineout: Línea de salida (priority 9000, latency offset 0 usec, available: no)
         properties:
            
      analog-output-speaker: Altavoces (priority 10000, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-speakers"
      analog-output-headphones: Auriculares (priority 9900, latency offset 0 usec, available: no)
         properties:
            device.icon_name = "audio-headphones"
 jochoa  ~   pacmd list-sinks
1 sink(s) available.
  * index: 0
   name: <alsa_output.pci-0000_00_05.0.analog-stereo>
   driver: <module-alsa-card.c>
   flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
   state: RUNNING
   suspend cause: (none)
   priority: 9039
   volume: front-left: 65035 /  99% / -0,20 dB,   front-right: 65035 /  99% / -0,20 dB
           balance 0,00
   base volume: 65536 / 100% / 0,00 dB
   volume steps: 65537
   muted: no
   current latency: 39,54 ms
   max request: 6 KiB
   max rewind: 6 KiB
   monitor source: 0
   sample spec: s16le 2ch 44100Hz
   channel map: front-left,front-right
                Estéreo
   used by: 1
   linked by: 1
   configured latency: 40,00 ms; range is 0,50 .. 1999,82 ms
   card: 0 <alsa_card.pci-0000_00_05.0>
   module: 7
   properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "ALC887-VD Analog"
      alsa.id = "ALC887-VD Analog"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "0"
      alsa.card_name = "HDA NVidia"
      alsa.long_card_name = "HDA NVidia at 0xefdf8000 irq 21"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:05.0"
      sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
      device.bus = "pci"
      device.vendor.id = "10de"
      device.vendor.name = "NVIDIA Corporation"
      device.product.id = "03f0"
      device.product.name = "MCP61 High Definition Audio"
      device.form_factor = "internal"
      device.string = "front:0"
      device.buffering.buffer_size = "352768"
      device.buffering.fragment_size = "176384"
      device.access_mode = "mmap+timer"
      device.profile.name = "analog-stereo"
      device.profile.description = "Estéreo analógico"
      device.description = "Audio Interno Estéreo analógico"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   ports:
      analog-output-lineout: Línea de salida (priority 9000, latency offset 0 usec, available: no)
         properties:
            
      analog-output-speaker: Altavoces (priority 10000, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-speakers"
      analog-output-headphones: Auriculares (priority 9900, latency offset 0 usec, available: no)
         properties:
            device.icon_name = "audio-headphones"
   active port: <analog-output-speaker>

------------------
pacmd list-sink-inputs
1 sink input(s) available.
    index: 26
   driver: <protocol-native.c>
   flags: START_CORKED FIX_RATE
   state: RUNNING
   sink: 0 <alsa_output.pci-0000_00_05.0.analog-stereo>
   volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
           balance 0,00
   muted: no
   current latency: 1166,23 ms
   requested latency: 40,00 ms
   sample spec: float32le 2ch 44100Hz
   channel map: front-left,front-right
                Estéreo
   resample method: copy
   module: 11
   client: 27 <VLC media player (LibVLC 3.0.9.2)>
   properties:
      media.role = "video"
      media.name = "audio stream"
      application.name = "VLC media player (LibVLC 3.0.9.2)"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "33"
      application.id = "org.VideoLAN.VLC"
      application.version = "3.0.9.2"
      application.icon_name = "vlc"
      application.language = "es_ES.UTF-8"
      application.process.id = "4433"
      application.process.user = "jochoa"
      application.process.host = "jochoa-pc"
      application.process.binary = "vlc"
      window.x11.display = ":0"
      application.process.machine_id = "55b959beaf3c4e8c885de71ed85401c1"
      application.process.session_id = "c1"
      module-stream-restore.id = "sink-input-by-media-role:video"

-------------------
The more curious thing is that when i run in a terminal the command:
inxi -Aaaz
Audio:
  Device-1: NVIDIA MCP61 High Definition Audio vendor: ASRock
  driver: snd_hda_intel v: kernel bus ID: 00:05.0 chip ID: 10de:03f0
  Sound Server: ALSA v: k5.8.0-53-generic

It sounds that pulseAudio is not available, although when I start pulseaudio
ps ax | grep pulse
   2494 ?        S<sl   0:02 /usr/bin/pulseaudio --daemonize=no --log-target=journal
   2685 ?        Sl     0:01 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libpulseaudio-plugin.so 19 14680075 pulseaudio Complemento de PulseAudio Ajustar el volumen del sistema de sonido de PulseAudio
  11341 ?        S<l    0:00 pulseaudio --start
  11770 pts/0    S+     0:00 grep pulse


I could still not see where the problem is.

Regards

Title: Re: libasound2 not working after update
Post by: Moltke on May 26, 2021, 06:44:20 PM
I'm quite not sure, because you didn't use BBcode and read all that is a bit messy, but it seems that the audio device might be not the right one, make sure that pulse is using the right device. If you've set this via configuration files, undo that, reboot and let pulseaudio to choose the audio device to use.
Title: Re: libasound2 not working after update
Post by: TheDead on May 27, 2021, 09:34:44 AM
I think Moltke could be on to something...
1.Original post said:
snd_hda_codec_generic,snd_hda_codec_realtek

2.
Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2)
Subsystem: ASRock Incorporation MCP61 High Definition Audio
...but them it says :
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

3.
Then recently:
Destino por defecto: alsa_output.pci-0000_00_05.0.analog-stereo
Fuente por defecto: alsa_input.usb-KYE_Systems_Corp._FaceCam_VGA-02.mono-fallback

4.
Then last :
sysdefault:CARD=NVidia
    HDA NVidia, ALC887-VD Analog

Refering the the Widnows world, sound output goes trough different "channels/outputs" so the chipset and output could display differently.
But from in all I see
HDA Generic, Realtek, Intel then nVidia.

Maybe the output tries to go to a USB device (webcam, headphone, cellular, mp3 player, illuminating rock ;) ).
Point 3. mentions a webcam (?), so I would disconnect it and anything USB other than mouse and keyboard if possible and reboot.

I'm still a Linux noob so I can't "decode" all those logs myself. Maybe it's time to boot a live Linux USB key and check with that.
Title: Re: libasound2 not working after update
Post by: j8a on June 07, 2021, 11:00:33 AM
Hi  @Moltke and @TheDead ,

I finally bought a sound and microphone USB which is suitable for Linux and the result is the following:
After a coulple of weeks I hear the sound again!!   :wave

I updated the BIOS, read to many post in order to have a clue on what has happend to the onboard audio card and I sourrendered. :imsorry

Thank you for your time and patience.

Regards,
Title: Re: libasound2 not working after update
Post by: Moltke on June 07, 2021, 11:11:35 AM
Hi  @Moltke and @TheDead ,

I finally bought a sound and microphone USB which is suitable for Linux and the result is the following:
After a coulple of weeks I hear the sound again!!   :wave

I updated the BIOS, read to many post in order to have a clue on what has happend to the onboard audio card and I sourrendered. :imsorry

Thank you for your time and patience.

Regards,
Sourrendered? Did you mean surrendered? Just curious, did you fix it or not?
Title: Re: libasound2 not working after update
Post by: j8a on June 07, 2021, 04:58:18 PM
Hi @Moltke ,
That's it,  I "surrendered". I did not fix it whether I reinstalled LL again and nothing happened.

The onboard sound card is dead, I have misprinted the word.

Regards,
Title: Re: libasound2 not working after update
Post by: TheDead on June 07, 2021, 05:12:36 PM
(ARG... can't align pictures, sorry)
Lol, trying everything and missed the obvious... yeah hardware can be defective.A bigger pain when it's half-working.

I would conclude to tell you to check capacitors in you computer, just in case some are buldged.  :018: .(https://i.ebayimg.com/images/g/82YAAOSwDN1UQEQs/s-l400.jpg)
or leaking:(https://www.computerhope.com/issues/pictures/capacitors.gif)
Title: Re: libasound2 not working after update
Post by: Moltke on June 07, 2021, 05:16:09 PM
Hi @Moltke ,
That's it,  I "surrendered". I did not fix it whether I reinstalled LL again and nothing happened.

The onboard sound card is dead, I have misprinted the word.

Regards,

Too bad you couldn't fix it, but if the onboard card is dead, there's nothing you can do but get a new one. I invite you once again to post in the Spanish subforum, as it is our native language, thus more easy to write, read and understand everything.  :55: