Pulse audio breaks sound in games

Bug #446228 reported by WhyteHorse
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: pulseaudio

The games Glest and Chromium have broken audio when pulse is installed. Steps to reproduce:
1. Install Ubuntu 9.10 beta
2. Install Chromium or Glest
3. Listen(possibly wait a long time or engage the games so they play many sounds simultaneously)
4. Hear line noise intermittently which interrupts audio playback

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: james 5827 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0500000 irq 22'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1025011d,00100003 HDA:11c11040,1025011d,00100200'
   Controls : 23
   Simple ctrls : 14
Date: Thu Oct 8 18:02:13 2009
DistroRelease: Ubuntu 9.10
Package: pulseaudio 1:0.9.18-0ubuntu3
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-11-generic i686
UserAsoundrc:

XsessionErrors:
 (gnome-settings-daemon:5858): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:5958): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:5925): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Revision history for this message
WhyteHorse (whytehorse) wrote :
Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 446228] [NEW] Pulse audio breaks sound in games

Try installing the libsdl1.2debian-pulseaudio package, as SDL has pulseaudio support, and let me know if that makes any difference.

 affects ubuntu/pulseaudio
 status incomplete

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
WhyteHorse (whytehorse) wrote :

It was already installed so I tried reinstalling and also installing the alsa version. Still have the same problem.

Revision history for this message
carthmen (carthmen) wrote :

Is there any fix found for this bug yet, i have yet to find a work around for this issue.

Revision history for this message
Matthew (matthew-linux) wrote :

This bug also affects me. If you see the pavucontrol, it seems the sound playback is terminates many times in a short period, while the sound cracking.

I had a look to the syslog, and here is the related lines:

The original syslog entries (translation below):
Nov 24 00:25:00 mbook pulseaudio[8099]: ratelimit.c: 6 events suppressed
Nov 24 00:25:15 mbook pulseaudio[8099]: alsa-sink.c: Az ALSA modul értesítése nyomán új adatokat kellett volna írni az eszközre, de jelenleg semmilyen írandó adat nincsen.
Nov 24 00:25:15 mbook pulseaudio[8099]: alsa-sink.c: Ez egy hiba lehet az ALSA „snd_hda_intel” eszközmeghajtóban. Kérem jelentse ezt a problémát az ALSA fejlesztői felé.
Nov 24 00:25:15 mbook pulseaudio[8099]: alsa-sink.c: Az értesítés a POLLOUT jelzésen keresztül érkezett – viszont a „snd_pcm_avail()” függvény visszatérési értéke 0 volt vagy a második érték kisebb volt, mint a minimum.

Here is my weak translation (I hope It's recognizable):
Nov 24 00:25:00 mbook pulseaudio[8099]: ratelimit.c: 6 events suppressed
Nov 24 00:25:15 mbook pulseaudio[8099]: alsa-sink.c: While notifying the ALSA module, some new data should be written to the device, but currently there is nothing to write.
Nov 24 00:25:15 mbook pulseaudio[8099]: alsa-sink.c: This problem may be in the device driver of ALSA "snd_hda_intel". Please report this problem to the developers of ALSA.
Nov 24 00:25:15 mbook pulseaudio[8099]: alsa-sink.c: The notification was received through the POLLOUT signal - but the return value of the "snd_pcm_avail()" function was 0, or the second value was below then the minimum.

Matthew

Revision history for this message
Daniel T Chen (crimsun) wrote :

This is an alsa-plugins bug (which I'm duping against bug 485488 since I've spent the past two days investigating) that's reproducible in Ubuntu 9.04, 9.10 and Fedora 12. Notice that using the improved pulseaudio backend for libsdl1.2 is generally much better, but the alsa backend is abysmal. And now we begin the long bisecting...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.