[Bug 59356] New: Imperium Great Battles of Rome doesn't reproduce music and audio
http://bugs.winehq.org/show_bug.cgi?id=59356 Bug ID: 59356 Summary: Imperium Great Battles of Rome doesn't reproduce music and audio Product: Wine Version: 11.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dmusic Assignee: wine-bugs@list.winehq.org Reporter: lorenzofer@live.it Distribution: --- Created attachment 80291 --> http://bugs.winehq.org/attachment.cgi?id=80291 log Hi, Imperium GBR, Great Battles of Rome, doesn't reproduce music and general audio of the game, unless native directmusic is installed and dmusic,dmime, dswave, dmsynth and dsound are setted on native (native dmime is a bit infectious by asking private undocumented interface on other components). Imperium use Wave audio, and it's supposed to be implemented. And in fact audio fully worked on wine-staging 8.10 (first checked) until 8.15 (last working version available on the arch repo, these version doesn't seems to be compilable, maybe require an older version of some toolchain component), while the sucessive version available on the arch repo, 8.18 doesn't work anymore, and this match with the disabling of dmime-load-wave from staging, as it's supposed to be included into upstream. However it seems the current upstream is quite differently from the patchset, using wavetracks instead of putting the wave inside a segment. Resulting log shows multiple object interoperating, and dmime have a lot of functions that while having an implementation are still marked like "fixme stub",making it confusing to debug without being familiar. Attaching a +dmime,+dswave,+dmsynth,+dmusic log -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59356 Lorenzo Ferrillo <lorenzofer@live.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com --- Comment #1 from Lorenzo Ferrillo <lorenzofer@live.it> --- CC Rene Bernon, as author of many dmime, and other directmusic components, changes -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59356 --- Comment #2 from Lorenzo Ferrillo <lorenzofer@live.it> --- Continuing investigation it seems like the case DMUS_PMSGT_WAVE: from ProcessPMsg isn't being hit. This desite 0024:trace:dmime:wave_track_Play (02E8DE90, 1BE9D228, 0, 1, 9164, 0x15, 00114E28, 02C23088, 1) being in the log, wave_track_Play being the function to create and send to the performance the Msg -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59356 --- Comment #3 from Lorenzo Ferrillo <lorenzofer@live.it> --- Created attachment 80295 --> http://bugs.winehq.org/attachment.cgi?id=80295 additional log with +dsound,+dmime,+dswave,+dmusic the Wave message is being processed, the 0130:trace:dsound:IDirectSoundBufferImpl_Play (02E8F6D0,00000000,00000000,00000000) is in the trace next I'm attaching a new log with +dsound in addition. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59356 --- Comment #4 from Lorenzo Ferrillo <lorenzofer@live.it> --- Created attachment 80300 --> http://bugs.winehq.org/attachment.cgi?id=80300 log from wine-staging 8.15 (music and audio working) same debug channels -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59356 --- Comment #5 from Lorenzo Ferrillo <lorenzofer@live.it> --- I'm seeing a discrepancy between log from wine 11.1 and wine-staging 8.15 Wine 11.1 0024:trace:dmusic:wave_download_to_dsound 02C8F750, 0011DE6C, 01CBC534 0024:trace:dsound:IDirectSound8Impl_CreateSoundBuffer (0011DE68,0022FA2C,0022FA20,00000000) 0024:trace:dsound:DirectSoundDevice_CreateSoundBuffer (01CBC780,0022FA2C,0022FA20,00000000) 0024:trace:dsound:DirectSoundDevice_CreateSoundBuffer (structsize=36) 0024:trace:dsound:DirectSoundDevice_CreateSoundBuffer (flags=0x00000000: 0024:trace:dsound:DirectSoundDevice_CreateSoundBuffer ) 0024:trace:dsound:DirectSoundDevice_CreateSoundBuffer (bufferbytes=15376384) 0024:trace:dsound:DirectSoundDevice_CreateSoundBuffer (lpwfxFormat=02E72AC0) 0024:trace:dsound:DirectSoundDevice_CreateSoundBuffer (formattag=0x0001,chans=2,samplerate=44100,bytespersec=176400,blockalign=4,bitspersamp=16,cbSize=0) wine staging 8.15 0190:trace:dsound:IDirectSound8Impl_CreateSoundBuffer (01064410,00B9FAB4,010E4DD4,00000000) 0190:trace:dsound:DirectSoundDevice_CreateSoundBuffer (01065DC0,00B9FAB4,010E4DD4,00000000) 0190:trace:dsound:DirectSoundDevice_CreateSoundBuffer (structsize=36) 0190:trace:dsound:DirectSoundDevice_CreateSoundBuffer (flags=0x00000000: 0190:trace:dsound:DirectSoundDevice_CreateSoundBuffer ) 0190:trace:dsound:DirectSoundDevice_CreateSoundBuffer (bufferbytes=15376384) 0190:trace:dsound:DirectSoundDevice_CreateSoundBuffer (lpwfxFormat=010E4DBC) 0190:trace:dsound:DirectSoundDevice_CreateSoundBuffer (formattag=0x0001,chans=2,samplerate=44100,bytespersec=176400,blockalign=4,bitspersamp=16,cbSize=32) cbSize is different being 32 on wine-staging and 0 on wine 11.1. I'm however unsure from where this difference come and if it's of any relevance (this is the first WAVE that got Download from the segment the bufferbytes being equals seems to imply they are in fact the same data ) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59356 --- Comment #6 from Lorenzo Ferrillo <lorenzofer@live.it> --- Replicating FULLY the old patchset to the new dmusic-dmime works, after adapting it to the new code and adding a ReleaseCriticalSection to avoid hang -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59356 --- Comment #7 from Lorenzo Ferrillo <lorenzofer@live.it> --- Another issue with the current implementation is a strange stutteriness of the game, where at regular intervals (some kind of refresh) the world stop for a second. When instead I replicate the old staging patch (and with wine-staging 8.15) the game is fluid. That patch alone is however not correct, as the music of the main menu continue in loop even in the game. (I tested with 8.15 staging too). Also replicating the patch is causing the game to crash when starting dialogues, probably an interaction between old patch-new code I don't fully consider. Voices doesn't work without or with old wine-staging 8.15 (but do with relevant native directmusic) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla