Hardware - Support > Sound

libasound2 not working after update

<< < (3/5) > >>

TheDead:
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 ;)

j8a:
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

Moltke:

--- Quote from: 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

--- End quote ---

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/

j8a:
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

Moltke:

--- Quote from: 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

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,

--- End quote ---

What's the output of
--- Code: ---pactl info
--- End code ---
run that in a terminal and copy/paste the output here.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version