https://bugs.winehq.org/show_bug.cgi?id=52659
Bug ID: 52659 Summary: No sound for games that utilize windows media player functionality Product: Wine Version: 7.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: craigaschulstad@gmail.com Distribution: ---
Some games I play rely on using sound functionality with Windows Media Player (Version 9) in order to produce the sound. Up to and including Wine version 7.0, this functionality worked. After I applied version 7.1 (wine-devel) and subsequent versions, the sound functionality ceased to work, and the games emit no sound. I hoped that someone had already reported this issue, but I see it has not been reported up to this point. As a process of elimination, I reviewed the list of changes for version 7.1, focusing on any reference to "sound" or "audio" and temporarily replaced files "winmm.dll" and "mfmediaengine.dll", but this did not resolve the issue. So, the issue appears to lie elsewhere. Let me know if there are some tests I can run as I have a virtual machine set up with "wine-stable" installed and a virtual machine set up with "wine-devel" installed.
Regards,
Craig
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Could you provide reproduction steps? What kind of setup are you running? (distro, audio setup, etc.)
https://bugs.winehq.org/show_bug.cgi?id=52659
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #2 from Craig Schulstad craigaschulstad@gmail.com --- Gijs,
What you could probably do to test and compare is what I have done and set up two virtual machines using Linux Mint 20 (or Ubuntu). Then install "wine-stable" on one machine and "wine-devel" on the other machine. Once Wine is installed on each machine, set up a 32-bit Wine prefix/bottle and install Windows Media Player version 9. I used winetricks to do that, which also installs the necessary codecs.
Next, on each machine you could then attempt to play a "wma" file. When I did that on my virtual machine with "wine-stable" installed (7.0), the Windows Media Player app played the file. On the other virtual machine with the latest version of Wine (7.4), attempting to play the file caused the app to complain about a codec.
If you want to more closely replicate my issue, you could install the set of games I play that include mahjong. Here is that link.
https://winaero.com/request.php?1836
You should here sounds when clicking on a type of mahjong layout to play.
I will include one last possible clue. I launched the mahjong game on both machines and captured the text output they produced. I then compared the output and found one issue repeated when the game is running using version 7.4. The following "fixme" line is repeated:
0024:fixme:wmadec:media_object_SetInputType iface 00E56BD0, index 0, type 00DD80E0, flags 0x1 stub!
Please let me know if you need any more information.
Regards,
Craig
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #3 from Craig Schulstad craigaschulstad@gmail.com --- Gijs,
Doing a little more digging using the output from the log I captured seemed to point at the winegstreamer.dll file. Comparing differences in the "main.c" files, it appears that a bunch of codec analysis has been added. This might not be the actual cause of the issue, but it might provide a starting point to work back to where the codec disconnect is now occurring.
Regards,
Craig
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #4 from Craig Schulstad craigaschulstad@gmail.com --- Created attachment 72017 --> https://bugs.winehq.org/attachment.cgi?id=72017 Execution log for Mahjong using Wine 7.4
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #5 from Craig Schulstad craigaschulstad@gmail.com --- Created attachment 72018 --> https://bugs.winehq.org/attachment.cgi?id=72018 Execution log of Mahhong using Wine 7.0 (Stable)
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #6 from Craig Schulstad craigaschulstad@gmail.com --- Gijs,
To further refine testing of this issue, I built two virtual machines. The first machine was set up with Wine 7.0 (Stable). The second machine was set up with Wine 7.4 (development). I then built identical 32-bit Wine prefixes on each machine, installed the Windows Media Player 10 application, and installed my games. I then ran the Mahjong game on each machine, capturing the messages in a log file. As I experienced in the past, I had sound on the machine using Wine 7.0, and I had no sound on the machine using Wine 7.4.
Viewing the log when I ran the game on the Wine 7.4 machine, there were two distinct messages pointing to functionality not yet available:
"fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub"
"fixme:wmadec:media_object_SetInputType iface 00E56C88, index 0, type 00DDA958, flags 0x1 stub!"
These messages point back to files "libjpeg.c" and "wma_decoder.c" respectively.
This functionality may be planned for a subsequent release of the development version of Wine; however, I would like to still classify this as a bug, since this new path to include sound functionality currently has removed the "WMA" sound functionality. For your edification, I have attached the logs from each Wine version. Please let me know if you need any more information.
Regards,
Craig
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #7 from Craig Schulstad craigaschulstad@gmail.com --- Gijs,
Not seeing any movement on this issue, I determined that you possibly needed a definitive guide for setting up the test scenarios to compare Wine version 7.0 (stable) with Wine version 7.1 or greater (devel) regarding the missing sound issue. To that end, I composed a document outlining the steps for setting up two virtual machines. One would have the stable version of Wine with the Mahjong game installed and the other machine would have a current development version of Wine with the Mahjong game installed. I will attach that document to this issue for your edification. I hope that helps.
My suspicion is that decision was made to follow a new path in sound support and getting support back for the "WMA" sound files will be an iterative process. But I hope this additional guide will help. Thanks again.
Regards,
Craig
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #8 from Craig Schulstad craigaschulstad@gmail.com --- Created attachment 72200 --> https://bugs.winehq.org/attachment.cgi?id=72200 Test guideline to compare sound capability between stable and development
https://bugs.winehq.org/show_bug.cgi?id=52659
--- Comment #9 from Craig Schulstad craigaschulstad@gmail.com --- All,
I installed the latest version of Wine (7.18) on a new version of Linux Mint (Vanessa). With this combination, I now again have sound. You may close out this issue. Thank you.
https://bugs.winehq.org/show_bug.cgi?id=52659
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Zeb Figura z.figura12@gmail.com --- Marking fixed then; thanks for testing.
https://bugs.winehq.org/show_bug.cgi?id=52659
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.19.