[Bug 42414] New: The Witcher 3 intro video doesn't play

classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 42414] New: The Witcher 3 intro video doesn't play

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

            Bug ID: 42414
           Summary: The Witcher 3 intro video doesn't play
           Product: Wine
           Version: 2.1
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: [hidden email]
          Reporter: [hidden email]
      Distribution: ---

Created attachment 57236
  --> https://bugs.winehq.org/attachment.cgi?id=57236
Witcher 3 Wine log

I'm running The Witcher 3 (GOG/1.31) in Wine staging 2.1.0 with CSMT enabled.
After clicking new game and selecting a few options, the intro video doesn't
play as it should, and the game goes straight into the tutorial section (with
still broken graphics).

I tried to find anything suspicious in the log (I had to reduce the noise from
d3d and etc, using: WINEDEBUG=-dxgi,-d3d11,-d3d,-d3d_shader

See attached log for errors, but none of them look video related.

OS: Debian testing x86_64.
GPU: AMD RX 480, Mesa 13.0.3 (same happens on Mesa master).

Any suggestions how to drill down to what fails?

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro video doesn't play

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from [hidden email] ---
I get the same result on an Nvidia GTX 970 using the proprietary driver
(version 375.26).

Basically for me it goes as follows:

- start the game to get the menu
- select "New Game"
- wait for the game to load
- the game starts with the initial bathtub scene, no intro video after the
loading screen

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro video doesn't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #2 from Shmerl <[hidden email]> ---
Apparently, there are two intro videos (one before the starting menu, and one
after selecting "New Game").

This one: https://www.youtube.com/watch?v=_8YUDfFtH2A
And this one: https://www.youtube.com/watch?v=uQE9lHBDDGg

Neither one is working.

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

Shmerl <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|The Witcher 3 intro video   |The Witcher 3 intro videos
                   |doesn't play                |don't play

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

Kimmo Myllyvirta <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Kimmo Myllyvirta <[hidden email]> ---
Try;
$ winetricks xact_jun2010
Then all the videos should play ok.

I'm not sure what the problem is, I'll try to debug it later, but this might be
related;
warn:xaudio2:IXAudio2Impl_CreateSourceVoice OpenAL can't convert this format!

When I select "Hearts of Stone Only" option when starting a new game, the video
plays even with builtin xaudio2_7, which is a bit weird.

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #4 from [hidden email] ---
(In reply to Kimmo Myllyvirta from comment #3)

> Try;
> $ winetricks xact_jun2010
> Then all the videos should play ok.
>
> I'm not sure what the problem is, I'll try to debug it later, but this might
> be related;
> warn:xaudio2:IXAudio2Impl_CreateSourceVoice OpenAL can't convert this format!
>
> When I select "Hearts of Stone Only" option when starting a new game, the
> video plays even with builtin xaudio2_7, which is a bit weird.

I can confirm that the videos play for me after running

$winetricks xact_jun2010

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #5 from Shmerl <[hidden email]> ---
(In reply to Kimmo Myllyvirta from comment #3)
> Try;
> $ winetricks xact_jun2010
> Then all the videos should play ok.
>
> I'm not sure what the problem is, I'll try to debug it later, but this might
> be related;
> warn:xaudio2:IXAudio2Impl_CreateSourceVoice OpenAL can't convert this format!


Thanks for the workaround! Though strangely after doing such install with
winetricks, none of the xact related DLLs are showing up in Wine settings as
overriden, which makes it harder to reset them back to test if the issue is the
builtin libs or not.

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #6 from Kimmo Myllyvirta <[hidden email]> ---
Created attachment 57241
  --> https://bugs.winehq.org/attachment.cgi?id=57241
screenshot

True, but it's not so hard to test. See the screenshot, this should be enough.
Add the xaudio2_7 dll to overrides, set it to builtin, then videos will fail to
play. Set it to native and they will work.

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #7 from Shmerl <[hidden email]> ---
(In reply to Kimmo Myllyvirta from comment #6)
> Created attachment 57241 [details]
> screenshot
>
> True, but it's not so hard to test. See the screenshot, this should be
> enough. Add the xaudio2_7 dll to overrides, set it to builtin, then videos
> will fail to play. Set it to native and they will work.

Actually, from the log it looks like more libraries to reset to get to stock
Wine:

Executing wine regsvr32 xactengine2_0.dll
Executing wine regsvr32 xactengine2_1.dll
Executing wine regsvr32 xactengine2_10.dll
Executing wine regsvr32 xactengine2_2.dll
Executing wine regsvr32 xactengine2_3.dll
Executing wine regsvr32 xactengine2_4.dll
Executing wine regsvr32 xactengine2_5.dll
Executing wine regsvr32 xactengine2_6.dll
Executing wine regsvr32 xactengine2_7.dll
Executing wine regsvr32 xactengine2_8.dll
Executing wine regsvr32 xactengine2_9.dll
Executing wine regsvr32 xactengine3_0.dll
Executing wine regsvr32 xactengine3_1.dll
Executing wine regsvr32 xactengine3_2.dll
Executing wine regsvr32 xactengine3_3.dll
Executing wine regsvr32 xactengine3_4.dll
Executing wine regsvr32 xactengine3_5.dll
Executing wine regsvr32 xactengine3_6.dll
Executing wine regsvr32 xactengine3_7.dll
Executing wine regsvr32 xaudio2_0
Executing wine regsvr32 xaudio2_1
Executing wine regsvr32 xaudio2_2
Executing wine regsvr32 xaudio2_3
Executing wine regsvr32 xaudio2_4
Executing wine regsvr32 xaudio2_5
Executing wine regsvr32 xaudio2_6
Executing wine regsvr32 xaudio2_7

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #8 from Kimmo Myllyvirta <[hidden email]> ---
You can add all those if you want, but xaudio2_7 is enough for this (there's no
xactengine in wine and the game specifically uses xaudio2_7).

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #9 from Kimmo Myllyvirta <[hidden email]> ---
Created attachment 57286
  --> https://bugs.winehq.org/attachment.cgi?id=57286
hack patch

Some more information, the culprit is definitely;

trace:xaudio2:IXAudio2Impl_CreateSourceVoice (0x471a8230)->(0x7ff623f4f058,
0x3d63de80, 0x0, 2.000000, (nil), (nil), (nil))
trace:xaudio2:dump_fmt wFormatTag: 0x3 (WAVE_FORMAT_IEEE_FLOAT)
trace:xaudio2:dump_fmt nChannels: 6
trace:xaudio2:dump_fmt nSamplesPerSec: 48000
trace:xaudio2:dump_fmt nAvgBytesPerSec: 1152000
trace:xaudio2:dump_fmt nBlockAlign: 24
trace:xaudio2:dump_fmt wBitsPerSample: 32
trace:xaudio2:dump_fmt cbSize: 18
warn:xaudio2:IXAudio2Impl_CreateSourceVoice OpenAL can't convert this format!

builtin xaudio2 supports 32-bit float formats, but only mono and stereo, not
6-channels, which is used for most of the movies/cinematics in this game.
The game actually handles the return values, and gracefully skips everything it
can't play.

Attached patch works, all the videos play, but (for me) it causes lots of
crackling/pops, this needs a bit different patch. Consider the attached patch
as a proof-of-concept.

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

Matteo Bruni <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |xaudio2
                 CC|                            |[hidden email]

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #10 from Andrew Eikum <[hidden email]> ---
(In reply to Kimmo Myllyvirta from comment #9)
> builtin xaudio2 supports 32-bit float formats, but only mono and stereo, not
> 6-channels, which is used for most of the movies/cinematics in this game.
> The game actually handles the return values, and gracefully skips everything
> it can't play.
>
> Attached patch works, all the videos play, but (for me) it causes lots of
> crackling/pops, this needs a bit different patch. Consider the attached
> patch as a proof-of-concept.

Yeah, your analysis is correct. The --32 formats like AL_FORMAT_QUAD32 are for
signed integer audio formats, not for IEEE float, so those won't work.

Looks like OpenAL doesn't have any defined formats for 6-channel IEEE float.
It's not immediately obvious to me if openal-soft even can downmix 6-channel
float.

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

tokktokk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #11 from [hidden email] ---
There is some bug that has ffmpeg conversion patch. Could it help here too?

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

mirh <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

Ivan Set <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

Sebastian Lackner <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email],
                   |                            |erich.e.hoover@wine-staging
                   |                            |.com, [hidden email],
                   |                            |[hidden email]
    Staged patchset|                            |https://github.com/wine-com
                   |                            |pholio/wine-staging/tree/ma
                   |                            |ster/patches/xaudio2-get_al
                   |                            |_format
             Status|UNCONFIRMED                 |STAGED
     Ever confirmed|0                           |1

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #12 from Andrew Eikum <[hidden email]> ---
>        What    |Removed     |Added
> --------------------------------------------------------
> Staged patchset|            |https://github.com/wine-com
>                |            |pholio/wine-staging/tree/ma
>                |            |ster/patches/xaudio2-get_al
>                |            |_format
>          Status|UNCONFIRMED |STAGED

This won't work correctly. I think it's better to correctly report that we
don't support this format, than to pretend IEEE float audio is actually PCM.

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 42414] The Witcher 3 intro videos don't play

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42414

--- Comment #13 from Sebastian Lackner <[hidden email]> ---
(In reply to Andrew Eikum from comment #12)
> This won't work correctly. I think it's better to correctly report that we
> don't support this format, than to pretend IEEE float audio is actually PCM.

Michael suggested this patch, and based on the information he found they are
float formats. See http://openal.org/pipermail/openal/2014-December/000287.html
for example.

--
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.


12