Bug 2333738 - XM Module type music doesn't play
Summary: XM Module type music doesn't play
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dsda-doom
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-22 11:05 UTC by xyfxavde
Modified: 2025-04-17 19:48 UTC (History)
1 user (show)

Fixed In Version: SDL2_mixer-2.8.0-4.fc41 dsda-doom-0.29.0-1.fc43 dsda-doom-0.29.0-1.fc42 dsda-doom-0.29.0-1.fc40 dsda-doom-0.29.0-1.fc41
Clone Of:
Environment:
Last Closed: 2025-04-09 19:21:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description xyfxavde 2024-12-22 11:05:34 UTC
Example game: https://www.doomworld.com/idgames/levels/doom2/Ports/megawads/nerf

MAP33 uses a music track of format "XM Module" (according to Slade), different than all else. It doesn't play in Fedora's build of dsda-doom. In official appimage however (https://github.com/kraflab/dsda-doom/releases/tag/v0.28.2), it plays fine.

Reproducible: Always

Steps to Reproduce:
dsda-doom -iwad doom2.wad -file NERF.wad -warp 33
Actual Results:  
music doesnt play

Expected Results:  
music palys

Comment 1 Artur Frenszek-Iwicki 2024-12-22 11:47:12 UTC
This isn't an issue with the dsda-doom package itself.
The game uses the SDL2_mixer library for loading music,
and Fedora's build of said library currently ships without XM support.

I've opened a PR against Fedora's SDL2_mixer package to enable XM support:
https://src.fedoraproject.org/rpms/SDL2_mixer/pull-request/2

Comment 2 Artur Frenszek-Iwicki 2025-03-04 09:45:41 UTC
Should be fixed by updating to SDL2_mixer-2.8.0-4.fc41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-a28958c87b

Comment 3 xyfxavde 2025-04-02 11:05:20 UTC
I still don't hear the music in-game.

I have:
- SDL2_mixer 2.8.1
- dsda-doom 0.28.3

I get the following in -verbose output of dsda-doom:

```
CheckChunkHeader: Expected 'MThd' chunk header, got 'Exte'
ReadFileHeader: Invalid MIDI chunk header! chunk_size=1852073316
CheckChunkHeader: Expected 'MThd' chunk header, got 'Exte'
ReadFileHeader: Invalid MIDI chunk header! chunk_size=1852073316
I_OPL_RegisterSong: Failed to load MID.
CheckChunkHeader: Expected 'MThd' chunk header, got 'Exte'
ReadFileHeader: Invalid MIDI chunk header! chunk_size=1852073316
RegisterSongEx: Failed
Error loading song: Failed loading libxmp.so.4: libxmp.so.4: cannot open shared object file: No such file or directory
```

Comment 4 Artur Frenszek-Iwicki 2025-04-02 11:15:40 UTC
Ahh. My mistake was in assuming that SDL2_mixer links to libxmp.
It does not; the library is loaded at run-time using dlopen().
As such, installing SDL2_mixer does not automatically pull in libxmp.

You can solve this for yourself by manually installing libxmp.
I will add a Requires (or maybe a Recommends?) for libxmp to dsda-doom.

Comment 5 xyfxavde 2025-04-02 19:16:57 UTC
> libxmp

Thanks, that did it.

Comment 6 Fedora Update System 2025-04-09 19:18:13 UTC
FEDORA-2025-778f1ca784 (dsda-doom-0.29.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-778f1ca784

Comment 7 Fedora Update System 2025-04-09 19:21:56 UTC
FEDORA-2025-778f1ca784 (dsda-doom-0.29.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-04-09 19:28:33 UTC
FEDORA-2025-dc328a6f16 (dsda-doom-0.29.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-dc328a6f16

Comment 9 Fedora Update System 2025-04-09 19:49:35 UTC
FEDORA-2025-643dc91514 (dsda-doom-0.29.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-643dc91514

Comment 10 Fedora Update System 2025-04-09 19:58:21 UTC
FEDORA-2025-6f8e120034 (dsda-doom-0.29.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-6f8e120034

Comment 11 Fedora Update System 2025-04-10 02:09:05 UTC
FEDORA-2025-dc328a6f16 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-dc328a6f16`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-dc328a6f16

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-04-10 03:32:52 UTC
FEDORA-2025-643dc91514 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-643dc91514`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-643dc91514

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2025-04-10 04:10:14 UTC
FEDORA-2025-6f8e120034 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-6f8e120034`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6f8e120034

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2025-04-17 19:01:40 UTC
FEDORA-2025-dc328a6f16 (dsda-doom-0.29.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-04-17 19:33:38 UTC
FEDORA-2025-6f8e120034 (dsda-doom-0.29.0-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2025-04-17 19:48:10 UTC
FEDORA-2025-643dc91514 (dsda-doom-0.29.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.