Pulse audio is broken

i3
pulseaudio
#7

I actually wrote that in #0 :wink:

$ ~ pulseaudio
E: [pulseaudio] pid.c: Daemon already running. 
E: [pulseaudio] main.c: pa_pid_file_create() failed.
0 Likes

#8

Sorry to butt in, but should mention;
There was an update, but also a bug and patch found so a new version was pushed.
Make sure you have 12.0-1.1
pacman -Qi pulseaudio

0 Likes

#9

Did you actually press CTRL-Z in the terminal before? If so, you’ve left it running in the background. CTRL-C normally cancels a process.

Run

killall pulseaudio

to kill any running pulseaudio process. Then run pulseaudio in a terminal.

0 Likes

#10

I’m running 12.0-1ATM. I made a full upgrade 5 min ago but I didn’t get the 12.0-1.1 version ?

0 Likes

#11

jonathan regarding CTRL+Z was a mistake :wink: but that doesn’t change the issue since I’ve rebooted multiple times.

0 Likes

#12

sudo pacman-mirrors -f && sudo pacman -Syyu
same ?

1 Like

#13

OK, so that seems stupid if running pulseaudio ends up with “already running” but pulseaudio -vv ends up with a running pulseaudio instance.

If this is the bug @cscs mentions, then you should do a full update:

sudo pacman-mirrors -f3
sudo pacman -Syyu

Keep in mind that people can only help based on the information you provide. If you provide inaccurate information you’ll get the wrong answer.

0 Likes

#14
$ ~ sudo pacman-mirrors -f3                                                                      

.: INFO Downloading mirrors from repo.manjaro.org
.: INFO: Querying mirrors - This may take some time
   0.075 Denmark        : 04:23: https://mirrors.dotsrc.org/manjaro/
   0.144 Denmark        : 00:03: https://www.uex.dk/public/manjaro/
.: INFO Writing mirror list
   Denmark         : https://mirrors.dotsrc.org/manjaro/testing/$repo/$arch
   Denmark         : https://www.uex.dk/public/manjaro/testing/$repo/$arch
.: INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
$ ~ sudo pacman -Syyu                                                                            
:: Synchronizing package databases...
 core                             147,5 KiB  3,35M/s 00:00 [################################] 100%
 extra                           1791,1 KiB  6,91M/s 00:00 [################################] 100%
 community                          4,8 MiB  7,07M/s 00:01 [################################] 100%
 multilib                         179,7 KiB  8,77M/s 00:00 [################################] 100%
:: Starting full system upgrade...
warning: libnm: local (1.12.0-0) is newer than extra (1.10.10-1)
warning: libnm-glib: local (1.12.0-0) is newer than extra (1.10.10-1)
warning: networkmanager: local (1.12.0-0) is newer than extra (1.10.10-1)
warning: pulseaudio: ignoring package upgrade (12.0-1 => 12.0-1.1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libpulse (12.0-1.1) breaks dependency 'libpulse=12.0-1' required by pulseaudio

It looks like there is a dependency issue here

0 Likes

#15

It appears you have added pulseaudio to your ignore list?

0 Likes

#16

hmmmmm for some reason yes.
I removed if from and upgraded it and rebooted my laptop.

Without any luck…

$ ~ pulseaudio                                                                                   
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
$ ~ pulseaudio --version                                                                         
pulseaudio 12.0-dirty

I might think I’ve downgraded pulseaudio for a couple of weeks ago which would explain that it has been added to the ignore list

This is the last couple of line of pacman.log

[2018-07-05 23:09] [PACMAN] Running 'pacman -Syyu'
[2018-07-05 23:09] [PACMAN] synchronizing package lists
[2018-07-05 23:09] [PACMAN] starting full system upgrade
[2018-07-05 23:09] [ALPM] transaction started
[2018-07-05 23:09] [ALPM] upgraded libpulse (12.0-1 -> 12.0-1.1)
[2018-07-05 23:09] [ALPM] upgraded pulseaudio (12.0-1 -> 12.0-1.1)
[2018-07-05 23:09] [ALPM] transaction completed
[2018-07-05 23:09] [ALPM] running 'glib-compile-schemas.hook'...
[2018-07-05 23:09] [ALPM] running 'systemd-udev-reload.hook'...
[2018-07-05 23:09] [ALPM] running 'systemd-update.hook'...
[2018-07-05 23:10] [PACMAN] Running 'pacman -Syyu'
[2018-07-05 23:10] [PACMAN] synchronizing package lists
[2018-07-05 23:10] [PACMAN] starting full system upgrade
0 Likes

#17

I had the same problem, both with 12.0-1 (one reboot fixed it though) and 12.0-1.1 (two reboots did not fix it) of pulseaudio and libpulse.

Downgraded to 11.1-1 and now it works fine again.

I got following messages in journalctl with 12.0-1.1:

systemd[883]: Starting Sound Service...
rtkit-daemon[952]: Successfully made thread 998 of process 998 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
rtkit-daemon[952]: Supervising 2 threads of 2 processes of 1 users.
pulseaudio[998]: E: [pulseaudio] pid.c: Daemon already running.
pulseaudio[998]: E: [pulseaudio] main.c: pa_pid_file_create() failed.
systemd[883]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
systemd[883]: pulseaudio.service: Failed with result 'exit-code'.
systemd[883]: Failed to start Sound Service.
systemd[883]: Started Dunst notification daemon.
rtkit-daemon[952]: Supervising 1 threads of 1 processes of 1 users.
rtkit-daemon[952]: Successfully made thread 1025 of process 909 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
rtkit-daemon[952]: Supervising 2 threads of 1 processes of 1 users.
rtkit-daemon[952]: Supervising 2 threads of 1 processes of 1 users.
systemd[883]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
systemd[883]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
systemd[883]: Stopped Sound Service.
systemd[883]: Starting Sound Service...
rtkit-daemon[952]: Successfully made thread 1026 of process 909 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
rtkit-daemon[952]: Supervising 3 threads of 1 processes of 1 users.
rtkit-daemon[952]: Supervising 3 threads of 1 processes of 1 users.
rtkit-daemon[952]: Successfully made thread 1028 of process 909 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
rtkit-daemon[952]: Supervising 4 threads of 1 processes of 1 users.
rtkit-daemon[952]: Successfully made thread 1027 of process 1027 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
rtkit-daemon[952]: Supervising 5 threads of 2 processes of 1 users.
pulseaudio[1027]: E: [pulseaudio] pid.c: Daemon already running.
pulseaudio[1027]: E: [pulseaudio] main.c: pa_pid_file_create() failed.
systemd[883]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
systemd[883]: pulseaudio.service: Failed with result 'exit-code'.
systemd[883]: Failed to start Sound Service.
systemd[883]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
systemd[883]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
systemd[883]: Stopped Sound Service.
systemd[883]: Starting Sound Service...
rtkit-daemon[952]: Successfully made thread 1034 of process 1034 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
rtkit-daemon[952]: Supervising 5 threads of 2 processes of 1 users.
pulseaudio[1034]: E: [pulseaudio] pid.c: Daemon already running.
pulseaudio[1034]: E: [pulseaudio] main.c: pa_pid_file_create() failed.
systemd[883]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
systemd[883]: pulseaudio.service: Failed with result 'exit-code'.
systemd[883]: Failed to start Sound Service.
systemd[883]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
systemd[883]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
systemd[883]: Stopped Sound Service.
systemd[883]: Starting Sound Service...
rtkit-daemon[952]: Successfully made thread 1035 of process 1035 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
rtkit-daemon[952]: Supervising 5 threads of 2 processes of 1 users.
pulseaudio[1035]: E: [pulseaudio] pid.c: Daemon already running.
pulseaudio[1035]: E: [pulseaudio] main.c: pa_pid_file_create() failed.
systemd[883]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
systemd[883]: pulseaudio.service: Failed with result 'exit-code'.
systemd[883]: Failed to start Sound Service.
systemd[883]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
systemd[883]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
systemd[883]: Stopped Sound Service.
systemd[883]: Starting Sound Service...
rtkit-daemon[952]: Successfully made thread 1036 of process 1036 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
rtkit-daemon[952]: Supervising 5 threads of 2 processes of 1 users.
pulseaudio[1036]: E: [pulseaudio] pid.c: Daemon already running.
pulseaudio[1036]: E: [pulseaudio] main.c: pa_pid_file_create() failed.
systemd[883]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
systemd[883]: pulseaudio.service: Failed with result 'exit-code'.
systemd[883]: Failed to start Sound Service.
systemd[883]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
systemd[883]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
systemd[883]: Stopped Sound Service.
systemd[883]: pulseaudio.service: Start request repeated too quickly.
systemd[883]: pulseaudio.service: Failed with result 'exit-code'.
systemd[883]: Failed to start Sound Service.
systemd[883]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.
0 Likes

#18

So I started the downgrade and get this

loading packages...
warning: downgrading package pulseaudio (12.0-1.1 => 11.1-1)
resolving dependencies...
warning: cannot resolve "libpulse=11.1-1", a dependency of "pulseaudio"
:: The following package cannot be upgraded due to unresolvable dependencies:
      pulseaudio

:: Do you want to skip the above package for this upgrade? [y/N] 

Did you also get this warning?

0 Likes

#19

Yout get that becuase you don’t have libpulse=11.1-1 in your cache.
Try sudo pacman -U https://archive.archlinux.org/packages/l/libpulse/libpulse-11.1-1-x86_64.pkg.tar.xz pulseaudio-11.1-1-x86_64.pkg.tar.xz

0 Likes

#20

I can’t thank you enough !!! Thanks for the solution!

1 Like

#21

No problem, glad to help! :slight_smile:

Hopefully they fix it in the next version or someone can find any problems in the log I posted.

0 Likes

#22

I sure hope so!
But again thanks! This is one of the reasons I stay with manjaro and don’t make the switch to arch due to the friendly community

1 Like

#24

Have a look here: https://forum.manjaro.org/t/testing-update-2018-06-25-mesa-openbox-qt-gitlab-timeshift-pacui/50618/24?u=grinne and try those commands (with an up to date pulse audio). (This is from the equivalent update in testing branch to what is now in stable.)

0 Likes

pinned #25
0 Likes

split this topic #26

2 posts were split to a new topic: Pulse audio not working after update

0 Likes

closed #27

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

0 Likes