https://bugs.winehq.org/show_bug.cgi?id=55596
Bug ID: 55596 Summary: ANONYMOUS;CODE: Media playback is broken Product: Wine Version: 8.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mfplat Assignee: wine-bugs@winehq.org Reporter: dmrcghn@gmail.com Distribution: ---
Created attachment 75128 --> https://bugs.winehq.org/attachment.cgi?id=75128 Log with WINEDEBUG: +timestamp,+pid,+tid,+seh,+unwind,+threadname,+debugstr,+loaddll,+mscoree,+mfplat,+mfreadwrite
ANONYMOUS;CODE has video files it plays as cutscenes. They currently do not play (both audio and video).
Reproduction: Start a new game and hold left CTRL key to skip until main character enters a car. After the line "Why's all this happening anyway?", proceed to trigger a video playback. While the video is supposed to be playing, you can use mouse right click to bring up the option to skip to determine that the game has not crashed and is still running.
Setup: Proton Experimental (bleeding-edge branch) which as of writing is based on https://github.com/ValveSoftware/wine/commits/4dafea82d6098f67dda9edc8534827... . A WINEDEBUG log with traces for mfplat is attached as a file. This is on Arch Linux x86_64 with Mesa drivers on Intel CPU and GPU (Intel Tiger Lake-LP GT2 and 11th Gen Intel i3-1115G4 to be exact). Notice I'm using a XAudio2_9 redistributable native DLL instead of the built-in ones to bypass a voiceline related crash. I'm unable to provide a non-Proton log as the game is DRM'd, unfortunately.
Related information: The related lines are as follows: $ cat steam-2291020.log | grep mfplat | grep -v "trace:" Effective WINEDEBUG: +timestamp,+pid,+tid,+seh,+unwind,+threadname,+debugstr,+loaddll,+mscoree,+mfplat,+mfreadwrite 934.461:016c:0170:warn:mfplat:bytestream_QueryInterface Unsupported {279a808d-aec7-40c8-9c6b-a6b492c78a66}. 934.499:016c:0170:fixme:mfplat:src_reader_QueryInterface ({7b981cf0-560e-4116-9875-b099895f23d7}, 09EDD0FC)
Notice that there is a patch in the mailing list for IMFSourceReaderEx from a year ago that was put on hold until deemed necessary: https://www.winehq.org/pipermail/wine-devel/2022-February/208575.html https://www.winehq.org/pipermail/wine-devel/2022-February/208576.html Patching Wine with this patch makes video playback's audio work correctly. I couldn't find anything related to IMFMediaSource, unfortunately.