Hardware - Support > Sound
libasound2 not working after update
j8a:
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
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,
Moltke:
--- Quote from: 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.
--- End quote ---
There's no need to run this command with sudo
--- Code: ---pulseaudio -k
--- End code ---
and then
--- Code: ---pulseaudio --start
--- End code ---
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)
--- End quote ---
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
--- End code ---
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
--- End quote ---
This one should be run either as root or with sudo
--- Code: ---sudo journalctl -f -t pulseaudio
--- End code ---
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
--- End code ---
this should tell you whether pulseaudio is running or not.
j8a:
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
j8a:
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,
j8a:
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
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version