": not an instrument" on startup + timidity reverb crash
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.
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
": not an instrument" on startup + timidity reverb crash
This rather helpful message from timidity pops up on startup now, and then gzdoom crashes.
Last edited by Marisa the Magician on Tue Mar 06, 2018 4:15 pm, edited 1 time in total.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Latest git master - ": not an instrument" on startup
I can't help you if you do not post the data causing the problem.
Re: Latest git master - ": not an instrument" on startup
Is it with or without 8145b52? Because it was said many times that latest is a vague term.
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Latest git master - ": not an instrument" on startup
@graf: This happens with anything that has midi music, including vanilla iwads, and happens regardless of the soundfont timidity is using, and it still happens even if timidity isn't the selected midi device. As soon as a midi has to play, it crashes.
@_mental_: Still happens without that commit, I'm going back a couple more right now to test.
@_mental_: Still happens without that commit, I'm going back a couple more right now to test.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Latest git master - ": not an instrument" on startup
In that case I still need a crash log. When I start GZDoom without any sound fonts on my Windows system it properly reverts to OPL.
Re: Latest git master - ": not an instrument" on startup
On Linux GZDoom crashed for me because soundfont loader didn't check directory with executable. And there are no soundfont installed in the system.
In the mentioned commit I added handling of this case as the last resort option.
Post a whole callstack please along with value of fluid_patchset CVAR. BTW do you have a soundfont in any of the following directories?
In the mentioned commit I added handling of this case as the last resort option.
Post a whole callstack please along with value of fluid_patchset CVAR. BTW do you have a soundfont in any of the following directories?
Code: Select all
$HOME/gzdoom/soundfonts
/usr/local/share/doom/soundfonts
/usr/local/share/games/doom/soundfonts
/usr/share/doom/soundfonts
/usr/share/games/doom/soundfonts
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Latest git master - ": not an instrument" on startup
Should $progdir/soundfonts be added to the search path list?
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Latest git master - ": not an instrument" on startup
The crash no longer happens from before the timidity branch merge.
Here's a crash log: http://ix.io/RTj
I have gzdoom.sf2 in /usr/share/gzdoom (this directory is assigned in cmake with -DSHARE_DIR)
The value of fluid_patchset is "/media/Data/Music/_Soundfonts/scc1t2.sf2" (it's a sc-55 soundfont I have).
Here's a crash log: http://ix.io/RTj
I have gzdoom.sf2 in /usr/share/gzdoom (this directory is assigned in cmake with -DSHARE_DIR)
The value of fluid_patchset is "/media/Data/Music/_Soundfonts/scc1t2.sf2" (it's a sc-55 soundfont I have).
Re: Latest git master - ": not an instrument" on startup
What’s the version of FluidSynth? Versions between 1.1.7 and 1.1.9 crashes on some soundfonts. 1.1.6 works fine and the crash should be fixed in 1.1.10.
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Latest git master - ": not an instrument" on startup
It's 1.1.9, but I'm using timidity, not fluidsynth.
I've had it at that version since last month and the crashing didn't happen back then, anyway.
I've had it at that version since last month and the crashing didn't happen back then, anyway.
Re: Latest git master - ": not an instrument" on startup
Just dropping a note here that while I was working on a project on Linux, I was getting the same crash as Marisa. I had to set GZDoom's midi synth to OPL emulation in order to get it to stop crashing.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Latest git master - ": not an instrument" on startup
Is this some GCC optimization issue again? Let's not forget that there's some pretty math heavy routines in there.
Re: Latest git master - ": not an instrument" on startup
No, this was in Debug mode. Also, I was using Clang for development since it's a bit better with error messages when compiling code changes.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Latest git master - ": not an instrument" on startup
I hope this isn't a 64 bit issue. The Timidity code had looked like it wasn't ever compiled for 64 bit systems - and we all know that the memory layout on MSVC is not exactly the same as on GCC or Clang.
Re: Latest git master - ": not an instrument" on startup
I don't think so. On UNIX this can be useful during development only and without any other soundfont installed.Graf Zahl wrote:Should $progdir/soundfonts be added to the search path list?
Explicit fallback path to default soundfont is better in this case.
Works fine for me on macOS, 64-bit built with Clang. Tried without any config and with EAWPATS.Graf Zahl wrote:I hope this isn't a 64 bit issue. The Timidity code had looked like it wasn't ever compiled for 64 bit systems - and we all know that the memory layout on MSVC is not exactly the same as on GCC or Clang.
EDIT: Actually it crashes with timidity_chorus CVAR set to 1.