• Pulseaudio is not starting up


    Hey guys,

    I recently installed antergos (KDE) and I had a problem with audio ever since. Playing anything actually works but clicking the audio volume on the task bar gives me a “No output or input devices found”. I have been trying to fix it ever since and here are the following commands and steps I tried without any change:

    • pulseaudio --start gives daemon startup failed

    • rm -rf /tmp/pulse* ~/.pulse* ~/.config/pulse then pulseaudio -k and I got Failed to kill daemon: No such process

    • sudo pulseaudio --start gives This program is not intended to be run as root (unless --system is specified)

    • I made sure the code is #!/usr/bin/pulseaudio -nF in default.pa

    • I raised the volumes in alsamixer

    • I deleted the .config/pulse folder

    • When I launch pulse audio. All I get is “Establishing connection pulseaudio. please wait”

    • Installed phonon-qt4-vlc and phonon-qt5-vlc and preferred it in multimedia backend settings
      I tried pgrep pulseaudio with no follow up on terminal.

    • Obviously restarted my PC several times

    So yeah I totally give up but my deduction is that there are interference between pulseaudio and alsa? I really have no idea.

    Any help would be greatly appreciated!

  • This post is deleted!
  • Edit: I reinstalled antergos with no change at all. All I need to do is basically get pulseaudio to work and start up. It can not launch it for some reason. Any help please? :(
    Edit2: and I got banned on IRC for trying to seek any help… why?

  • @Otakami said in Pulseaudio is not starting up:

    and I got banned on IRC for trying to seek any help… why?

    I think it’s because there’s been a lot of un-real users lately.

    Recently, a whole lot of bots got through and became members:smile:. @karasu didn’t want to erase their accounts in the event he accidentally banned a real user, like you. Thus, he only banned them. Is it possible this is what happened? It seems so unlike the Antergos community to ban anybody!

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • Hi,

    You don’t need to start pulseaudio yourself, it’s started by the system… that’s why you get this error:

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

    Install pavucontrol: sudo pacman -S pavucontrol and run it (as a normal user, do NOT use sudo).

    There you will be able to setup pulseaudio (volume, output devices, …)

    EDIT: @Keegan I didn’t ban him. I have no control whatsoever in IRC, there are moderators there that control this. They always warn people before banning, so I’m positive @Otakami knows why he was banned… (if it was not a moderator mistake, that is).

    Cheers!

  • Thanks for the clarification, @karasu!

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @karasu said in Pulseaudio is not starting up:

    You don’t need to start pulseaudio yourself, it’s started by the system

    and doesn’t work. pavucontrol is already installed and running it gives the message I mentioned above "Establishing connection pulseaudio. please wait” and does nothing else.

    For the sake of completion. I ran your command and got:

    error: failed to init transaction (unable to lock database)
    error: could not lock database: File exists
      if you're sure a package manager is not already
      running, you can remove /var/lib/pacman/db.lck
    

    @karasu said in Pulseaudio is not starting up:

    They always warn people before banning,

    and nope. I went afk for a bit. When I came back I noticed I was disconnected with a weird error I never saw before. Upon reconnecting, I got an IP ban message. In the 2 days I was on IRC, only one person talked anyway. Everyone said nothing.

  • @Otakami said in Pulseaudio is not starting up:

    For the sake of completion. I ran your command and got:
    error: failed to init transaction (unable to lock database)
    error: could not lock database: File exists
    if you’re sure a package manager is not already
    running, you can remove /var/lib/pacman/db.lck

    Did you have pamac or octopi running? You can’t use pacman with them opened.

    If not, maybe the lock got there because one of this programs crashed.

    You can fix this by closing pamac or octopi if they are opened, and if not, simply delete that file:
    sudo rm /var/lib/pacman/db.lck

    And I suppose you have already read this:
    https://wiki.archlinux.org/index.php/PulseAudio

  • @karasu said in Pulseaudio is not starting up:

    Did you have pamac or octopi running? You can’t use pacman with them opened.

    Oh my bad there. It went through this time and it just reinstalled it. I ran pavucontrol after that with the same "Establishing connection to pulseaudio. please wait” message. I rebooted and tried once more and still the same result. (I waited over 20 minutes with no change btw)

    Thank you for trying to help, by the way. I’m praying you are not out of ideas too!
    @joekamprad is a KDE user. Hopefully he can weigh in too =)

  • Have you edited any file that is under /etc/pulse ? If yes, please remove them and reinstall pulseaudio:

    sudo rm /etc/pulse/*
    sudo pacman -S pulseaudio pulseaudio-alsa pulseaudio-bluetooth pulseaudio-equalizer plasma-pa paprefs pavucontrol
    

    I’m no pulseaudio expert… so don’t hold your breath, sorry.

  • @karasu said in Pulseaudio is not starting up:

    Have you edited any file that is under /etc/pulse ? If yes, please remove them and reinstall pulseaudio:

    I didn’t and I already did that step. Removed it before and reinstalled pulseaudio. No hope.

    @karasu said in Pulseaudio is not starting up:

    I’m no pulseaudio expert… so don’t hold your breath, sorry.

    I understand yeah. I’m still very grateful for the effort though. Is there any other place I can ask in then? Or maybe anyone here who can help? Where do I go basically :(

  • @Otakami said in Pulseaudio is not starting up:

    @joekamprad is a KDE user. Hopefully he can weigh in too

    no i am not ! But i have it installed and can research on it ;)

    I just read this here to get a hint on what you can do:
    https://wiki.archlinux.org/index.php/PulseAudio

    running:

    pacmd
    

    inside terminal can be a good start here…

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3-wm#gnome-shell

  • /etc/xdg/autostart/pulseaudio.desktop
    is what starts pulseaudio as far as i can see. ?
    this performs the command: start-pulseaudio-x11
    https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Running/

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3-wm#gnome-shell

  • plz give us the url this commands output: (it will outopaste the log to ptpb.pw)

    pacmd info | curl -F [email protected] https://ptpb.pw/
    

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3-wm#gnome-shell

  • @joekamprad said in Pulseaudio is not starting up:

    no i am not ! But i have it installed and can research on it

    Close enough hahaha

    @joekamprad said in Pulseaudio is not starting up:

    https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting

    This has been my bible for the last 2-3 days. I don’t even want to look at it again.

    On a serious note. Any other forums you guys recommend me to check out for this?

  • https://forum.kde.org

    The ArchWiki entry seems to be outdated too i think…

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3-wm#gnome-shell

  • @joekamprad said in Pulseaudio is not starting up:

    https://forum.kde.org

    I don’t see how sound is related to the DE but I have to try everything!

    Thanks for the suggestion :)

  • https://forum.kde.org/viewtopic.php?f=19&t=93281

    Everything is related to everything else

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3-wm#gnome-shell

  • @joekamprad said in Pulseaudio is not starting up:

    no i am not !

    You’re not???

    I’ve always been under the impression you were! What DE do you use then?

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

Posts 47Views 1338
Log in to reply