FS#75355 - [hedgewars] audio failure (game fails with error)
Attached to Project:
Community Packages
Opened by Eduard de Jong (jongeduard) - Sunday, 17 July 2022, 17:03 GMT
Last edited by Felix Yan (felixonmars) - Friday, 16 September 2022, 17:51 GMT
Opened by Eduard de Jong (jongeduard) - Sunday, 17 July 2022, 17:03 GMT
Last edited by Felix Yan (felixonmars) - Friday, 16 September 2022, 17:51 GMT
|
Details
Description:
Since a few days, Hedgewars stopped working on Arch Linux (I have multiple Arch systems on multiple machines, all have the same issue). Additional info: * package version(s): - hedgewars version 1.0.0-303 - certain sdl2 packages got updated last days. My suspicion is that it has something to do with it. Steps to reproduce: 1. Start the application: no music in the main screen. 2. Click to start a new quick game: no audio/music, and after a couple of seconds, the game terminates with an error popup that tells: "Mix_LoadWAV_RW: Unrecognized audio format". See the attached screenshot of this. Note: I have also a Fedora system installed. Hedgewars still works there. So it looks like it might be an Arch specific issue. Not shure of course. |
This task depends upon
Closed by Felix Yan (felixonmars)
Friday, 16 September 2022, 17:51 GMT
Reason for closing: Fixed
Additional comments about closing: hedgewars 1.0.0-329
Friday, 16 September 2022, 17:51 GMT
Reason for closing: Fixed
Additional comments about closing: hedgewars 1.0.0-329
Anyone else playing this game on Arch Linux??? ;)
Due to presence of a clean temporary solution, no reports available yet from other distros, no clear indication⁽³⁾ of which project is at fault (SDL, Hedgewars or Arch), and meatspace turbulence I did not seek to progress beyond determining what’s written above. While no official bug report has been opened yet, #hedgewars@Libera is aware of the situation.
The bug manifests itself much earlier than starting the game engine. Just without a crash. Hedgewars will silently fail to load Vorbis sounds in the menu, rendering it — no pun intended — silent.
____
⁽¹⁾ https://github.com/libsdl-org/SDL_mixer/releases/tag/release-2.6.1
⁽²⁾ https://github.com/nothings/stb/blob/master/stb_vorbis.c
⁽³⁾ A rough and quick test indicated that the std_vorbis backend itself seems to be functional, so it’s not as simple as pointing a finger at the module.
This seems to be narrowing the case to Hedgewars code. And code only, as it’s not dependent on its data files. Can someone confirm or deny existence of the bug on another distro with SDL_mixer 2.6.0?
____
⁽¹⁾ community/naev being the sole exception due to a conflict between openblas it requires and blas on my system.
____
⁽¹⁾ https://issues.hedgewars.org/show_bug.cgi?id=839#c1
____
⁽¹⁾ https://hg.hedgewars.org/hedgewars-draft/rev/fcea0f51d94f