protonscr

Shadow Warrior 2 video palyback problem

dxvkclosed wine bug
doitsujin/dxvk#1061 · opened 2019-05-15 by VortexAcherontic · updated 2019-05-20 · 11 comments · github
1 matching comments, n / p to jump
VVortexAcherontic 2019-05-15 github

While I made a showcase report on Shadow Warrior 2 I noticed that in the 2nd Level where you first enter the ZILLA Enterprise Laboratory there is a TV where a video should have ben played but it just shows a purple texture

SW2_Showcase-f082845

Software information

Shadow Warrior 2, Maximum Graphics

System information

  • GPU: NVidia GeForce GTX 1080
  • Driver: 418.56
  • Wine version: 4.0
  • DXVK version: 1.2

Apitrace file(s)

Unfortunately I can not provide an aptitrace log because right after the loading screen the game crashes.

Because I use Lutris to play the game I tried the following:

Disabled DXVK via Lutris and launched the game to make sure it runs with out DXVK.
OpenGL rendering was working and I was able to walk around. (No DXVK_HUD which was still enabled in the envs to make sure DXVK is off)

export WINEPREFIX=""
/home/<user>/.local/share/lutris/runners/wine/tkg-4.0-x86_64/bin/wine /home/<user>/Downloads/Software/apitrace-msvc/x64/bin/apitrace.exe trace -a dxgi <Path-to-SW2-installation>/ShadowWarrior2.exe

Log files

Ddoitsujin maintainer 2019-05-15 github

You probably need mfplat or something for the video to be played back; please post the full wine log. This isn't a rendering issue but a video playback issue.

VVortexAcherontic 2019-05-16 github

So I fetched the Wine debug output and tried to run the game wit Wine 4.5 but same issue.
In the Log I get a lot of these

0038:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x1daf170, size 16 stub!
0038:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x1daf170, size 16 stub!
0037:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x1c8f170, size 16 stub!
0037:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x1c8f170, size 16 stub!
0039:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x1ecf170, size 16 stub!
0039:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x1ecf170, size 16 stub!
0035:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x1a4f170, size 16 stub!
0035:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x1a4f170, size 16 stub!
003b:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x210f170, size 16 stub!
003b:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x210f170, size 16 stub!
003c:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x222f170, size 16 stub!
003c:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x222f170, size 16 stub!
003e:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x246f170, size 16 stub!
003e:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x246f170, size 16 stub!
003c:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x222f170, size 16 stub!
003c:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x222f170, size 16 stub!
003f:fixme:rawinput:GetRegisteredRawInputDevices devices (nil), device_count 0x258f170, size 16 stub!
003f:fixme:rawinput:GetRegisteredRawInputDevices devices 0x4d19f0, device_count 0x258f170, size 16 stub!

But I can not find anything which seems to be the issue because this messages also appear the whole time while the game is running.
In the main menu, loading screens, in that scene where the TV is eg.

How ever here is the full log: Wine Log

Edit: Also I ran "allcodecs" via Winetricks to make sure all Codecs are installed (except of windows media player according to winetricks) but still purple.

Ddoitsujin maintainer 2019-05-16 github

Can you post a savegame? I'm still fairly certain that this isn't my issue, but it can't hurt to take a quick look at what exactly the game is doing there.

Jjrugia 2019-05-16 github

If a savegame is provided I'd be happy to help test this as I've got the game installed.

Sshmerl 2019-05-17 github

I finished the game (GOG version), but have never encountered such bug. Can you post a savegame please?

VVortexAcherontic 2019-05-18 github

If I did not forgot something this should be the save game. I zipped the folder named "2" cuz it's the 2nd save I did. Hope this helps.

And @shmerl this is also the GOG Version I'm playing should be version 1.1.14.0

Oh and I forgot to mention that I also tried to install "mf" via WInetricks. This was the only thing close to mfplat I could found.

Also just checked back with a driver update I had today (430.14) same issue.
But I'm also already very sure that this might a video issue caused by missing codecs or what ever.
I tried the whole thing with a more recent Wine version 4.5 but same thing.
I think I tried a few other wine versions such as 4.6 and the protonified ones and let ya know what happened :)

Thanks for all your help :+1:

2.zip

VVortexAcherontic 2019-05-18 github

Okay now it's sure that it is not a DXVK issue.
Ran the game with the wine OpenGL renderer and the TV keeps purple.

Further on 4.6-protonified also did not solved the issue.
So it's something else I need to figure out :D

I should have checked this earlier before opening a ticket :confounded:

Sshmerl 2019-05-19 github

Hm, I guess I either missed it last time, or something is different now - I do get this purple screen in the cutscene, but after the cutscene the screen looks OK.

VVortexAcherontic 2019-05-19 github

Yes, while the cut scene (checked it on youtube in an Let's play done on Windows) there is a movie played on it. Some guy talking to the ladies around the table. After the cut scene the screen is just blank eg. just a texture is on it.
That's probably why @doitsujin may though it's a codec problem and it's probably is. Or maybe something got broken while an Shadow Warrior Update. I'm not sure which version it was on YouTube because also the video is about 2 to 3 Years old.

Sshmerl 2019-05-19 github

it's a codec problem and it's probably is

The game has some videos in Wangopedia, but they never worked for me in Wine. So I assume it's a related issue.

VVortexAcherontic 2019-05-20 github

I can confirm that also in the Extras Menu no Movie is working for me as well.
It looks more and more like an Wine/Codec issue x.x

So, since it is not a DXVK issue we could close this here right? :smile:

Launch options