GZDoom 4.9.0 Startup Music doesn't work properly
Moderator: GZDoom Developers
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!
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!
-
- Posts: 178
- Joined: Tue Oct 12, 2010 3:30 pm
- Location: Undisclosed Location, United States
GZDoom 4.9.0 Startup Music doesn't work properly
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.
-
- Posts: 38
- Joined: Wed Sep 30, 2020 2:35 pm
Re: GZDoom 4.9.0 Startup Music doesn't work properly
I'm experiencing this issue as well
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Re: GZDoom 4.9.0 Startup Music doesn't work properly
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.
-
- Lead GZDoom+Raze Developer
- Posts: 49184
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 4.9.0 Startup Music doesn't work properly
That sounds like something blocks the music stream callback.
-
- Posts: 178
- Joined: Tue Oct 12, 2010 3:30 pm
- Location: Undisclosed Location, United States
Re: GZDoom 4.9.0 Startup Music doesn't work properly
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.
-
- Posts: 2954
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: GZDoom 4.9.0 Startup Music doesn't work properly
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.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.
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.
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Re: GZDoom 4.9.0 Startup Music doesn't work properly
I'm pretty sure my specs are currently top of the line, though. Doubt it's related to that.
-
- Lead GZDoom+Raze Developer
- Posts: 49184
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 4.9.0 Startup Music doesn't work properly
The problem here is that the CVar::EnableCallbacks call happens right in the middle of the startup sequence and screws things up badly.
-
- Posts: 178
- Joined: Tue Oct 12, 2010 3:30 pm
- Location: Undisclosed Location, United States
Re: GZDoom 4.9.0 Startup Music doesn't work properly
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.
-
- Lead GZDoom+Raze Developer
- Posts: 49184
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 4.9.0 Startup Music doesn't work properly
It needs to be refactored, but that requires care to do right.