https://bugs.winehq.org/show_bug.cgi?id=51958
Bug ID: 51958 Summary: Wiggles (Diggles): background music is distorted with >=wine-6.0.1 Product: Wine Version: 6.0.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: herrtimson@yahoo.de Distribution: ---
Created attachment 70941 --> https://bugs.winehq.org/attachment.cgi?id=70941 log from console
I tried wine-vanilla-6.0.1 and 6.0.2, both have the same regression: the background music is distorted, I believe its playing faster than it is supposed to and is also kind of choppy. The ambiant noises are not affected.
wine-vanilla-4.0.4 is the only older version I was able to test with - it is not affected. This version I had to copy it from an old backup, as anything older than 6.x fail to configure on my system.
wine-vanilla-6.18 is also affected,
so regression window is somewhere between 4.0.4 and 6.0.1
found these errors in the console log:
0224:err:quartz:process_output Failed to get sample, hr 0x80040211. 0224:err:mp3dmod:MediaObject_ProcessInput Already have a buffer. 0224:err:quartz:dmo_wrapper_sink_Receive ProcessInput() failed, hr 0x80040204. 01e8:fixme:mp3dmod:Unknown_QueryInterface no interface for {f90a6130-b658-11d2-ae49-0000f8754b99}
will add the full log
https://bugs.winehq.org/show_bug.cgi?id=51958
tt_1 herrtimson@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://wiggles.ruka.at/dow | |nloads/Wiggles_Demo2.exe
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #1 from tt_1 herrtimson@yahoo.de --- Created attachment 70943 --> https://bugs.winehq.org/attachment.cgi?id=70943 clean log from wine-vanilla-4.0.4
https://bugs.winehq.org/show_bug.cgi?id=51958
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|6.0.2 |6.0.1 Component|-unknown |quartz CC| |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #2 from tt_1 herrtimson@yahoo.de --- soo, after a lot of juggeling I found wine-vanilla-5.9 to be the first version affected by this bug.
https://bugs.winehq.org/show_bug.cgi?id=51958
tt_1 herrtimson@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wiggles (Diggles): |Wiggles (Diggles): |background music is |background music is |distorted with >=wine-6.0.1 |distorted with >=wine-5.9
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #3 from tt_1 herrtimson@yahoo.de --- I bisected the issue further, and found the commit that introduced this:
https://source.winehq.org/git/wine.git/commit/2f2ac792427348b9172a8d26978000...
reverting it solves the issue
how does one inform the author about the regression?
https://bugs.winehq.org/show_bug.cgi?id=51958
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wiggles (Diggles): |Wiggles (Diggles) has |background music is |distorted background music |distorted with >=wine-5.9 | Keywords| |download, regression Version|6.0.1 |5.9 Regression SHA1| |2f2ac792427348b9172a8d26978 | |0002a484ab16e
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to tt_1 from comment #3)
how does one inform the author about the regression?
Reworded the title a little, changed the version and added the 'download' & 'regression' keyworks.
As it turns out, Zebediah is already CC'd on this bug.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #5 from tt_1 herrtimson@yahoo.de --- reproducer, if you start with a clean profile:
choose windows nt 4.0 profile (win7 kind of works too, but is more sluggish) play the game, there will be no background music to fix that, install quartz dll via winetricks restart the game, find it with broken background music
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- Is it actually possible to reproduce with the demo?
Can you please attach a log with WINEDEBUG=+mp3dmod,+quartz,+qasf,+strmbase?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #7 from tt_1 herrtimson@yahoo.de --- Created attachment 71258 --> https://bugs.winehq.org/attachment.cgi?id=71258 compressed debug log
I executed the following command:
env WINEDEBUG=+mp3dmod,+quartz,+qasf,+strmbase WINEPREFIX=~/.wiggles WINEARCH=win32 wine Wiggles.exe
I've compiled latest wine from git head for that.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #8 from tt_1 herrtimson@yahoo.de --- Created attachment 71259 --> https://bugs.winehq.org/attachment.cgi?id=71259 compressed debug log with +devenum +quartz
find another debug log with +devenum +quartz attached, as the reverted commit was in the source code of devenum dll
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- Does `winetricks qasf` help?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #10 from tt_1 herrtimson@yahoo.de --- so, with wine-vanilla-7.0_rc1 and winetricks quartz already in the mix with quartz (Native,Builtin), I added wintricks qasf and get these mixed results:
qasf (Builtin) = no effect, sound choppy qasf (Native) = critical error in WigHelper.exe during startup, graphical output is black with white noise. Unplayable. qasf (Builtin,Native) = no effect, sound choppy qasf (Native,Builtin) = critical error in WigHelper.exe during startup, graphical output is black with white noise. Unplayable. qasf (disabled) = working sound (the qasf override is turned off though?!?!?)
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #11 from Zebediah Figura z.figura12@gmail.com --- (In reply to tt_1 from comment #10)
so, with wine-vanilla-7.0_rc1 and winetricks quartz already in the mix with quartz (Native,Builtin), I added wintricks qasf and get these mixed results:
qasf (Builtin) = no effect, sound choppy qasf (Native) = critical error in WigHelper.exe during startup, graphical output is black with white noise. Unplayable. qasf (Builtin,Native) = no effect, sound choppy qasf (Native,Builtin) = critical error in WigHelper.exe during startup, graphical output is black with white noise. Unplayable. qasf (disabled) = working sound (the qasf override is turned off though?!?!?)
Okay, that's annoying, it would have at least been a nice way to tell whether the problem is in mp3dmod or qasf.
What's the purpose of already using `winetricks quartz`? What happens if you use builtin quartz and winegstreamer?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #12 from Zebediah Figura z.figura12@gmail.com --- Ah, I see in comment 5 you say there's no music at all. Is there any interesting terminal output in that case?
It would likely be easier to fix the case with builtin quartz.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #13 from tt_1 herrtimson@yahoo.de --- Created attachment 71335 --> https://bugs.winehq.org/attachment.cgi?id=71335 compressed non-debug log
yes, it is of course much better to have the game working with the builtin quartz implementation, to wich you activly contributed in the last weeks if I remember correctly.
please find the log attached from console, the prefix is new Win7 without any dll overrides, fresh wine-7.0_rc2 from today. Can't see anything of interest though.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #14 from tt_1 herrtimson@yahoo.de --- Created attachment 71337 --> https://bugs.winehq.org/attachment.cgi?id=71337 compressed debug log with +mp3dmod,+quartz,+qasf,+strmbase,+devenum
and a debug log with WINDEBUG=+mp3dmod,+quartz,+qasf,+strmbase,+devenum recorded with the same prefix
I have zero experience in reading debug logs, does it provide you with any helpfull insights?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #15 from tt_1 herrtimson@yahoo.de --- reproduced with wine-7.0.1
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #16 from tt_1 herrtimson@yahoo.de --- the situation with wine-8.0_rc3 is the following:
There is no NT4.0 emulation anymore, so I switched to WinXP as the oldest available. Install is working. When I start the game, there is no intro video, and no background music in game menu. Installing quartz via winetricks does leave you with no visual output from the intro video, instead you stare at the command line and the sound of the video is played. No game menu is shown while video plays. Workaround is: delete video from Wiggles/Data folder.
The sound, I found this workaround: with winetricks, install quartz and directsound, set dsound to (builtin,native), and add wintricks qasf override, only to disable it.
With the removed video from Wiggles/Data, game now works.
I will try to come up with a more reasonable workaround, need to test some more combinations.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #17 from Zeb Figura z.figura12@gmail.com --- Hi, sorry I keep forgetting about this bug :-(
(In reply to tt_1 from comment #16)
There is no NT4.0 emulation anymore, so I switched to WinXP as the oldest available.
Emulation of older versions should still be supported. It requires creating a 32-bit prefix (set WINEARCH=win32 when creating the prefix), but that hasn't changed.
The sound, I found this workaround: with winetricks, install quartz and directsound, set dsound to (builtin,native), and add wintricks qasf override, only to disable it.
With the removed video from Wiggles/Data, game now works.
I will try to come up with a more reasonable workaround, need to test some more combinations.
The demo doesn't seem to have an intro movie, so I can't really reproduce this.
Can you attach a log with no workarounds (builtin quartz and everything) with WINEDEBUG=+quartz,+devenum?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #18 from tt_1 herrtimson@yahoo.de --- Created attachment 73861 --> https://bugs.winehq.org/attachment.cgi?id=73861 compressed debug log
Hi there,
true, it was a typo of mine to not choose win32 prefix. I changed that and now I can choose all the very old win versions, as before.
I attached the compressed build log, I was using wine-8.0_rc3 and this command:
env WINEPREFIX=~/.wiggles-regression WINEARCH=win32 WINEDEBUG=+quartz,+devenum wine Wiggles.exe
no workarounds with winetricks, no dll overrides. Does it have valueable information for you?
Game behavior has changed: now its no background music at all, only thing you hear are the non mp3 sounds - so some ambient noise when a dwarf interacts with an object in the world.
I believe that the background sounds are encoded in mp3 files within Data/Music, and all other sounds are encoded differently.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #19 from Zeb Figura z.figura12@gmail.com --- Do you have working 32-bit GStreamer? It seems to be missing. In fact I'm not sure that winegstreamer.dll is even built.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #20 from tt_1 herrtimson@yahoo.de --- Well no, I don't use gstreamer.
Since you're asking me so directly, is this configuration unsupported?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #21 from Zeb Figura z.figura12@gmail.com --- (In reply to tt_1 from comment #20)
Well no, I don't use gstreamer.
Since you're asking me so directly, is this configuration unsupported?
At this point, yes. We used to have an AVI parser in the tree, but it was enough of a maintenance burden that we switched to using GStreamer's.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #22 from tt_1 herrtimson@yahoo.de --- Well well, this looks so much better with gstreamer enabled in wine-8.0_rc3.
My testing took a bit longer, as I had to sort out rust multilib problems first, and a disabled left audio channel with my setup secondly. As pulseaudio finished doing its pulseaudio sound thingy, it is now all working as intended: perfect background and ambiant sound in Wiggles without winetricks or any other workarounds.
I couldn't find any information on when the mandantory gstreamer support was introduced to wine? Was this just recently with the wine-8.0 branch, or somewhere in the wine-7.0 branch?
Still not working is the intro movie, but thats a seperate bug.
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #23 from Zeb Figura z.figura12@gmail.com --- (In reply to tt_1 from comment #22)
Well well, this looks so much better with gstreamer enabled in wine-8.0_rc3.
My testing took a bit longer, as I had to sort out rust multilib problems first, and a disabled left audio channel with my setup secondly. As pulseaudio finished doing its pulseaudio sound thingy, it is now all working as intended: perfect background and ambiant sound in Wiggles without winetricks or any other workarounds.
Excellent, thanks for testing!
I couldn't find any information on when the mandantory gstreamer support was introduced to wine? Was this just recently with the wine-8.0 branch, or somewhere in the wine-7.0 branch?
Older than that, actually; it was removed in 4.17 and officially announced in 5.0 [1]:
- The builtin AVI, MPEG-I, and WAVE decoders have been removed; we now depend on GStreamer or the Mac QuickTime Toolkit to decode such media files.
[1] https://www.winehq.org/announce/5.0
Still not working is the intro movie, but thats a seperate bug.
Hrm, interesting. Can you please attach a new log with the same channels +quartz,+devenum?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #24 from tt_1 herrtimson@yahoo.de --- Created attachment 73871 --> https://bugs.winehq.org/attachment.cgi?id=73871 compressed debug log +quartz +devenum
this is with wine-8.0_rc3, its a bit of funky video format:
file start.avi: RIFF (little-endian) data, AVI, 640 x 360, ~24 fps, video: Intel Indeo 3.2, audio: uncompressed PCM (stereo, 22050 Hz)
current workaround is to remove or rename the intro video
also see #27244 for the bug about the video
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #25 from Zeb Figura z.figura12@gmail.com --- I finally managed to acquire a copy of the game, and according to my testing it works correctly, including the intro video, with wine 8.0-rc3.
The only bug I see is that the intro video should be fullscreen and isn't, but that doesn't seem likely to be due to the regression that this bug was originally reported for. Can you confirm this?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #26 from tt_1 herrtimson@yahoo.de --- hi, which version of the game did you manage to aquire? An old CD copy, or the newly ported gog version?
https://bugs.winehq.org/show_bug.cgi?id=51958
--- Comment #27 from Zeb Figura z.figura12@gmail.com --- (In reply to tt_1 from comment #26)
hi, which version of the game did you manage to aquire? An old CD copy, or the newly ported gog version?
I have a CD copy. The copyright date that I can find is 2002, and it does use DirectShow.