Find the answer to your Linux question:
Results 1 to 2 of 2
Occasionally when running a youtube video, pulseaudio will for some reason fail. If something is running on amarok, it will run until it's finished but won't start anything. When run ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! ONEother's Avatar
    Join Date
    Sep 2008
    Posts
    13

    Pulseaudio reset??


    Occasionally when running a youtube video, pulseaudio will for some reason fail. If something is running on amarok, it will run until it's finished but won't start anything. When run from the terminal, this happens.
    Code:
    :(killed just before this point)
    ~$ pulseaudio
    W: pid.c: Stale PID file, overwriting.
    ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
    ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
    E: module-alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    restart
             (here is where I kill and retry the whole thing)
    Killed
             (retry)
    ~$ pulseaudio
    W: pid.c: Stale PID file, overwriting.
    E: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
    E: module.c: Failed to load  module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0"): initialization failed.
    ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
    Any ideas? I've tried reinstalling pulseaudio, but that didn't help.

  2. #2
    Just Joined!
    Join Date
    Apr 2012
    Posts
    1
    This has happened to me, too. It seems that the pulseaudio daemon gets confused between the links to the /tmp files and the stuff stored in your home folder.
    The problem goes away if you do the following, but maybe there's a more elegant way...
    1. Log out from the window system
    2. Log in on a console
    3. Delete all the stuff related to pulseaudio that is in your home folder:
    Code:
    rm .pulse-cookie .pulse/*
    4. There is lots of pulseaudio stuff also in /tmp so just to be sure you can delete also with
    Code:
    sudo rm -R /tmp/pulse*
    5. I restarted my machine at this point, not sure if it's necessary.
    6. Log in to the window system and it should work now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •