You are not logged in.

#1 2018-04-13 18:52:12

ddggdd
Member
Registered: 2014-01-21
Posts: 6

Pulseaudio times out during startup

I got the same error, pulseaudio take forever to load, alsa is working, mplayer output sounds ok


● pulseaudio.service - Sound Service
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
   Active: activating (start) since Fri 2018-04-13 13:48:29 CDT; 26s ago
Main PID: 1293 (pulseaudio)
   CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
           └─1293 /usr/bin/pulseaudio --daemonize=no

Apr 13 13:48:29 metalx systemd[571]: Starting Sound Service...


pulseaudio.socket seems ok

systemctl --user status pulseaudio.socket
Failed to dump process list, ignoring: No such file or directory
● pulseaudio.socket - Sound System
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2018-04-13 13:40:56 CDT; 20min ago
   Listen: /run/user/1000/pulse/native (Stream)
   CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.socket

Apr 13 13:40:56 metalx systemd[571]: Listening on Sound System.

when I tried manually run pulseadio -vvvv, it just stuck after printing 2 lines

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.

Last edited by ddggdd (2018-04-13 19:03:23)

Offline

#2 2018-04-13 21:20:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Pulseaudio times out during startup

OP's pulseaudio does start, as we've established, you don't have the same issue. Is your hostname properly set?

And do either of you use any custom asound.conf or .asoundrc or similar?

Last edited by V1del (2018-04-13 21:25:21)

Offline

#3 2018-04-14 17:00:17

ddggdd
Member
Registered: 2014-01-21
Posts: 6

Re: Pulseaudio times out during startup

[root@metalx ~]# hostname
metalx
[root@metalx ~]# cat /etc/hostname
metalx
[root@metalx ~]# grep metalx /etc/hosts
127.0.0.1       localhost.localdomain   localhost metalx

is this ok? thanks.

also /etc/asound.conf

pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "ALSA Output to pulseaudio"
  }
}
ctl.!default {
  type pulse
  fallback "sysdefault"
}

and .asoundrc

pcm.!default {
        type hw
        card 1
}

ctl.!default {
        type hw
        card 1
}

Last edited by ddggdd (2018-04-14 17:07:59)

Offline

#4 2018-04-14 18:38:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Pulseaudio times out during startup

Please use [ code ] tags not [ quote ] tags when pasting

Remove that .asoundrc, though it shouldn't lead to the freeze you are experiencing. Can you post a

sudo fuser -v /dev/snd/*
dmesg

Split off of: https://bbs.archlinux.org/viewtopic.php?id=235996

Offline

Board footer

Powered by FluxBB