Pulseaudio not working after updating kernel

Hi everyone!! I have an issue with my pulseaudio since I 've updated my kernel. My speaker doesn't work anymore. I've tried many commands to make it works but not:

systemctl --user start pulseaudio.service

systemctl --user start pulseaudio.socket

pulseaudio --start

but they don't return errors. I've tried to reinstall the kernel but nothing again. I'm using linux54 now. I've tried to boot to another kernel but nothing again.

With systemctl --user status pulseaudio.service:

● pulseaudio.service - Sound Service
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-12-16 09:28:54 EAT; 48min ago
 Main PID: 926 (pulseaudio)
   CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
           ├─ 926 /usr/bin/pulseaudio --daemonize=no
           └─1005 /usr/lib/pulse/gsettings-helper

Des 16 09:28:44 Poison systemd[914]: Starting Sound Service...
Des 16 09:28:49 Poison pulseaudio[926]: E: [pulseaudio] module-udev-detect.c: You apparently ran out of inotify watches, probably because Tracker/Beagle took them all away.I wished people would do their homework first and fix inotify before using it for watching whole directory trees which is something the current inotify is certainly not useful for. Please make sure to drop the Tracker/Beagle guys a line complaining about their broken use of inotify.
Des 16 09:28:49 Poison pulseaudio[926]: E: [pulseaudio] module-udev-detect.c: You apparently ran out of inotify watches, probably because Tracker/Beagle took them all away.I wished people would do their homework first and fix inotify before using it for watching whole directory trees which is something the current inotify is certainly not useful for. Please make sure to drop the Tracker/Beagle guys a line complaining about their broken use of inotify.
Des 16 09:28:54 Poison pulseaudio[926]: E: [pulseaudio] module-systemd-login.c: Failed to create session monitor: No space available on the device
Des 16 09:28:54 Poison pulseaudio[926]: E: [pulseaudio] module.c: Failed to load module "module-systemd-login" (argument: ""): initialization failed.
Des 16 09:28:54 Poison systemd[914]: Started Sound Service.
Des 16 09:29:18 Poison pulseaudio[926]: E: [pulseaudio] bluez5-util.c: 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
~

Please, help me!!!

Try a different kernel.

2 Likes

please post - sysctl fs.inotify

and pactl list short modules

pulseaudio.service has started ok despite errors
but module-udev-detect might have failed to detect ALSA devices for playback

I've already done as I said above

sysctl fs.inotify:

fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 1024
fs.inotify.max_user_watches = 524288

pactl list short modules:

0       module-device-restore
1       module-stream-restore
2       module-card-restore
3       module-augment-properties
4       module-switch-on-port-available
5       module-udev-detect
6       module-alsa-card        device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" 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"
7       module-bluetooth-policy
8       module-bluetooth-discover
9       module-bluez5-discover
10      module-dbus-protocol
11      module-native-protocol-unix
12      module-gsettings
13      module-default-device-restore
14      module-rescue-streams
15      module-always-sink
16      module-intended-roles
17      module-suspend-on-idle
18      module-console-kit
20      module-position-event-sounds
21      module-role-cork
22      module-filter-heuristics
23      module-filter-apply
24      module-x11-publish      display=:0
25      module-x11-xsmp display=:0 session_manager=local/Poison:@/tmp/.ICE-unix/1072,unix/Poison:/tmp/.ICE-unix/1072

value is recommended for using realtime audio/JACK
if i recall correct, usual default value is 8192

suggest you get a copy of this script to see what is using this excessively
inotify-consumers.sh

but looks like udev-detect module found ALSA device ok
so should be able to see audio device in pulseaudio - pactl list cards
and audio playback stream - pactl list sinks

So, what should I do now?

already set fs.inotify.max_user_watches to large value in other thread

suggested in previous post to use bash script to find whatever is depriving pulseaudio of the fs.inotify.max_user_watches

already suggested how to find ALSA audio information in other discussion
and Pulseaudio information

only other thing i can think of to suggest is try booting from Live ISO
check if sound is working ok there
but would still need ALSA and Pulseaudio information to compare to installed system

Try both real time kernels (if you never tested them).

Best practice on troubleshooting threads is to list exactly which fixes you have applied, not generalities.

I've tried to boot into Kali linux and it doesn't work too but with Windows 10, it works. The difference between Manjaro and Kali linux in my PC is on manjaro, it shows that the speaker is not available but on the other one not.

I've tried to boot into each kernel I'm using but none of them works.

Is this a bluetooth speaker?

Again, give specifics not generalities.

Which kernels did you install?

Please post:

pacman -Qsq ^linux | grep ^linux | grep -viE 'headers|firm|nvidia'

I was using linux50 before. I've upgraded it into linux54. After rebooting, the speakers in my PC doesn't make sound anymore. I use earphone to listen something on my PC. To solve it, I've already tried all solutions I said above.
This is the output of pacman -Qsq ^linux | grep ^linux | grep -viE 'headers|firm|nvidia':

linux-latest
linux-latest-broadcom-wl
linux414
linux414-broadcom-wl
linux414-virtualbox-host-modules
linux53
linux53-broadcom-wl
linux53-virtualbox-host-modules
linux54
linux54-broadcom-wl
linux54-virtualbox-host-modules

No, it's speakers on my laptop.

This is the third time now. You are rather unwilling to listen.

INSTALL A REAL TIME KERNEL

BTW, Broadcom sucks.

Done here, bye bye.

I'm using the latest version of kernel. I can't get the linux50 kernel on the list of suggesting kernel. :pensive: . Please guide me with this sentence you said:

Best practice on troubleshooting threads is to list exactly which fixes you have applied, not generalities.

because I don't know what to do.

Here are the kernels I'm using. mhwd-kernel -li:

Currently running: 5.4.2-1-MANJARO (linux54)
The following kernels are installed in your system:
   * linux414
   * linux53
   * linux54

It's because I don't know what do you mean. :sleepy:

Here is the output in Kali linux:

pactl list short modules:

0       module-device-restore
1       module-stream-restore
2       module-card-restore
3       module-augment-properties
4       module-switch-on-port-available
5       module-udev-detect
6       module-alsa-card        device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
7       module-native-protocol-unix
8       module-default-device-restore
9       module-rescue-streams
10      module-always-sink
11      module-intended-roles
12      module-suspend-on-idle
13      module-console-kit
14      module-systemd-login
15      module-position-event-sounds
16      module-role-cork
17      module-filter-heuristics
18      module-filter-apply
19      module-x11-publish      display=:0
20      module-x11-cork-request display=:0
21      module-device-manager   do_routing=1
22      module-x11-xsmp display=:0 session_manager=local/kali:@/tmp/.ICE-unix/727,unix/kali:/tmp/.ICE-unix/727

Forum kindly sponsored by