The official "ZDoom on Mac OS X" thread.
-
- Lead GZDoom+Raze Developer
- Posts: 47977
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: The official "ZDoom on Mac OS X" thread.
Sadly I'm not there yet. It still requires a compatibility context. I already eliminated most glBegin/glEnd draw calls for GL 4.4 but on Mac that won't help. For older GL versions without GL_ARB_buffer_storage I need to optimize the code to reduce the amount of buffer uploads by at least a factor of 10 or 20. This is still going to take some time though. But the goal clearly is to remove all non-core features it still uses.
What I really could use though is some tool that can check the code and point out all uses of non-core features. Finding all of them is not going to be easy.
How to handle GL 2.x hardware then, we'll see. My guess is that with time it will fade further into irrelevance and the few people still using it will have to stick with an older build that won't get updated anymore.
What I really could use though is some tool that can check the code and point out all uses of non-core features. Finding all of them is not going to be easy.
How to handle GL 2.x hardware then, we'll see. My guess is that with time it will fade further into irrelevance and the few people still using it will have to stick with an older build that won't get updated anymore.
-
- Posts: 77
- Joined: Tue Aug 09, 2011 10:26 pm
-
-
- Posts: 3771
- Joined: Sun Aug 07, 2011 4:32 am
Re: The official "ZDoom on Mac OS X" thread.
Yes. Actually, the old homepage has a link to the new one with the appropriate textjdagenet wrote:I had no idea this existed -- is this where all of the new versions of the GZDoom Mac OS port in the future will be hosted?

-
- Posts: 1176
- Joined: Sun Oct 24, 2010 7:37 pm
- Discord: Man of Doom#4046
- Twitch ID: _man_of_doom
- Location: 404 Error- Location of User Not Found
Re: The official "ZDoom on Mac OS X" thread.
Never mind, upgrading to 0.2.5 seems to have fixed the problem. I was using 0.2.4._mental_ wrote:I will check this issue as soon as possible. But first I need to know the version you are using, along with additional WADs and command line switches (if any).Hellstorm Archon wrote:GZDoom on Mac OSX will actually crash on certain levels (Community Chest 4: Map20, Deus Vult II Map19, RTC-3057)
It will be even better if you create an issue here (if you have a GitHub account) or here (if you have a Google account).
EDIT: I suspect it can be GL nodes saving issue on versions prior to 0.2.5. If you are already using this version please attach a crash log.
-
- Posts: 77
- Joined: Tue Aug 09, 2011 10:26 pm
Re: The official "ZDoom on Mac OS X" thread.
I have an issue regarding the MIDI playback on a ZDoom-based port.
For some reason, the MIDI instruments in any MIDI file get severely butchered and I'm not so sure as to why it's happening.
I recorded some in-game audio of D_RUNNIN (I know, I hate to put you through the torture) to give you guys a better idea of what is happening.
http://www.mediafire.com/listen/56e2bl4 ... InGame.ogg
I am running Mac OSX: Version 10.9.3 on a Macbook Pro if anyone needs the details.
Any clue as to why this is happening?
For some reason, the MIDI instruments in any MIDI file get severely butchered and I'm not so sure as to why it's happening.
I recorded some in-game audio of D_RUNNIN (I know, I hate to put you through the torture) to give you guys a better idea of what is happening.
http://www.mediafire.com/listen/56e2bl4 ... InGame.ogg
I am running Mac OSX: Version 10.9.3 on a Macbook Pro if anyone needs the details.
Any clue as to why this is happening?
-
-
- Posts: 3771
- Joined: Sun Aug 07, 2011 4:32 am
Re: The official "ZDoom on Mac OS X" thread.
What is the MIDI system you are using? Let me know a value of Options -> Sound Options -> MIDI Device setting.jdagenet wrote:I have an issue regarding the MIDI playback on a ZDoom-based port.
For some reason, the MIDI instruments in any MIDI file get severely butchered and I'm not so sure as to why it's happening.
-
- Posts: 77
- Joined: Tue Aug 09, 2011 10:26 pm
Re: The official "ZDoom on Mac OS X" thread.
The problem occurs with the FMOD MIDI device._mental_ wrote:What is the MIDI system you are using? Let me know a value of Options -> Sound Options -> MIDI Device setting.jdagenet wrote:I have an issue regarding the MIDI playback on a ZDoom-based port.
For some reason, the MIDI instruments in any MIDI file get severely butchered and I'm not so sure as to why it's happening.
The music output sounds fine when using the OPL device.
-
-
- Posts: 3771
- Joined: Sun Aug 07, 2011 4:32 am
Re: The official "ZDoom on Mac OS X" thread.
That's kinda strange. FMOD has its own software synthesizer, which is independent from underlying operating system.jdagenet wrote:The problem occurs with the FMOD MIDI device.
Let's try this: rename your config file (~/Library/Application Support/GZDoom/GZDoom.ini) temporarily to check if the issue persists using default settings.
Also, you can test with ZDoom, for instance with this build.
-
- Posts: 2841
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan Support
Re: The official "ZDoom on Mac OS X" thread.
FMOD will use an external soundfont for MIDI. Having wrong instruments play makes me think you're using a non-GM-compatible soundfont. First thing I'd check is the snd_midipatchset cvar, to see if you have a non-GM soundfont specified. If you don't have anything set for snd_midipatchset, perhaps FMOD's using a system default which is non-GM.
-
- Posts: 77
- Joined: Tue Aug 09, 2011 10:26 pm
Re: The official "ZDoom on Mac OS X" thread.
After renaming my config file, the problem still remains present. The issue also occurs with the build of ZDoom you've provided._mental_ wrote: That's kinda strange. FMOD has its own software synthesizer, which is independent from underlying operating system.
Let's try this: rename your config file (~/Library/Application Support/GZDoom/GZDoom.ini) temporarily to check if the issue persists using default settings.
Also, you can test with ZDoom, for instance with this build.
I checked that CVAR and it's set to a NULL value -- two quotation marks with nothing in the middle.Chris wrote: FMOD will use an external soundfont for MIDI. Having wrong instruments play makes me think you're using a non-GM-compatible soundfont. First thing I'd check is the snd_midipatchset cvar, to see if you have a non-GM soundfont specified. If you don't have anything set for snd_midipatchset, perhaps FMOD's using a system default which is non-GM.
-
-
- Posts: 3771
- Joined: Sun Aug 07, 2011 4:32 am
Re: The official "ZDoom on Mac OS X" thread.
I compared the sound from the file you provided with the actual sound output using FMOD. They sound absolutely identical to me. In other words, this is not a bug, it's a "feature" caused by default soundfont on OS X.jdagenet wrote:I recorded some in-game audio of D_RUNNIN (I know, I hate to put you through the torture) to give you guys a better idea of what is happening.
-
- Posts: 77
- Joined: Tue Aug 09, 2011 10:26 pm
Re: The official "ZDoom on Mac OS X" thread.
Not a very good feature if you ask me_mental_ wrote:I compared the sound from the file you provided with the actual sound output using FMOD. They sound absolutely identical to me. In other words, this is not a bug, it's a "feature" caused by default soundfont on OS X.jdagenet wrote:I recorded some in-game audio of D_RUNNIN (I know, I hate to put you through the torture) to give you guys a better idea of what is happening.

However, I managed to fix the problem.
I searched on the Internet for the Windows GM DLS file and I stumbled a crossed it here.
I saved the GM.DLS file to my desktop and I set the SND_MIDIPATCHSET CVAR to that DLS file and the problem is no longer present.
Perhaps it wouldn't be too bad of an idea to bundle this DLS file in future versions of ZDoom and possibly a README.txt file to help others resolve the problem.
-
-
- Posts: 3090
- Joined: Wed Nov 24, 2004 12:59 pm
- Github ID: Blzut3
- Graphics Processor: ATI/AMD with Vulkan Support
Re: The official "ZDoom on Mac OS X" thread.
Perhaps this would be a good reason to bother with implementing CoreMIDI support? Assuming the OS X system synthesizer sounds any better._mental_ wrote:I compared the sound from the file you provided with the actual sound output using FMOD. They sound absolutely identical to me. In other words, this is not a bug, it's a "feature" caused by default soundfont on OS X.
-
- Posts: 2841
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan Support
-
- Posts: 77
- Joined: Tue Aug 09, 2011 10:26 pm
Re: The official "ZDoom on Mac OS X" thread.
Are you able to use .SF2 with the FMOD device? I thought FMOD only supported .DLS files -- Fluidsynth and TiMidi++ were the only two devices in ZDoom that had .SF2 support, right?