Crash playing OGG or FLAC sounds w/ OpenAL backend in Linux

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.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Crash playing OGG or FLAC sounds w/ OpenAL backend in Linux

Re: Crash playing OGG or FLAC sounds w/ OpenAL backend in Li

by Blzut3 » Fri Nov 04, 2016 9:30 pm

I suppose there's no reason CMake can't read the version of FMOD and produce an error.

Re: Crash playing OGG or FLAC sounds w/ OpenAL backend in Li

by Graf Zahl » Fri Nov 04, 2016 4:48 am

Ok. This is something for a PR by a Linux guy. I see no point touching this stuff myself as I cannot test.

Re: Crash playing OGG or FLAC sounds w/ OpenAL backend in Li

by Edward-san » Fri Nov 04, 2016 4:47 am

It shouldn't happen if FMOD version is 4.44.61, so here's one exception to the 'allow only one' rule we should consider.

Re: Crash playing OGG or FLAC sounds w/ OpenAL backend in Li

by Graf Zahl » Fri Nov 04, 2016 4:24 am

I guess this can't be fixed on ZDoom's side, right? Today a similar report came up. Shouldn't then at least the CMake file be altered to allow only one sound backend on Linux?

Re: Crash playing OGG or FLAC sounds w/ OpenAL backend in Li

by Edward-san » Mon Aug 15, 2016 11:01 am

Sure, removing FMOD would work fine, but then you could pass -DNO_FMOD to the cmake configuration command line to make it work anyways.

Re: Crash playing OGG or FLAC sounds w/ OpenAL backend in Li

by JPL » Mon Aug 15, 2016 8:29 am

I actually got this working by just uninstalling FMODex libs from my system, without those ZDoom compiles with only OpenAL support and everything is groovy. Thanks for the clue!

Re: Crash playing OGG or FLAC sounds w/ OpenAL backend in Li

by Csonicgo » Mon Aug 15, 2016 7:49 am

Weird - on my box, the sounds simply won't play. I'm usually compiling with OpenAL exclusively these days, so I forgot all about this one.

Re: Crash playing OGG or FLAC sounds w/ OpenAL backend in Li

by Edward-san » Sat Aug 13, 2016 4:34 pm

That's because of symbol conflicts between fmod and openal. You should try with fmod 4.44.61.

Crash playing OGG or FLAC sounds w/ OpenAL backend in Linux

by JPL » Sat Aug 13, 2016 3:34 pm

Steps to repro:
1. build and run latest ZDoom code
1. set the audio backend to OpenAL
2. open doom 2 map01 or any map with an easily accessible secret
3. enter a secret sector and the game will crash right as it tries to play dssecret.flac (or any of the FLAC files in zdoom.pk3, or OGG ambient sounds in a WIP project of mine)

Log from laptop attached. Also happens in GZDoom.

This happens on both my Linux laptop and desktop, running Ubuntu 16.04 64-bit and Arch Linux 64-bit (latest 4.7 kernel) respectively. Setting the audio backend back to FMOD avoids the crash.

I definitely have all the right libraries installed, as ZDoom compiles from source with no errors and plays Doom-format sounds and music correctly.

This has actually been happening for a while, I set my audio to FMODex and forgot about it.
Attachments
zdoom_openal_crash_log.zip
(7.86 KiB) Downloaded 43 times

Top