https://bugs.winehq.org/show_bug.cgi?id=50440
Bug ID: 50440 Summary: The Secret of Monkey Island™: Special Edition - no music and environmental effects Product: Wine Version: 6.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: rtentser@yandex.ru Distribution: ---
The game starts with 'winetricks d3dcompiler_47' to workaround #37676 and works fine except there is no music and environmental effects. Sounds and speech work.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #1 from rtentser@yandex.ru --- Probably related to xWMA, the game uses it for music and effects.
https://bugs.winehq.org/show_bug.cgi?id=50440
Michael McGuire spoon0042@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spoon0042@hotmail.com, | |z.figura12@gmail.com
--- Comment #2 from Michael McGuire spoon0042@hotmail.com --- Someone posted on the forums about this so I had a look. Narrowed it down to between 5.14 and 5.15. Regression test yielded this but I'm not sure if it's valid; reverting it on 5.15 didn't work.
3231901ad886198dba016f10822cd8410d6546a6 is the first bad commit commit 3231901ad886198dba016f10822cd8410d6546a6 Author: Zebediah Figura z.figura12@gmail.com Date: Sat Aug 1 14:17:35 2020 -0500
Revert "winegstreamer: Check for failure from gst_video_info_set_format().".
This reverts commit ddd43e0a80bfd4c2e6f3ec650ed4b7d37890c46d.
This function returns void before 1.12.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49647 Signed-off-by: Zebediah Figura z.figura12@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 8f0c1ec98a89f9a8997210eeb429e5931793c75b e6482e44110ef27a95498f3d3678416dbe42982d M dlls
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- I can't reproduce this. I tried wine-staging-6.0 and wine-6.1. I'm also using FAudio-git with wma support.
Please retest.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #4 from Michael McGuire spoon0042@hotmail.com --- Tried various wine versions and still the only thing that works is devel 5.14 with native xact. afaik the debian faudio packages should support gstreamer / wma and I have the relevant gstreamer packages installed. Any other ideas? I'll probably try a local build of faudio just to check anyway.
https://bugs.winehq.org/show_bug.cgi?id=50440
rtentser@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|6.0-rc4 |6.1
--- Comment #5 from rtentser@yandex.ru --- Still doesn't work for me with wine 6.1. Tried wine-git, wine-staging-git, faudio 21.01, faudio-git (21.02), faudio-tkg-git. winetricks xact didn't help either.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #6 from rtentser@yandex.ru ---
I'm also using FAudio-git with wma support. wma support
Do i need to do some configuration magic to make it work or it should work by default?
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #7 from Michael McGuire spoon0042@hotmail.com --- Created attachment 69469 --> https://bugs.winehq.org/attachment.cgi?id=69469 log with +xact,+gstreamer
Still nothing. Attached a log. gstreamer doesn't show up at all and xact doesn't really either. My naive assumption it something's failing "farther up" but I don't know how to debug this further.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #8 from Michael McGuire spoon0042@hotmail.com --- FWIW it works in Proton "experimental" which ships a newer version of gstreamer. 1602 vs 1404 in the library filenames. I'd verify but getting a newer version of gstreamer looks like a massive pain. *shrug*
https://bugs.winehq.org/show_bug.cgi?id=50440
Giuliano pochini@shiny.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pochini@shiny.it
--- Comment #9 from Giuliano pochini@shiny.it --- Same problem here: no music and no background effects. Speech and action triggered sound (e.g. open/close a door) work. In classic mode background effects work. I tested several versions I compiled using Gentoo's "emerge" system. The last working version is wine-vanilla-6.0.2. None of the more recent versions I tested work: 6.23, 7.0, 7.1, 7.2, 7.3. How can I help?
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #10 from Giuliano pochini@shiny.it --- I made some more tests:
6.0.2 Ok
6.16 Ok
6.18 Ok
6.19 I could not compile it.
6.20 Crashes:
0128:err:ole:com_get_class_object class {2eeb4adf-4578-4d10-bca7-bb955f56320a} not registered 0128:err:ole:com_get_class_object no class object {2eeb4adf-4578-4d10-bca7-bb955f56320a} could be created for context 0x1 Assertion failed: (voice->src.wmadec != NULL && (pBufferWMA != NULL || voice->src.format->wFormatTag == FAUDIO_FORMAT_XMAUDIO2)) || (voice->src.wmadec == NULL && (pBufferWMA == NULL && voice->src.format->wFormatTag != FAUDIO_FORMAT_XMAUDIO2)), file /var/tmp/portage/app-emulation/wine-vanilla-6.20/work/wine-6.20/libs/faudio/src/FAudio.c, line 2456
6.21 No music
6.22 No music
6.23 No music
7.x No music
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #11 from Giuliano pochini@shiny.it --- I managed to compile 6.19. It works fine.
https://bugs.winehq.org/show_bug.cgi?id=50440
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #12 from Rémi Bernon rbernon@codeweavers.com --- It looks to be related to WMA audio, and e4258d529342cc1dc486a136d0f715520b3dd5da (which will be in the upcoming Wine 7.5 release) should restore its support in XAudio / FAudio through Media Foundation and GStreamer, if anyone can confirm.
https://bugs.winehq.org/show_bug.cgi?id=50440
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |leslie_alistair@hotmail.com Resolution|--- |FIXED
--- Comment #13 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Rémi Bernon from comment #12)
It looks to be related to WMA audio, and e4258d529342cc1dc486a136d0f715520b3dd5da (which will be in the upcoming Wine 7.5 release) should restore its support in XAudio / FAudio through Media Foundation and GStreamer, if anyone can confirm.
I can confirm that with latest git, Music and voice play fine.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #14 from Giuliano pochini@shiny.it --- I just tested 7.4. It still does not work.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #15 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Giuliano from comment #14)
I just tested 7.4. It still does not work.
You will need to wait until 7.5 or if you cannot compile it yourself.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #16 from Giuliano pochini@shiny.it --- Patch e4258d529342cc1dc486a136d0f715520b3dd5da alone applied to 7.4 does not fix the problem. I haven't tried the last git version yet.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #17 from Giuliano pochini@shiny.it --- I just tested the latest git version. Still no luck :-(
$ wine --version wine-7.4-119-g62df608d3ed
https://bugs.winehq.org/show_bug.cgi?id=50440
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- Ever confirmed|0 |1
--- Comment #18 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Something else is going on, reopening.
https://bugs.winehq.org/show_bug.cgi?id=50440
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |blue-t@web.de
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #19 from Giuliano pochini@shiny.it --- Same problem with 7.8
How can I help? The problem is wine doesn't print any error and the audio works, except for background music. I don't know what to look for.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #20 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Can you please test with 7.15?
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #21 from Giuliano pochini@shiny.it --- Sure! I test wine as soon as a new version is released. None of them work since 6.20 :(
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #22 from Ker noa blue-t@web.de --- i get these messages:
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.15 is a testing version containing experimental patches. 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0088:fixme:wineusb:query_id Unhandled ID query type 0x5. 0024:fixme:actctx:parse_manifest_buffer root element is L"\007fG\fffd\0005\fffd\fffdI\fffdY\fffdf\fffd\fffd\fffd\fffd\00136\fffdl\fffd\fffd\fffd3\000f\0008"gu\fffd\0493\fffd\fffd\fffd\fffd\fffd]\fffd\fffd\fffdu-]\fffd\0002\fffd\0003L\fffd\fffdU\fffd\001d&4v, not <assembly> 0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762) 0128:fixme:actctx:parse_manifest_buffer root element is L"\007fG\fffd\0005\fffd\fffdI\fffdY\fffdf\fffd\fffd\fffd\fffd\00136\fffdl\fffd\fffd\fffd3\000f\0008"gu\fffd\0493\fffd\fffd\fffd\fffd\fffd]\fffd\fffd\fffdu-]\fffd\0002\fffd\0003L\fffd\fffdU\fffd\001d\N0�, not <assembly> 0128:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762) 0128:err:module:import_dll Loading library opengl32.dll (which is needed by L"C:\windows\system32\wined3d.dll") failed (error c000012f). 0128:err:module:import_dll Library wined3d.dll (which is needed by L"C:\windows\system32\d3dcompiler_47.dll") not found 0128:err:module:import_dll Library d3dcompiler_47.dll (which is needed by L"C:\windows\system32\d3dx9_41.dll") not found 0128:err:module:import_dll Library d3dx9_41.dll (which is needed by L"Z:\media\Spiele\Monkey Island 1 SE\MISE.exe") not found 0128:err:module:LdrInitializeThunk Importing dlls for L"Z:\media\Spiele\Monkey Island 1 SE\MISE.exe" failed, status c0000135
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #23 from Giuliano pochini@shiny.it --- I just tested wine-7.17 and it works. BUT previous versions work, too.
I kept doing random tests with various versions, compile options, winetricks, ..., until I figured out that the compoment that makes it work is gstreamer. When wine is compiled --without-gstreamer it can't play the music. I also tested wine-7.13 and it's the same. It looks like wine-6.19 (the most recent version I thought it was OK) doesn't require it. I didn't test versions older than 7.13 because they also need older dependencies that I have to recompile and reinstall.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #24 from Rémi Bernon rbernon@codeweavers.com --- Yes, you will need GStreamer, and build wine with GStreamer development libraries to be able to decode most compressed audio / video streams (except a few older codecs which we have embeded).
For WMA you will also need to have GStreamer libav plugins and FFmpeg installed.
Previously WMA decoding was done in FAudio, but FAudio doesn't do anything itself, and it was also using GStreamer and FFMpeg. Probably your system distribution already built it with GStreamer support.
So can we consider this as resolved?
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #25 from Giuliano pochini@shiny.it --- Yes, gstreamer was installed because wine-6.19 requires it, too. I updated it recently and I'm trying to find the exact cause of the problem. I updated gstreamer last May when I compiled wine-7.9. Then I recompiled the same version of gstreamer (1.20.2) a few days ago when I compiled wine-7.17... and it finally played the music. Something changed and I don't know what. Perhaps the first time it didn't compile the ABI32 version of some components? I don't know :(
If I manage to unravel the mystery, I'll add a comment here.
The issue is resolved for me, but this bug report was opened by rtentser.
PS: I use Gentoo.
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #26 from rtentser@yandex.ru --- Manjaro, prebuild wine 7.16 from repos. Doesn't work out of box with error message:
026c:err:winediag:wma_decoder_create GStreamer doesn't support WMA decoding, please install appropriate plugins
It worked only after i've build and installed lib32-gst-libav from AUR. Thanks for pointing to root of the problem!
https://bugs.winehq.org/show_bug.cgi?id=50440
--- Comment #27 from Giuliano pochini@shiny.it --- Well, this is not the same problem as mine. Wine did not complain about missing libraries or anything. I compiled 6.19 and 7.x on the same system with exactly the same config. One worked and the others did not. That's why I thought it was wine's fault. Recompiling the same version of gstreamer fixed it (I had to install temporarily an older version for a test). So I'm baffled and I don't know what was wrong, but at least now we know that gstreamer has an important role.
For anyone who is having similar problems: I suggest to check if gstreamer and its plugins are installed in both amd64 and x86 (32 bits) versions.