ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.89k stars 1.04k forks source link

Resident Evil 3 (952060) #3719

Open laichiaheng opened 4 years ago

laichiaheng commented 4 years ago

Compatibility Report

System Information

I confirm:

steam-952060.zip

Symptoms

It crashes.

Reproduction

Run the game, and it happens every time.

laichiaheng commented 4 years ago

@kisak-valve It only happens to Proton 5.0-5, if I try it with Proton5.4-GE1 and Proton5.4-GE3, it works out of the box.

MuchiMuchiPink commented 4 years ago

@laichiaheng do you get past the intial setup, when it loads the actual game? Because that's when it still crashes for me with Proton5.4-GE3. Is this MF-related? This is so weird considering the demo ran w/o any issues. Edit: it really was the issue

laichiaheng commented 4 years ago

@laichiaheng do you get past the intial setup, when it loads the actual game? Because that's when it still crashes for me with Proton5.4-GE3. Is this MF-related? This is so weird considering the demo ran w/o any issues. Edit: it really was the issue

The game launched without problem for me when the mfplat workaround was not enabled. Maybe you should remove the prefix folder and try it again?

NTMan commented 4 years ago

Same here. The game crashes with Proton 5.0-5, but works with 5.4-GE-1 even without mfplat crutch. steam-952060-proton-5.0-5.log steam-952060-proton-5.4-ge-1.log System info

MuchiMuchiPink commented 4 years ago

@laichiaheng yes the game launched, but when it starts as in loading the first cutscene it crashed w/o the mfplat, because it is a real action movie rather than in-engine.

ghost commented 4 years ago

Edit:

Works on latest Proton-GE with the Media Foundation work thanks to Guy1524

If it still doesn't try deleting the prefix, and/or adding PROTON_USE_SECCOMP=1 %command% in launch options/

laichiaheng commented 4 years ago

@GloriousEggroll steam-952060-Proton-5.4-GE-3.log When I try to enter the S.T.A.R.S. member room, it crashes. It's the GE proton. @doitsujin Is it a DXVK issue?

laichiaheng commented 4 years ago

Same here. The game crashes with Proton 5.0-5, but works with 5.4-GE-1 even without mfplat crutch. steam-952060-proton-5.0-5.log steam-952060-proton-5.4-ge-1.log System info

@laichiaheng yes the game launched, but when it starts as in loading the first cutscene it crashed w/o the mfplat, because it is a real action movie rather than in-engine.

Do you guys also have the issue?

MuchiMuchiPink commented 4 years ago

@laichiaheng My game crashes as well when I try to enter the stars office.

smo0z commented 4 years ago

@laichiaheng for me it also always crashes at the S.T.A.R.S office. no matter whether Proton Tkg or GE, DX11 or DX12, fsync/esync on/off. and now i can't test any further because of denuvo.

doitsujin commented 4 years ago

@doitsujin Is it a DXVK issue?

Doesn't look like it, no (see reports about the same thing happening with dx12, and also have a look at the stack trace).

Waelwindows commented 4 years ago

I dunno if this has been happening to anybody else, but GE proton fixes the initial setup crash, but now, instead it always crashes after the CAPCOM logo at the save indicator message with and without the movie patch

Waelwindows commented 4 years ago

Also, the game crashed for me at the STARS office (with GE1 proton and the movie patch)

MuchiMuchiPink commented 4 years ago

I use GE3, except for the stars office, no crashs. The Stars Office is a cutscene, so there must be something missing.

Fothsid commented 4 years ago

I use GE3 because the game doesn't start on default versions of Proton no matter with or without the mfplat patch. However even with GE3 the game crashes upon entering STARS office. The first 1~2 seconds of a cutscene play, then it crashes.

laichiaheng commented 4 years ago

I use GE3 because the game doesn't start on default versions of Proton no matter with or without the mfplat patch. However even with GE3 the game crashes upon entering STARS office. The first 1~2 seconds of a cutscene play, then it crashes.

I didn't see any cut scene at SRARS office at all.

MuchiMuchiPink commented 4 years ago

Same, it basically crashes right after pushing the door. Cutscene is only 2 second and transitions to ingame.

laichiaheng commented 4 years ago

Has anyone tried this thing: https://www.reddit.com/r/linux_gaming/comments/fhixs0/media_foundation_mfplat_in_wine_without_microsoft/ He doesn't need the mfplat from Microsoft to play the game which needs it.

laichiaheng commented 4 years ago

I have a temporal workaround.

  1. Turn off subtitle. (if not, it will crash immediately)
  2. Enter the office.
  3. Skip the cut scene in the first few seconds.
MuchiMuchiPink commented 4 years ago

@laichiaheng turning off subtitles doesn't fix it for me, crashes regardless.

laichiaheng commented 4 years ago

@laichiaheng turning off subtitles doesn't fix it for me, crashes regardless.

I forgot to mention, I didn't walk into the door, I pressed the A button to triger the cut scene, then skipped it immediately.

MuchiMuchiPink commented 4 years ago

Yes, even if I do that. The game freezes immediatly when I press A.

laichiaheng commented 4 years ago

Yes, even if I do that. The game freezes immediatly when I press A.

How about standing in front of the door for a little longer before you press A to open the door?

MuchiMuchiPink commented 4 years ago

Yeah doesn't matter. Funny thing is, if I remove mfplat the game crashes after the cutscene blowing up the wall, when you walk through it.

Fothsid commented 4 years ago

Managed to get past STARS office by skipping the cutscene. There's another crash though, at the hospital, right after you read the E-Mail, the game crashes.

laichiaheng commented 4 years ago

Managed to get past STARS office by skipping the cutscene. There's another crash though, at the hospital, right after you read the E-Mail, the game crashes.

Which E-Mail? I'm in the hospital now. Is it possible to pass that E-Mail?

Fothsid commented 4 years ago

Managed to get past STARS office by skipping the cutscene. There's another crash though, at the hospital, right after you read the E-Mail, the game crashes.

Which E-Mail? I'm in the hospital now. Is it possible to pass that E-Mail?

The E-Mail on the computer right after you find the doctor. It is required to read the E-Mail, and apparently a cutscene is supposed to start after that, but it crashes before it even starts.

Fothsid commented 4 years ago

The only reason for those crashes that I can think of at the moment is that those are manually placed Denuvo checks or something.

drdizzphd commented 4 years ago

Both cutscenes involve an in-game computer screen displaying video. Perhaps that's a helpful hint.

Generally the backtrace always looks like this when mine crashes. Backtrace: =>0 0x00007fa69d2cd408 __libc_rpc_getport@GLIBC_PRIVATE+0x362d8() in libc.so.6 (0x000000006b73f9c0) 1 0x00007fa69a6a0738 MSVCRT_memcpy+0x57() in msvcrt (0x000000006b73f9c0) 0x00007fa69d2cd408 __libc_rpc_getport@GLIBC_PRIVATE+0x362d8 in libc.so.6: ldsl▶\0x000000000000006f(%rsi),%edi

MuchiMuchiPink commented 4 years ago

I have no idea how you skipped this cutscene, the moment I press A the game is dead. Edit: Looks like I can't test any further now, thanks a lot denuvo.

Waelwindows commented 4 years ago

How do you guys manage to load your saves, I can't run the game after the initial setup

MuchiMuchiPink commented 4 years ago

Alright I got passed it and I have no idea if it was just switching to Proton-5.4-GE-1 or switching API to DirectX12 as well. I played also around with setting graphics to the lowest and turning off subtitles.

gort818 commented 4 years ago

I just tested with https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.5-GE-1 and it did not crash at the stars office :)

Fothsid commented 4 years ago

I just tested with https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.5-GE-1 and it did not crash at the stars office :)

The cutscene after reading the E-Mail in the hospital works now, even though there is nothing displayed at the monitor. There is a problem though, after the cutscene, no matter skip you it or not, all menus get disabled and you can't pickup items anymore, pause menu is not accessible as well.

EDIT: found a way around. after the cutscene, go to the save room and save. After that, restart the game and load the save.

MuchiMuchiPink commented 4 years ago

@Fothsid yep, had the same issue and workaround.

Fothsid commented 4 years ago

One thing though, maybe it happened because I didn't apply mfplat patch to the new version of Proton by GloriousEggroll. I had to apply it later because the game froze in the ending when it tried to play a video. After applying the patch, the game played the ending properly.

laichiaheng commented 4 years ago

I just tested with https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.5-GE-1 and it did not crash at the stars office :)

The cutscene after reading the E-Mail in the hospital works now, even though there is nothing displayed at the monitor. There is a problem though, after the cutscene, no matter skip you it or not, all menus get disabled and you can't pickup items anymore, pause menu is not accessible as well.

EDIT: found a way around. after the cutscene, go to the save room and save. After that, restart the game and load the save.

I can pass the E-Mail scene with 5.4-GE3 by the same method before.

By the way, turning off the subtitle is meaningless.

MuchiMuchiPink commented 4 years ago

@Fothsid Nah, I'm on my second playthrough and it occurs on both troubling cutscenes.

julienbenjamin commented 4 years ago

The game crashes right after blowing up the wall in the lockers room in the police station, with Proton-5.5-GE-1. steam-524220.log

MuchiMuchiPink commented 4 years ago

@julienbenjamin have you applied the mfplat fix? Because w/o it it crashes for me as well

julienbenjamin commented 4 years ago

@julienbenjamin have you applied the mfplat fix? Because w/o it it crashes for me as well

Yes, I following the advice found on protondb:

<Workaround removed by moderator>

I noticed I could go a little further to the door of the STARS office with Proton-5.4-GE-3 but now it crashes when I try to open the door.

MuchiMuchiPink commented 4 years ago

you shouldn't post this here, because the repo contains a dll with license issue. But if this didn't help you, maybe switch to an older version of GE. I actually have to do this as well for different parts of the game, like the credits only roll on GE3 with the patch. The cutscene after the wallbreak works only on GE1 etc.

laichiaheng commented 4 years ago

@julienbenjamin have you applied the mfplat fix? Because w/o it it crashes for me as well

Yes, I following the advice found on protondb:

<Workaround removed by moderator>

I noticed I could go a little further to the door of the STARS office with Proton-5.4-GE-3 but now it crashes when I try to open the door.

I need to generate the prefix with 5.4-GE-3 and apply the workaround, then switch to 5.5-GE-1

kisak-valve commented 4 years ago

Hello @julienbenjamin, the workaround you posted is legally problematic and has been removed.

Fothsid commented 4 years ago

Yes, I following the advice found on protondb:

I wrote that report on ProtonDB. I just tested some things. On 5.5-GE-1 with mfplat patch, the cutscene in the hospital works properly for me (tested from an old save), however, after I started the game anew, the cutscene in the S.T.A.R.S. office still crashed the game for some obscure reason. I should probably remove the report, though I'm not sure how to do that.

UPDATE: I recreated the prefix for the game, tried go get through without the mfplat patch, the game crashed after the explosion. HOWEVER, I applied the mfplat patch again, AND THE GAME DIDN'T CRASH IN S.T.A.R.S. OFFICE. I have no idea what just happened. Also, it's worth mentioning that the game disabled menus as it did after the cutscene in the hospital, but there's a save point right after that.

julienbenjamin commented 4 years ago

Hello @julienbenjamin, the workaround you posted is legally problematic and has been removed.

Sorry for the inconvenience, I totally forgot about the licensing issues.

julienbenjamin commented 4 years ago

Yes, I following the advice found on protondb:

I wrote that report on ProtonDB. I just tested some things. On 5.5-GE-1 with mfplat patch, the cutscene in the hospital works properly for me (tested from an old save), however, after I started the game anew, the cutscene in the S.T.A.R.S. office still crashed the game for some obscure reason. I should probably remove the report, though I'm not sure how to do that.

UPDATE: I recreated the prefix for the game, tried go get through without the mfplat patch, the game crashed after the explosion. HOWEVER, I applied the mfplat patch again, AND THE GAME DIDN'T CRASH IN S.T.A.R.S. OFFICE. I have no idea what just happened. Also, it's worth mentioning that the game disabled menus as it did after the cutscene in the hospital, but there's a save point right after that.

If you manage to figure out how you managed to work around the issue, I am interested.

If I get this right, you created the prefix with Proton-5.4-GE-3, applied the mfplat workaround and then ran the game at some with Proton-5.5-GE-1?

MuchiMuchiPink commented 4 years ago

Btw you shouldn't switch the proton version too often, because this results in a denuvo ban for at least a few hours.

Fothsid commented 4 years ago

If I get this right, you created the prefix with Proton-5.4-GE-3, applied the mfplat workaround and then ran the game at some with Proton-5.5-GE-1?

Not really. I had a prefix that was created before with Proton-5.4-GE-3, and with which I completed the game, then I started the new game and it crashed on STARS office cutscene. After that I created the prefix with Proton-5.5-GE-1 (deleted the old one beforehand), the game crashed after wall explosion, then I applied the mfplat patch and tried again - it didn't crash on STARS office cutscene.

Fothsid commented 4 years ago

121589.501:002b:0050:trace:loaddll:load_so_dll Loaded L"C:\windows\system32\winegstreamer.dll" at 0x7f3f639a0000: builtin 121590.599:002b:0050:fixme:mfplat:mf_decoder_GetAttributes 0x1174340, 0x67f8f6b0. stub! 121590.599:002b:0050:fixme:mfplat:mf_decoder_GetAttributes 0x1174340, 0x67f8f660. stub! 121590.599:002b:0050:fixme:mfplat:mf_decoder_GetOutputCurrentType 0x1174340, 0, 0x67f8f670. stub! 121590.599:002b:0050:fixme:mfplat:mf_decoder_GetOutputCurrentType 0x1174340, 0, 0x67f8f688. stub!

(These functions are actually in winegstreamer.dll and not mfplat!)

This is from a log from a session where the game didn't crash on the cutscene. (The video on the computer screen was just a black box by the way) These stubs are worrying me a bit. Considering that the library returns E_NOTIMPL as a result for these stubs, maybe the game freaks out because of it, doesn't play the video and disables the menus?

According to MSDN, while IMFTransform::GetAttributes can return E_NOTIMPL, IMFTransform::GetOutputCurrentType shouldn't do that. So, I guess there should be an implementation of IMFTransform::GetOutputCurrentType at least?