Page 1 of 1

fmod/OpenGL sfx/gfx problems

Posted: Mon Mar 24, 2008 12:58
by vaxquis
i've just recently found about GZDoom and tried to use it with Doom2 WAD. downloaded GZD 1.1.02 and almost everything works right. almost.

problem nr 1) fmodex acts very strangely, sound is lagged, muted, distorted etc in a random fashion. upgrading fmodex.dll to 4.12.6 archieved nothing. switching to GZDoom 1.1.0 (fmod.dll 3.75) DOES work, sound's perfect then.

problem nr 2) OpenGL renderer in fullscreen blinks with black screen about once per second. windowed does not, and works fine. software renderer is perfect, too. switching refresh rate/res/colours/mipmaps etc hadn't fixed it so far. i've only found this on OpenGL FAQ:
5.120 Why does my MFC window flash, even though I'm using double buffering?

Your view class should have an OnEraseBkgnd() event handler. You can eliminate flashing by overriding this function and returning TRUE. This tells Windows that you've cleared the window. Of course, you didn't really clear the window. However, overriding the function keeps Microsoft from trying to do it for you, and should prevent flashing.
but i don't know, if this's possibly related.

my box is a clean install of Win98 SP2.1b on Athlon 500MHz with 256MiB RAM, Riva TNT2 32MB AGP x2 on Flatron L1952S and SB Live! Value PCI. all drivers updated.

Posted: Mon Mar 24, 2008 13:06
by Graf Zahl
If you are having sound problems with that I'm sorry but it's likely that the FMod developers won't fix them. And reverting to the old FMod is not an option for me.

As for the blinking screen, did you have that with older versions as well? In any case, I added the EraseBkgnd handling as described.

Posted: Mon Mar 24, 2008 13:18
by vaxquis
1. can you provide me with links to the older versions? i found no archive page so far, and i don't have SVN client installed to check against the repository; testing against older rel. should prove useful for me in case of any future problems.
2. do you know any simple way of modifing the source so that it would be able to use old fmod.dll?

Posted: Mon Mar 24, 2008 13:42
by Enjay
This may be useful

https://sourceforge.net/project/showfil ... _id=254133

RazTK's builds of the various SVN revisions

Posted: Mon Mar 24, 2008 14:19
by Graf Zahl
vaxquis wrote: 2. do you know any simple way of modifing the source so that it would be able to use old fmod.dll?

No. The programming interface has completely changed.