[regression] wesnoth has horribly crackling sound

Bug #301206 reported by Fridtjof Busse
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PulseAudio
New
Undecided
Unassigned
wesnoth (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

This bug might be related to bug 243345 and/or bug 66483, but I have this problem starting with intrepid and the other bugs are much older, it used to work fine with hardy on my hardware.
wesnoth has a horribly crackling sound on several effects (like the sound a turn-start).
I tried changing the sample_rate, loaded the audio-driver snd_hda_intel with position-fix=2 and set the in-game volume to 100%.
Nothing helps, the sound is still horrible.
This is definitely a regression from hardy.

Dara Adib (daradib)
description: updated
description: updated
Revision history for this message
Pauli (paniemin) wrote :

Is it possible that your sound system settup changed while upgradeing. That might have caused problems with libsdl as you have to have correct libsdl1.2debian-<sound system> package installed.

Revision history for this message
Fridtjof Busse (fbusse-deactivatedaccount-deactivatedaccount) wrote :

No, I did a full reinstallation.

Dara Adib (daradib)
Changed in wesnoth:
importance: Undecided → Medium
Revision history for this message
Andrius Štikonas (stikonas) wrote :

Does changing SDL buffer size to 4096 workaround this bug?

Revision history for this message
Fridtjof Busse (fbusse-deactivatedaccount-deactivatedaccount) wrote :

I'm currently on jaunty and this bug is gone.

Revision history for this message
federico.biasibetti (biasibo) wrote :

Hello, I'm having (presumably) the same issue here, but on Karmic beta. Wesnoth's sound crackling, and eventually going away completely. When this happens the application also freezes (especially when trying to quit).

I suppose this has something to do with pulseaudio because if I start wesnoth right after rebooting, I get no crackling and no freezes. But if I start, say, skype, or another pulseaudio-aware application (or if it's already running when I run wesnoth), then I get the crackling and the freeze.

I have tried fiddling with the buffer size and the sample rate in the config file (in ~/.wesnoth), but it doesn't help.

Revision history for this message
Rhonda D'Vine (rhonda) wrote :

 The difference in pulseaudio between Debian and Ubuntu is rather big - maybe this should get investigated by the people that did that changes and are closer involved with this part, maybe try to reduce the patch gap with getting a collaboration done between the Debian pulseaudio people and the Ubuntu people looking after it?

http://patches.ubuntu.com/p/pulseaudio/pulseaudio_1:0.9.19-0ubuntu4.patch

 Don't get me wrong, it might not be related to it, but it's the only thing that currently comes to my mind digging around for the issue.

Revision history for this message
Rhonda D'Vine (rhonda) wrote :

Can you try wether installing libsdl1.2debian-pulseaudio solves the issue for you?

Revision history for this message
Rhonda D'Vine (rhonda) wrote :

Please see LP #203158 for the long-standing fix that would have made this problem go away, or not pop up at all to start with. Installing libsdl1.2debian-pulseaudio is the proper fix for the issue but it's not wesnoth's job (or the job of any other SDL application) to fix your sound setup, sorry.

Thanks for your report anyway!
Rhonda

Changed in wesnoth (Ubuntu):
status: New → Invalid
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.