Results 1 to 3 of 3

Thread: PulseAudio remote playback problems (sound Ok, video hangs)

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Beans
    11

    PulseAudio remote playback problems (sound Ok, video hangs)

    Hi all,

    I have two Ubuntu boxes, both 10.10 on a local 1GB LAN. I have pulseaudio installed and running on both, one configured as a server (where the speakers are plugged in) and one as the client. Both are configured correctly, sound is transmitted from one to the other normally (e.g. system sounds, audio applications). However, any time I play video (using Totem), or any time images are being synchronised to sound, the video locks up after a very short while while the sound continues to play.

    Here are the things I've noticed about my setup:

    1. The sound will only continue to play by itself for a while (not more than 10 or 20 seconds at best. After that, the sound stops as well.
    2. It definitely seems to be a video synchronisation problem, as in acknowledgements from transmitted audio frames from client to server not getting back in time to synchronise the next frame of video. HD videos will lock up almost instantly whilst old low-resolution encoded 4:3 videos may play for a while.
    3. No matter how I tweak /etc/init.d/pulse/daemon.conf and restart, on both client and server, the amount of physical network bandwidth being used for sound transmission never changes. A network monitor on both the client and the server show between 190KB/sec and 230KB/sec bandwidth being used for sound, even if I set the default-sample-rate parameter to (e.g.) 4KHz and the resample-method parameter to ffmpeg.
    4. I've tried increasing the priority to realtime to give it more CPU time. I used the "pulse-rt group" method and added myself to the group on both client and server. However, if it's a network saturation problem (as I suspect) then this won't help anyway.
    5. I get a lot of messages in /var/log/syslog that look like the following on both the client and server:
      Code:
      pulseaudio[1879]: ratelimit.c: 1035 events suppressed
    6. I also get a lot of messages in /var/log/syslog that look list this on both the client and server:
      Code:
      pulseaudio[1879]: alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 1 is less than avail 18.
      pulseaudio[1879]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
      pulseaudio[1879]: alsa-util.c: snd_pcm_dump(): <lots of dump information follows>.

    In particular, does anybody know why (3) is happening, and how I can reduce the amount of bandwidth pulseaudio is using for sound transmission?

    Of course, if anybody knows of a solution to this problem then that would be Ok has well

    Thanks in advance.

  2. #2
    Join Date
    May 2006
    Beans
    2

    Re: PulseAudio remote playback problems (sound Ok, video hangs)

    Hello,

    I have the exact same problem.
    Did you manage to fix it after all?

    Thanks.

  3. #3
    Join Date
    May 2006
    Beans
    2

    Re: PulseAudio remote playback problems (sound Ok, video hangs)

    I managed to fix it after reading this thread
    https://bbs.archlinux.org/viewtopic.php?id=146287

Tags for this Thread

Bookmarks

Posting Permissions

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