Bug - 0.9.12trunk - audio crash

4 replies [Last post]
ttsmj
User offline. Last seen 14 years 1 week ago. Offline
Joined: 2008-05-13
Posts: 27

random audio error crashed the game in progress

$ ./bin/hedgewars
(./bin/hedgewars) INFO - Output device: ALSA Software on default
hedgewars: pcm_pulse.c:361: pulse_write: Assertion `pcm->stream' failed.

system:
eeebuntu
pulse audio
Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

hedgewars options: hardware audio ON

Smaxx
Smaxx's picture
User offline. Last seen 12 years 51 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

You're running the latest files available on svn? The hardware audio option should be gone if you're not running on Windows.

nemo
nemo's picture
User offline. Last seen 3 weeks 6 days ago. Offline
Joined: 2009-01-28
Posts: 1861

WRT pulseaudio, issues with it have been long standing.
Try replacing:
libsdl1.2debian-alsa
with
libsdl1.2debian-pulseaudio

Other alternatives include:
Getting rid of pulseaudio.
Disabling sound/music.
Turning off compiz (in some configurations, not reliable, but can help).

Apparently being looked at by the pulse guys.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

nemo
nemo's picture
User offline. Last seen 3 weeks 6 days ago. Offline
Joined: 2009-01-28
Posts: 1861

https://bugs.launchpad.net/ubuntu/+source/hedgewars/+bug/454879

Also impacts other SDL mixer games, such as Wesnoth:
https://bugzilla.redhat.com/show_bug.cgi?id=358341
https://bugs.launchpad.net/bugs/386538

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

nemo
nemo's picture
User offline. Last seen 3 weeks 6 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Oh. Very important.
The SDL comment above is irrelevant.
The problem reported was prior to reverting to SDL audio, was when using the openal bridge - my bad. Didn't notice that.
That was removed prior to release of 0.9.12 - to be possibly reintroduced in next release.

Well. If anyone else using actual release notices this thread, at least they'll have the SDL fix.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]