No sound in zdoom after flashing OS V0.4

Ok here is the issue.
Before I flashed the new OS version I had zdoom setup with many Wads and PK3’s and everything worked like a charm with sound. But after flashing the new OS there is no sound at all after reinstalling zdoom.

I have installed openal (libopenal1), fluidsynth, Timidity etc…
With Timidity I get music but no sfx (gunshot, menu sound…)

Any idea?

And now I can’t even recompile zdoom!
WTF is wrong with this OS update?

Could someone try to compile zdoom on the new OS version?
Thanks it would be greatly appreciated.

where to get this zdoom?

Hi,
git clone https://github.com/rheit/zdoom.git

So I just complied zdoom on v0.3 image
Linux clockworkpi 4.20.0-clockworkpi-cpi3-00001-g3c01df52ed93
and no sound,too
not sure why

Is there anything in any logs that might give a hint? /tmp/x.log, or a zdoom specific log file?

cpi@clockworkpi:~/Downloads/zdoom$ DISPLAY=:0 ./zdoom 
ZDoom 2.9pre-2175-g4f21ff275 - 2016-12-29 11:44:07 +0100 - SDL version
Compiled on Jul 11 2019

M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding /home/cpi/Downloads/zdoom/zdoom.pk3, 620 lumps
 adding /usr/share/games/doom/freedm.wad, 3342 lumps
I_Init: Setting up machine state.
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 2461.47 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
Adding dehacked patch freedm.wad:DEHACKED
Unknown chunk not encountered. Skipping.
Unknown chunk (press encountered. Skipping.
Unknown chunk deathmatch encountered. Skipping.
Unknown chunk For encountered. Skipping.
Unknown chunk and encountered. Skipping.
Unknown chunk https://freedoom.github.io/ encountered. Skipping.
Unknown chunk deathmatch encountered. Skipping.
Unknown chunk For encountered. Skipping.
Unknown chunk and encountered. Skipping.
Unknown chunk https://freedoom.github.io/ encountered. Skipping.
Unknown chunk deathmatch encountered. Skipping.
Unknown chunk For encountered. Skipping.
Unknown chunk and encountered. Skipping.
Unknown chunk https://freedoom.github.io/ encountered. Skipping.
Unknown chunk Freedoom encountered. Skipping.
Unknown chunk For encountered. Skipping.
Unknown chunk and encountered. Skipping.
Unknown chunk https://freedoom.github.io/ encountered. Skipping.
Unknown chunk deathmatch encountered. Skipping.
Unknown chunk For encountered. Skipping.
Unknown chunk and encountered. Skipping.
Unknown chunk https://freedoom.github.io/ encountered. Skipping.
Unknown chunk deathmatch encountered. Skipping.
Unknown chunk For encountered. Skipping.
Unknown chunk and encountered. Skipping.
Unknown chunk https://freedoom.github.io/ encountered. Skipping.
Patch installed
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading default status bar definition.
ParseSBarInfo: Loading custom status bar definition.
===========================================================================
This is FreeDM, the free content deathmatch FPS.

FreeDM is freely redistributable under the terms of the modified BSD
license. Check out the Freedoom website for more information:

    https://freedoom.github.io/
===========================================================================
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
Resolution: 640 x 480
Starting MIDI playback failed
Playing demo DEMO1
Cannot play non-ZDoom demos.
Playing demo DEMO2
Cannot play non-ZDoom demos.
Playing demo DEMO3
Cannot play non-ZDoom demos.
Playing demo DEMO4
Cannot play non-ZDoom demos.
Starting MIDI playback failed

Well. On V0.3 it work for me. Its on V0.4 that I have issues.

You need the dependencies before compiling.
sudo apt-get install g++ make cmake libsdl2-dev git zlib1g-dev libbz2-dev
libjpeg-dev libfluidsynth-dev libgme-dev libopenal-dev libmpg123-dev
libsndfile1-dev libwildmidi-dev libgtk-3-dev timidity nasm tar chrpath

Compiled just fine on v0.4 here.

No sound however. Also, libfluidsynth-dev is not supported on raspi-type build as per https://zdoom.org/wiki/Compile_ZDoom_on_Raspberry_Pi

On OS V0.4 I was able to compile once but never got sound to work.
So I did a Sudo apt-get update, reinstalled the dependencies and tried to recompile without success. 10 times, without success. So I gave up. This, to me, sound like there is an issue with the new OS.

On OS V0.3, everything compile right away without issues. So I went back to OS V0.3. This new OS update is a mess unless you are a Linux freak or a black belt in compiling.

0.4 has midi support from what I remember reading, so once you have a soundfont set up, you should be able to use that. OpenAL should still be working though, unless it has been updated. Being a system dependency, try a sudo apt-get upgrade on Debian, or even try Debian 10 Buster. But also that could break things depending on what dependencies exist.