[Bug 59414] New: AAC error when playing Unity game videos
http://bugs.winehq.org/show_bug.cgi?id=59414 Bug ID: 59414 Summary: AAC error when playing Unity game videos Product: Wine Version: 11.2 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: msdmo Assignee: wine-bugs@list.winehq.org Reporter: afifsworld132@gmail.com Created attachment 80382 --> http://bugs.winehq.org/attachment.cgi?id=80382 Video playback after enabling DisableGstByteStreamHandler System: MacBook Pro M1 (2020), macOS 14.1.1, Wine Staging 11.2, DXMT 0.71 (I downgraded from 0.73 due to it having Shared Handle issues) Related to MR 6442 When playing a Unity game (in this case, Hollow Knight Silksong), any video renders unsmoothly and poorly compared to what it should look like. I see the following in the logs: (wine:64457): GStreamer-Video-CRITICAL **: 08:23:38.263: gst_video_info_from_caps: assertion 'gst_caps_is_fixed (caps)' failed 058c:fixme:mfplat:media_source_get_service_GetService Unsupported service {dd0ac3d8-40e3-4128-ac48-c0add067b714}. But this is an old issue. And only sometimes video playback works just fine. When enabling DisableGstByteStreamHandler OR using MR 5988, I get the following error with no video/audio: ``` 0:00:00.651204750 65255 0x600001b395c0 ERROR aacparse gstaacparse.c:355:gst_aac_parse_sink_setcaps:<aacparse0> Need codec_data for raw AAC 0:00:00.651291416 65255 0x600001b395c0 ERROR aacparse gstaacparse.c:355:gst_aac_parse_sink_setcaps:<aacparse0> Need codec_data for raw AAC 0:00:00.653903500 65255 0x600001b395c0 ERROR WINE unixlib.c:227:link_element_to_sink: Failed to find src pad compatible to <'':sink> on <audioresample1>. 0:00:00.654040541 65255 0x600001b395c0 ERROR WINE wg_transform.c:788:wg_transform_create: Failed to create winegstreamer transform. ``` Full logs added with GST_DEBUG=3 and logging channel mfplat. -- 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=59414 --- Comment #1 from Afif An Nafie <afifsworld132@gmail.com> --- Created attachment 80383 --> http://bugs.winehq.org/attachment.cgi?id=80383 Video playing without DisableGstByteStreamHandler/MR 5988 In this case, the video played fine, but not always is it this smooth. -- 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=59414 Afif An Nafie <afifsworld132@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://store.steampowered. | |com/app/1030300/Hollow_Knig | |ht_Silksong/ -- 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=59414 --- Comment #2 from Afif An Nafie <afifsworld132@gmail.com> --- 0:00:00.651204750 65255 0x600001b395c0 ERROR aacparse gstaacparse.c:355:gst_aac_parse_sink_setcaps:<aacparse0> Need codec_data for raw AAC 0:00:00.651291416 65255 0x600001b395c0 ERROR aacparse gstaacparse.c:355:gst_aac_parse_sink_setcaps:<aacparse0> Need codec_data for raw AAC 0:00:00.653903500 65255 0x600001b395c0 ERROR WINE unixlib.c:227:link_element_to_sink: Failed to find src pad compatible to <'':sink> on <audioresample1>. 0:00:00.654040541 65255 0x600001b395c0 ERROR WINE wg_transform.c:788:wg_transform_create: Failed to create winegstreamer transform. This error goes away with https://github.com/ValveSoftware/wine/commit/164af86dd770f975cdff3e09884f14e... -- 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=59414 --- Comment #3 from Afif An Nafie <afifsworld132@gmail.com> --- (In reply to Afif An Nafie from comment #2)
0:00:00.651204750 65255 0x600001b395c0 ERROR aacparse gstaacparse.c:355:gst_aac_parse_sink_setcaps:<aacparse0> Need codec_data for raw AAC 0:00:00.651291416 65255 0x600001b395c0 ERROR aacparse gstaacparse.c:355:gst_aac_parse_sink_setcaps:<aacparse0> Need codec_data for raw AAC 0:00:00.653903500 65255 0x600001b395c0 ERROR WINE unixlib.c:227:link_element_to_sink: Failed to find src pad compatible to <'':sink> on <audioresample1>. 0:00:00.654040541 65255 0x600001b395c0 ERROR WINE wg_transform.c:788:wg_transform_create: Failed to create winegstreamer transform.
This error goes away with https://github.com/ValveSoftware/wine/commit/ 164af86dd770f975cdff3e09884f14ebc14b856b
Ignore this comment, it is not actually fixed. -- 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=59414 Stian Low <wineryyyyy@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wineryyyyy@gmail.com --- Comment #4 from Stian Low <wineryyyyy@gmail.com> --- MR-11398 `WINE_D3D_CONFIG=no_create_flags=0x800` fixes backtrace for Silksong and videos for both renderer=gl and vulkan: - https://bugs.winehq.org/show_bug.cgi?id=50277#c69 -- 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=59414 --- Comment #5 from Stian Low <wineryyyyy@gmail.com> --- (In reply to Stian Low from comment #4)
MR-11398 `WINE_D3D_CONFIG=no_create_flags=0x800` fixes backtrace for Silksong and videos for both renderer=gl and vulkan: - https://bugs.winehq.org/show_bug.cgi?id=50277#c69
Silksong crashes for wine-11.14 because `d3d11_device_CreateFence` returns E_NOTIMPL fixed by returning S_OK instead after which game works including videos without MR-11398 workaround to skip d3d create flag 0x800 which is not used for Silksong: - https://bugs.winehq.org/show_bug.cgi?id=50277#c76 - https://gitlab.winehq.org/wine/wine/-/merge_requests/11398#note_147677 I will test via DisableGstByteStreamHandler which may help me run it for the first time because it seems to not apply for Signifier video bug because DisableGstByteStreamHandler seems to only apply to Signifier .m4v main menu background video which I will try to add to support also if necessary. For Linux, while playing videos, renderer=gl drops to very steady 30 fps as if intentional vs renderer=vulkan which stays steady at 60fps. Both render at 60fps during gameplay and I have not noticed any performance issues for brief test. -- 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=59414 --- Comment #6 from Stian Low <wineryyyyy@gmail.com> --- (In reply to Stian Low from comment #5)
I will test via DisableGstByteStreamHandler which may help me run it for the first time because it seems to not apply for Signifier video bug because DisableGstByteStreamHandler seems to only apply to Signifier .m4v main menu background video which I will try to add to support also if necessary.
Sorry. I for botching the second sentence. For clarify: I tried running DisableGstByteStreamHandler for Signifier video but it still seems to use gstreamer regardless. DisableGstByteStreamHandler may only apply for mfsrcsnk which Signifier seems to not use for videos. Therefore part of my effort for testing Haven related video bugs is to diff Gstreamer vs DisableGstByteStreamHandler which may requiring supporting DisableGstByteStreamHandler for wider cases such as however Signifier handles videos. As for your performance issues, I'll try to reproduce for Silksong on Linux. Otherwise it may be MacOS specific. Silksong calls GetSharedHandle right after CreateFence hack to return S_OK but unlike Haven video, Silksong seems able to fallback to software video rendering somehow without MR-11398 which is still unclear: 0024:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x820. 0024:fixme:d3d:wined3d_device_create wined3d 00007F85C8C6B740, adapter 00007F85C20AB660, device_type 0x1, focus_window 0000000000000000, flags 0x820, surface_alignment 4, feature_levels 00006FFFF8977E80, feature_level_count 6, device_parent 00007F84F6FC4F58, device 00007F84F6FC4EB0. 0024:fixme:d3d11:d3d11_device_CreateFence iface 00007F84F6FC4ED0, initial_value 0, flags 0, iid {affde9d1-1df7-4bb7-8a34-0f46251dab80}, fence 00007FFFFE1FF368 stub! 0024:fixme:d3d11:d3d10_multithread_SetMultithreadProtected iface 00007F84F6FC4EE0, enable 0x1 stub! 0220:fixme:dxgi:dxgi_resource_GetSharedHandle iface 00007F85C216F348, shared_handle 00007F856BFEDC50 stub! -- 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