Linux Lite Forums
libasound2 not working after update - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Sound (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=23)
+--- Thread: libasound2 not working after update (/showthread.php?tid=7763)

Pages: 1 2 3


libasound2 not working after update - j8a - 05-06-2021

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


Re: libasound2 not working after update - j8a - 05-07-2021

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.


Re: libasound2 not working after update - j8a - 05-07-2021

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.



Re: libasound2 not working after update - TheDead - 05-10-2021

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.



Re: libasound2 not working after update - j8a - 05-10-2021

Hi [member=6733]TheDead[/member] ,
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


Re: libasound2 not working after update - j8a - 05-10-2021

Hi, [member=6733]TheDead[/member], 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,


Re: libasound2 not working after update - j8a - 05-14-2021

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/

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

Regards


Re: libasound2 not working after update - Moltke - 05-14-2021

(05-10-2021, 01:38 PM)j8a link Wrote: Hi [member=6733]TheDead[/member] ,
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:
pulseaudio -k
and then
Code:
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:
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:
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:
pactl info
this should tell you whether pulseaudio is running or not.


Re: libasound2 not working after update - j8a - 05-15-2021

Hi [member=7109]Moltke[/member] ,
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

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,


Re: libasound2 not working after update - Moltke - 05-15-2021

(05-15-2021, 03:20 PM)j8a link Wrote: Hi [member=7109]Moltke[/member] ,
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

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:
pactl info
run that in a terminal and copy/paste the output here.