Creative Sound Blaster X-Fi Platinum Fatal1ty Champion Series soundboard
actually it is "Creative Sound Blaster X-Fi Titanium Fatal1ty Professional Series"
please update Message #2
Re: latest gzdoom freezes after a few minutes
Posted: Fri Mar 01, 2019 7:42 am
by _mental_
As a quick check, could you please try to enable VSync? Also, why do you use legacy/vintage build with quite modern hardware?
Re: latest gzdoom freezes after a few minutes
Posted: Fri Mar 01, 2019 8:39 am
by lafoxxx
_mental_ wrote:As a quick check, could you please try to enable VSync? Also, why do you use legacy/vintage build with quite modern hardware?
VSync was enabled during previous attempts -- I disabled it (that's why it's off in the config), but it didn't make any difference. The problem occured regardless of VSync setting.
I think I have also tried QZdoom (renamed to GZdoom -- app changed its icon immediately thereafter) -- with same "results", so I guess that's why I decided to move on to Vintage builds.
UPD:
Same results using latest Modern build -- but now it froze after much less time -- like 2 minutes.
vsync enabled.
Prepare to buy some new hardware soon. This sounds like some component in your system is coming close to the end of its lifespan.
Re: latest gzdoom freezes after a few minutes
Posted: Fri Mar 01, 2019 9:07 am
by lafoxxx
The system is less than a year old, CPU and motherboard released less than 9 months ago. Are you really sure? What Component should I replace?
Maybe there's some kind of Debug mode in gzdoom? How can I collect Verbose logs or something? I cannot even get to "Send GZdoom crash report" stage.
Re: latest gzdoom freezes after a few minutes
Posted: Fri Mar 01, 2019 9:14 am
by _mental_
According to the second dump, it was deadlocked in openal32.dll. Just out of curiosity, will it freeze with -nosound command line option?
Re: latest gzdoom freezes after a few minutes
Posted: Fri Mar 01, 2019 10:03 am
by lafoxxx
Actually the sound card is the only old component (besides few hard drives). Thanks for the guess.
Makes sense because it's OpenAL device.
Still haven't tried with No sound.
Tried the following instead:
Deleted all Configs
Played clean doom2.wad fine
Played doom2+psxtc.pk3 fine
Played doom2+psxtc+psxtcmus.pk3 fine
(Not using psx doom customizer)
so far so good, no freeze.
Maybe I'll be able to "pin-point" the culprit (problem PK3/setting in gzdoom.ini)
Re: latest gzdoom freezes after a few minutes
Posted: Fri Mar 01, 2019 3:13 pm
by lafoxxx
Freeze now appears randomly, or doesn't appear at all
First, it crashed after changing some options, including switching OpenAL device from Default to "OpenAL Soft on SB X-Fi (B)" and performing writeini shortly thereafter (sorry -- no dump)
When Sound Device was Default, don't remember encountering any crashes. But that's the only device -- "OpenAL Soft on SB X-Fi (B)", which should be used when Default is selected.
Maybe it's just a coincidence (I was impatient and changed openAl device to "OpenAL Soft on SB X-Fi (B)"), but "after" does not mean "due to" here, IMO.
Most recently -- used ini based on PSXDOOM.INI with some changes (writeini) from previous crash
I was playing with Resolution Scale
Caught freeze again with -nosound and just psxtc.pk3 psxtcmus.pk3 (no psxdoom customizer)
not sure if the crash reason is same as in my initial message (video memory overflow -- just a guess)
btw, @_mental_, what tool do you use to analyze memory dumps?
Tried windbg from Windows 10 SDK -- it didn't find any exceptions (or maybe I simply don't know how to use it).
I'll try with clean gzdoom cfg created from scratch, no change in options at all.
Re: latest gzdoom freezes after a few minutes
Posted: Sat Mar 02, 2019 12:37 am
by _mental_
lafoxxx wrote:what tool do you use to analyze memory dumps?
Tried windbg from Windows 10 SDK -- it didn't find any exceptions (or maybe I simply don't know how to use it).
I’m using Visual Studio 2017, 2015 should work too. Actually, WinDBG is enough to check dumps. You need to use Microsoft symbol server in WinDBG to get meaningful information in callstacks.
Re: latest gzdoom freezes after a few minutes
Posted: Sat Mar 02, 2019 4:49 pm
by Guest
[img]https://i.postimg.cc/cCJPj7s0/openal.png[/img]
With -nosound, there was no such crash -- no mention of openal32, and I think it'd crashed anyway with same steps I followed -- change virtual resolution to very high values (so probablythere's no need to investigate this case yet).
If the issue is really in OpenAl,
Do I need to build my own opernal32.dll? Is it possible to get some kind of OpenAL debug/verbose info (about this specific AlSourcePlay 0x79 issue)?
I don't have the debug symbols for the openal32.dll
Spoiler:
************* Path validation summary **************
Response Time (ms) Location
Deferred cache*
Deferred srv*https://msdl.microsoft.com/download/symbols
0:005> .ecxr
*** WARNING: Unable to verify timestamp for openal32.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for openal32.dll -
rax=0000000000000000 rbx=0000000000000400 rcx=0000021d7e105990
rdx=0000021d7e0d683c rsi=000000000000007f rdi=00000000000001fc
rip=000000005bd45e15 rsp=0000003d74aff880 rbp=0000000000000000
r8=0000021d7e0d6640 r9=0000000000000004 r10=0000021d7e0c8e90
r11=0000021d7e105850 r12=0000021d7e0d6640 r13=000000005bd678c0
r14=0000021d7e0d6640 r15=0000000000000100
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
openal32!alcCreateContext+0x36875:
00000000`5bd45e15 0f280402 movaps xmm0,xmmword ptr [rdx+rax] ds:0000021d`7e0d683c=????????????????????????????????
Is it possible to resolve this somehow?
Thanks for all your feedback so far.
Re: latest gzdoom freezes after a few minutes
Posted: Sun Mar 03, 2019 10:40 am
by _mental_
Well, it’s possible to build Debug version of the latest OpenAL release and replace .dll in GZDoom folder.
This won’t resolve the issue but will probably give some hints about the real cause of the crash.