GZDoom 3.0.1 No Music on Linux Mint 17.3
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
GZDoom 3.0.1 No Music on Linux Mint 17.3
I recently updated my GZDoom from 2.2.0 to 3.0.1, and I noticed that custom WAD music no longer plays. original MIDI music works, just not custom music files.
I've tested it on 2 computers, one with Linux Mint 17.1 64 bit and another with 17.3 64 bit. On the 17.3 machine No custom WAD music plays at all, while on the 17.1 machine, custom music plays during the game, but the start menu music is not playing.
Both my computers were previously running GZDoom 2.2.0 without any sound problems with Fmod enabled. I tested both Fmod and Openal on GZDoom 2.2.0 on LM 17.3, and openal had the same problem with no music playing.
I used these WADs for testing the music: 'stronghold: on the edge of chaos' and 'brutal doom (project brutality with the music addon wad)' .
Strangely the music doesn't play, but the sound effects from the weapons and demons are working.
I had a look at the "libopenal1" package in my package manager and noticed this in the description:
"OpenAL Soft does not support the Vorbis and MP3 extensions, however those were considered deprecated even in the SI"
Not sure if this is helpful.
I've tested it on 2 computers, one with Linux Mint 17.1 64 bit and another with 17.3 64 bit. On the 17.3 machine No custom WAD music plays at all, while on the 17.1 machine, custom music plays during the game, but the start menu music is not playing.
Both my computers were previously running GZDoom 2.2.0 without any sound problems with Fmod enabled. I tested both Fmod and Openal on GZDoom 2.2.0 on LM 17.3, and openal had the same problem with no music playing.
I used these WADs for testing the music: 'stronghold: on the edge of chaos' and 'brutal doom (project brutality with the music addon wad)' .
Strangely the music doesn't play, but the sound effects from the weapons and demons are working.
I had a look at the "libopenal1" package in my package manager and noticed this in the description:
"OpenAL Soft does not support the Vorbis and MP3 extensions, however those were considered deprecated even in the SI"
Not sure if this is helpful.
- Chris
- Posts: 2971
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
Are there any messages in the console about the music or anything? The messages would be printed to the terminal too. Given that it only affects modded music and only happens with the OpenAL backend, that suggests an issue with the decoder libraries (libsndfile and libmpg123) handling whatever format those modded music files are.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
This sounds more like the libraries are not installed at all. GZDoom can be built without them but of course then there won't be any streaming music, and of course also no sounds in non-standard format.
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
No I didn't see any errors.Are there any messages in the console about the music or anything?
I've got theses packages installed: libsndfile1, libsndfile1-dev, libsndfile1:i386, libmpg123-0, libmpg123-dev, libmpg123-0:i386that suggests an issue with the decoder libraries (libsndfile and libmpg123)
I reinstalled them, but it made no difference. Also I installed all the system updates for my computers.
I'm using the 3.0.1 release from the Drdteam repository.GZDoom can be built without them
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
I installed GZDoom 2.4.0 instead. The music doesn't work in game (with openal), but it does in the menu. And now I can see some audio errors in the terminal.
The errors in 2.4.0 only appear with openal enabled.[parse.c:1081] error: Giving up searching valid MPEG header after 65536 bytes of junk.
Note: Illegal Audio-MPEG-Header 0x7ce7b1fc at offset 106947.
Note: Trying to resync...
Note: Skipped 1024 bytes in input.
[parse.c:1162] error: Giving up resync after 1024 bytes - your stream is not nice... (maybe increasing resync limit could help).
Note: Illegal Audio-MPEG-Header 0x2f9d47ed at offset 107974.
Note: Trying to resync...
Note: Skipped 1024 bytes in input.
[parse.c:1162] error: Giving up resync after 1024 bytes - your stream is not nice... (maybe increasing resync limit could help).
Note: Illegal Audio-MPEG-Header 0x7ce7b1fc at offset 106947.
Note: Trying to resync...
Note: Skipped 1024 bytes in input.
[parse.c:1162] error: Giving up resync after 1024 bytes - your stream is not nice... (maybe increasing resync limit could help).
Note: Illegal Audio-MPEG-Header 0x2f9d47ed at offset 107974.
Note: Trying to resync...
Note: Skipped 1024 bytes in input.
[parse.c:1162] error: Giving up resync after 1024 bytes - your stream is not nice... (maybe increasing resync limit could help).
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 10543.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 21589.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 16295.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 19448.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 12970.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 29045.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 10526.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 10558.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 10156.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 11142.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
[parse.c:987] warning: Cannot read next header, a one-frame stream? Duh...
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 12713.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 14622.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 14042.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 13740.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 21409.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 29586.
Note: Trying to resync...
Note: Hit end of (available) data during resync.
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
Installed the GZDoom 3.0.0 .deb file from the drdteam website. Same music problems as 3.0.1. Doesn't have errors messages like in 2.4.0.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
What kind of music did you try to play? Can you rule out that the track itself is broken?
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
Well I tried those 2 WADs I mentioned above. So it was the menu music and the game music from those WADs that doesn't work.Graf Zahl wrote:What kind of music did you try to play? Can you rule out that the track itself is broken?
I've played these WADs before in 2.2.0 / 2.4.0 with Fmod no problems, so I don't think they're broken.
This is the script to load my Project Brutality setup:
Code: Select all
#!/bin/sh
gzdoom -file "/home/user/Doom/Project Brutality 2.03.pk3" "/home/user/Doom/DoomVisor/UDV_v1.85_A_BASE.pk3" "/home/user/Doom/DoomVisor/UDV_v1.85_B_MOD_ProjectBrutality.pk3" "/home/user/Doom/DoomMetalVol4.wad" "/home/user/Doom/PB_Allow_SV_Cheats.pk3" "$1"
Code: Select all
#!/bin/sh
gzdoom -file "/home/user/Downloads/Games/Doom/Stronghold/strnghld_v1/strnghld_v1.pk3" "/home/user/Downloads/Games/Doom/Stronghold/stronghold_enhancer_b05_2.pk3" "/home/user/Downloads/Games/Doom/Stronghold/str_enh_b05_2-fix.pk3" "$1"
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
These mods are using Ogg/Vorbis music. This limit the problem to libsndfile or (which is more likely) to its dependencies, libogg and libvorbis.
The error log however contains lots of libmpg123 errors. The thing is that MP3 decoder is used only if libsndfile based decoder has failed to decode a music stream.
Apparently there is a problem with libsndfile or its dependencies in your system(s). Maybe it's an issue in that version of Mint.
EDIT: By the way, you can do a simple test by installing sndfile-programs package and using sndfile-play to verify .ogg file playback. Extract any music from Stronghold to get .ogg file for testing.
The error log however contains lots of libmpg123 errors. The thing is that MP3 decoder is used only if libsndfile based decoder has failed to decode a music stream.
Apparently there is a problem with libsndfile or its dependencies in your system(s). Maybe it's an issue in that version of Mint.
EDIT: By the way, you can do a simple test by installing sndfile-programs package and using sndfile-play to verify .ogg file playback. Extract any music from Stronghold to get .ogg file for testing.
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
Possibly. Openal was sort of working on LM 17.1, but not at all on 17.3.Apparently there is a problem with libsndfile or its dependencies in your system(s). Maybe it's an issue in that version of Mint.
Ok. Here's the results from testing some Stronghold songs:using sndfile-play to verify .ogg file playback. Extract any music from Stronghold to get .ogg file for testing.
Code: Select all
sndfile-play ./lam_fina.ogg
Playing ./lam_fina.ogg
File contains data in an unimplemented format.
sndfile-play ./tbm_cerb.ogg
Playing ./tbm_cerb.ogg
File contains data in an unimplemented format.
sndfile-play ./sh_sil.ogg
Playing ./sh_sil.ogg
File contains data in an unimplemented format.
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
Code: Select all
sndfile-play ./dsrich2.flac
Playing ./dsrich2.flac
File contains data in an unimplemented format.
sndfile-play ./DSNOVA.wav
Playing ./DSNOVA.wav
[This file plays without an error]
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
This either means that something is seriously broken or that for some reason you do not have installed the decoding libraries (libogg, libvorbis and/or libflac)
In any case, it's not GZDoom that's at fault here.
In any case, it's not GZDoom that's at fault here.
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
They are all installed in my package manager.you do not have installed the decoding libraries (libogg, libvorbis and/or libflac)
It looks like the linux version of OpenAl doesn't support these music file types. So I'm stuck with GZDoom 2.4.0, until somebody fixes OpenAl.it's not GZDoom that's at fault here.
I'll probably install a newer Linux OS later, and see if it's still broken.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
OpenAL does not support ANY music types or sound decoding facilities. GZDoom uses libsndfile to decode them and stream them through OpenAL. And the failure clearly happens somewhere on libsndfile's side or some of its dependencies - which I have no control over and cannot fix.
Re: GZDoom 3.0.1 No Music on Linux Mint 17.3
I've compiled and installed libogg, libvorbis, libflac, and libsndile from source code, And I've managed to fix the problem I was having. sndfile-play doesn't give any errors anymore either.
It must have been a bug with the official packages on my OS.
Thanks for the help guys.
It must have been a bug with the official packages on my OS.
Thanks for the help guys.
