JGRennison / OpenTTD-patches

OpenTTD - http://www.openttd.org/ - with additional patches
Other
553 stars 127 forks source link

[Bug]: Skipping tracks in ingame jukebox #478

Open JJWaite opened 1 year ago

JJWaite commented 1 year ago

Version of OpenTTD

openttd-jgrpp-0.50.2-linux-generic-amd64

OS and Platform Info

Operating System: SteamOS 3.4.4 KDE Plasma Version: 5.26.1 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 Kernel Version: 5.13.0-valve36-1-neptune (64-bit) Graphics Platform: X11 Processors: 8 × AMD Custom APU 0405 Memory: 14.5 GiB of RAM Graphics Processor: AMD Custom GPU 0405 Manufacturer: Valve Product Name: Jupiter System Version: 1

Expected result

The inbuilt jukebox is supposed to play each music track to end, then move to next, sequentially.

Actual result

Each track immediately ends withing a few frames of starting, creating a persistent loop of rapid track changes that is extremely damaging to performance

Steps to reproduce

  1. Load Base Music Set in Game Options
  2. Open Jukebox in Sound/Music Hotbar
  3. Create/Select playlist with tracks selected
  4. Jukebox will now begin skipping tracks at speed, with severe performance impact.
JGRennison commented 1 year ago

You may need to install timidity if it isn't already installed. The in-game music is MIDI-based.

JJWaite commented 1 year ago

You may need to install timidity if it isn't already installed. The in-game music is MIDI-based.

Have you modified the music implementation from the base game, because utilising the steam 1.12.2 vanilla OpenTTD install, i dont get this error, and the music plays as normal.

JGRennison commented 1 year ago

The music implementation should be the same in my branch. It may be worth trying the 13.0-RC1 release to see if that works.