You are not logged in.

#1 2020-07-02 08:54:20

karcher
Member
Registered: 2018-01-09
Posts: 140

no sound after suspend or hibernate

Hi all,

I'm having issues for a long time with my sound. Almost every time when I start my system after suspend or hibernate state, there is no sound. Sometimes I get this fixed with:

$ pulseaudio -vvvvv
$ pulseaudio --kill

Besides that, I have these 2 lines in my ~/.config/i3/config:

exec --no-startup-id pulseaudio --kill
exec --no-startup-id pulseaudio -vvvvv

but they don't really help.

Now, I just saw by coincidence this post:

https://bbs.archlinux.org/viewtopic.php?id=257043

and tried:

$ systemctl --user status pulseaudio{,.socket}

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2020-07-02 09:40:04 CEST; 52min ago
TriggeredBy: ● pulseaudio.socket
    Process: 1524 ExecStart=/usr/bin/pulseaudio --daemonize=no (code=exited, status=1/FAILURE)
   Main PID: 1524 (code=exited, status=1/FAILURE)

Jul 02 09:40:04 mystem systemd[1315]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
Jul 02 09:40:04 mystem systemd[1315]: Stopped Sound Service.
Jul 02 09:40:04 mystem systemd[1315]: pulseaudio.service: Start request repeated too quickly.
Jul 02 09:40:04 mystem systemd[1315]: pulseaudio.service: Failed with result 'exit-code'.
Jul 02 09:40:04 mystem systemd[1315]: Failed to start Sound Service.

● pulseaudio.socket - Sound System
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled)
     Active: failed (Result: service-start-limit-hit) since Thu 2020-07-02 09:40:04 CEST; 52min ago
   Triggers: ● pulseaudio.service
     Listen: /run/user/1000/pulse/native (Stream)

Jul 02 09:39:54 mystem systemd[1315]: Listening on Sound System.
Jul 02 09:40:04 mystem systemd[1315]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.

and this some of the output of:

$ journalctl --user -xe

-- The job identifier is 228.
Jul 02 10:36:48 mystem pulseaudio[71354]: E: [pulseaudio] pid.c: Daemon already running.
Jul 02 10:36:48 mystem pulseaudio[71354]: E: [pulseaudio] main.c: pa_pid_file_create() failed.
Jul 02 10:36:48 mystem systemd[1315]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- An ExecStart= process belonging to unit UNIT has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
Jul 02 10:36:48 mystem systemd[1315]: pulseaudio.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit UNIT has entered the 'failed' state with result 'exit-code'.
Jul 02 10:36:48 mystem systemd[1315]: Failed to start Sound Service.
-- Subject: A start job for unit UNIT has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit UNIT has finished with a failure.
-- 
-- The job identifier is 228 and the job result is failed.
Jul 02 10:36:49 mystem systemd[1315]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Automatic restarting of the unit UNIT has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jul 02 10:36:49 mystem systemd[1315]: Stopped Sound Service.
-- Subject: A stop job for unit UNIT has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A stop job for unit UNIT has finished.
-- 
-- The job identifier is 243 and the job result is done.
Jul 02 10:36:49 mystem systemd[1315]: pulseaudio.service: Start request repeated too quickly.
Jul 02 10:36:49 mystem systemd[1315]: pulseaudio.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit UNIT has entered the 'failed' state with result 'exit-code'.
Jul 02 10:36:49 mystem systemd[1315]: Failed to start Sound Service.
-- Subject: A start job for unit UNIT has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit UNIT has finished with a failure.
-- 
-- The job identifier is 243 and the job result is failed.
Jul 02 10:36:49 mystem systemd[1315]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit UNIT has entered the 'failed' state with result 'service-start-limit-hit'.
Jul 02 10:36:49 mystem pulseaudio[1436]: Created 6700 "UNIX socket client"
Jul 02 10:36:49 mystem pulseaudio[1436]: Interface org.PulseAudio.Core1.Client added for object /org/pulseaudio/core1/client6700
Jul 02 10:36:49 mystem pulseaudio[1436]: CLI got EOF from user.
Jul 02 10:36:49 mystem pulseaudio[1436]: Interface org.PulseAudio.Core1.Client removed from object /org/pulseaudio/core1/client67>
Jul 02 10:36:49 mystem pulseaudio[1436]: Freed 6700 "UNIX socket client"
Jul 02 10:36:49 mystem pulseaudio[1436]: Created 6701 "UNIX socket client"
Jul 02 10:36:49 mystem pulseaudio[1436]: Interface org.PulseAudio.Core1.Client added for object /org/pulseaudio/core1/client6701
Jul 02 10:36:49 mystem pulseaudio[1436]: CLI got EOF from user.
Jul 02 10:36:49 mystem pulseaudio[1436]: Interface org.PulseAudio.Core1.Client removed from object /org/pulseaudio/core1/client67>
Jul 02 10:36:49 mystem pulseaudio[1436]: Freed 6701 "UNIX socket client"

Any ideas how can I finally fix pulseaudio?

Offline

#2 2020-07-02 10:54:58

tchici
Member
Registered: 2020-03-29
Posts: 21

Re: no sound after suspend or hibernate

Offline

#3 2020-07-02 11:23:29

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: no sound after suspend or hibernate

Thanks for the response!

Hmm. I haven't seen this before...

I just did it. Let's see if it works.

I'm not marking yet the post as solved. I'll report back, after some hibernations and suspends...

-----------------
UPDATE:

Nope. It doesn't...
It worked one time after hibernation. I just started the system from suspend mode and I had no sound again.
My speakers were not there as sink. I had to kill and restart pulseaudio to get the sound back.

Last edited by karcher (2020-07-03 18:34:37)

Offline

Board footer

Powered by FluxBB