GZDoom 4.9.0 Startup Music doesn't work properly

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

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 ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: GZDoom 4.9.0 Startup Music doesn't work properly

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by Graf Zahl » Tue Sep 26, 2023 4:08 pm

It needs to be refactored, but that requires care to do right.

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by Doomguy 2000 » Tue Sep 26, 2023 3:25 pm

If there's no way to fix this issue, what is the alternative when it comes to startup music? It works fine when it starts off as windowed but when it goes into fullscreen is when the music doesn't seem to work.

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by Graf Zahl » Thu Sep 14, 2023 3:17 pm

The problem here is that the CVar::EnableCallbacks call happens right in the middle of the startup sequence and screws things up badly.

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by Marisa the Magician » Sun Nov 20, 2022 4:32 am

I'm pretty sure my specs are currently top of the line, though. Doubt it's related to that.

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by Chris » Sat Nov 19, 2022 7:17 pm

Marisa the Magician wrote: Sat Nov 19, 2022 10:34 am On my side I do have a different issue, where the music starts, and then very shortly after, the startup screen begins rendering AND the music starts over. Only seems to happen with some music formats, though.
That sounds like the engine starts music playback, then something blocks the music thread from running for a moment (long enough for the starting buffer queue to drain/underrun), before it's able to show the start screen when allowing the music thread to update again and restart the audio stream. I could see that happen if you don't have many cores, and the game tries to upload a lot of data to the GPU, or do some other heavy task the prevent user threads from running.

Or maybe something starts the music initially, stops it while preparing data, then starts it again when showing the startup screen. Some formats (like MIDI with a large soundfont) can take a bit of time to load and (re)start, especially on older systems without an SSD.

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by Doomguy 2000 » Sat Nov 19, 2022 5:49 pm

All I know is that I didn't mess with the music settings and was working fine in the previous versions of GZDoom but isn't working in this particular version for some reason I can't explain.

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by Graf Zahl » Sat Nov 19, 2022 1:27 pm

That sounds like something blocks the music stream callback.

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by Marisa the Magician » Sat Nov 19, 2022 10:34 am

On my side I do have a different issue, where the music starts, and then very shortly after, the startup screen begins rendering AND the music starts over. Only seems to happen with some music formats, though.

Re: GZDoom 4.9.0 Startup Music doesn't work properly

by EmeraldCoasttt » Fri Nov 18, 2022 4:55 pm

I'm experiencing this issue as well

GZDoom 4.9.0 Startup Music doesn't work properly

by Doomguy 2000 » Sat Nov 12, 2022 6:01 pm

I've noticed in the recent update to GZDoom that when I launch Hexen or other wads that have startup music, it doesn't seem to play. It's only at the very beginning it plays music and when it goes full screen or windowed at the desired resolution it does this.

Top