https://bugs.winehq.org/show_bug.cgi?id=56472
Bug ID: 56472 Summary: Recettear opening movie blackscreen in Wine 9.5 Product: Wine Version: 9.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: quartz Assignee: wine-bugs@winehq.org Reporter: tomman@gmail.com Distribution: ---
Recettear (an always lovely and troublesome game under Wine) now exhibits a interesting regression on Wine 9.5: the opening movie (recet_op.wmv) no longer shows video other than a blackscreen, but audio plays fine. This is on a completely stock Wine prefix, where said game had flawless video playback until Wine 9.4.
Apparently this comes after the bunch of video rendering changes between 9.4 and 9.5. The only way for having the opening movie working properly on this game under Wine was by not using native Windows DLLs at all - that is, a stock Wine profile and gstreamer-libav (using applicable native DLLs in any combination will either break audio in the game, cause choppy movie playback, or outright crash the game)
As suggested via #winehq on IRC, I made a debug log with +quartz,+d3d,+seh - it's ~540MB uncompressed despite just logging the normal sequence that leads to the OP movie playing (run the game, wait a bit on the titlescreen, then the movie will come up). Since even compressed it's ~15MB, I can't attach it here, so I'm hosting it on my personal website instead: https://mi.tsdx.net.ve/temp/recet_broken_opmov_w95.log.xz
The most relevant parts from the log seem to be broken/missing colorspace conversions, with lots of the following logged even on a regular, non-debug-channel log:
0024:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x30323449) in the format lookup table. 0024:fixme:d3d:debug_d3dformat Unrecognized 0x56555941 (as fourcc: AYUV) WINED3DFORMAT! 0024:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x56555941) in the format lookup table. 0024:fixme:d3d:debug_d3dformat Unrecognized 0x56555941 (as fourcc: AYUV) WINED3DFORMAT! ... 0148:fixme:d3d:surface_convert_format Cannot find a conversion function from format WINED3DFMT_YV12 to WINED3DFMT_B8G8R8X8_UNORM. 0148:fixme:d3d:surface_cpu_blt Cannot convert WINED3DFMT_YV12 to WINED3DFMT_B8G8R8X8_UNORM. 0148:err:d3d:cpu_blitter_blit Failed to blit.
and eventually, when exiting the game: 014c:err:quartz:image_presenter_PresentImage Failed to blit, hr 0x88760096.