ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.4k stars 1.07k 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.

MuchiMuchiPink commented 4 years ago

@Fothsid possible that the video disables elements ingame and they don't load properly again afterwards.

julienbenjamin 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!)

Funny thing is, I get a segfault from winegstreamer with Proton-5.5-GE1-1 after exploding the wall in the showers/lockers room in the police station. My first impression was that there might be a regression from wine used by Proton-5.4-GE-3.

MuchiMuchiPink commented 4 years ago

The crash after the wallbreak happens on 5.4-GE3 and 5.4-GE1 as well w/o the mfplat patch, I have tested this before.

Fothsid commented 4 years ago

I just completed the game for the second time. The thing is, I didn't encounter any crashes in the cutscene in the hospital, BUT, despite mfplat patch applied, the game froze on the ending FMV.

Fothsid commented 4 years ago

This is what I have in the end of the log.

132084.720:002b:0087:err:mfplat:watch_source_bus qtdemux1: This file is invalid and cannot be played. 132084.720:002b:0087:err:mfplat:watch_source_bus ../../proton/gst-plugins-good/gst/isomp4/qtdemux.c(764): gst_qtdemux_pull_atom (): /GstBin:bin2/GstQTDemux:qtdemux1: atom has bogus size 807842421 132084.720:002b:0088:err:mfplat:watch_source_bus qtdemux1: Internal data stream error. 132084.720:002b:0088:err:mfplat:watch_source_bus ../../proton/gst-plugins-good/gst/isomp4/qtdemux.c(6605): gst_qtdemux_loop (): /GstBin:bin2/GstQTDemux:qtdemux1: streaming stopped, reason error (-5) 132084.720:002b:0087:err:mfplat:watch_source_bus qtdemux1: This file contains no playable streams. 132084.720:002b:0087:err:mfplat:watch_source_bus ../../proton/gst-plugins-good/gst/isomp4/qtdemux.c(718): gst_qtdemux_post_no_playable_stream_error (): /GstBin:bin2/GstQTDemux:qtdemux1: no known streams found 132152.014:0018:001c:trace:loaddll:free_modref Unloaded module L"C:\windows\system32\drivers\winehid.sys" : builtin 132152.015:0018:001c:trace:loaddll:free_modref Unloaded module L"C:\windows\system32\hidclass.sys" : builtin 132152.016:0018:001c:trace:loaddll:free_modref Unloaded module L"C:\windows\system32\drivers\winebus.sys" : builtin pid 19652 != 19651, skipping destruction (fork without exec?)

Guy1524 commented 4 years ago

Correct me if I'm wrong, but I don't think GE's proton ships the necessary codecs for WMV playback.

On a side note, I'd like to get this game working w/ builtin media foundation, but I don't use Proton when developing. Is there a list of patches/workarounds I need to get this working on wine master with windows steam?

Fothsid commented 4 years ago

Correct me if I'm wrong, but I don't think GE's proton ships the necessary codecs for WMV playback.

The game doesn't run at all on Steam's default Proton. With GE's proton, the game at least starts, but the videos freeze the game. With <Workaround removed by moderator>, the game plays videos, but sometimes doesn't? There are also issues with crashes in two cutscenes where the video is being played on top of a in-game monitor. I'm honestly confused at this point.

Fothsid commented 4 years ago

I wish I could help, but the results just seem random now.

kisak-valve commented 4 years ago

Hello @Fothsid, the workaround you mentioned is legally problematic and has been removed.

Apparently this needs to be made clear again, we can't use that workaround and feedback connected to it won't help improve wine or proton in the long run. It's not a patch or a fix.

I'm trying to avoid being heavy handed here, and discussion of Media Foundation in general can continue, but the discussion of that workaround needs to stop now.

Do not ask for support troubleshooting illegal workarounds.

Fothsid commented 4 years ago

@kisak-valve Well, I'm sorry. I know that it is legally problematic, but I haven't thought that the slightest mention of the workaround is prohibited.

gort818 commented 4 years ago

@Guy1524 @kisak-valve Using proton-5.0-6-rc2 with PROTON_USE_SECCOMP=1 shown here https://github.com/ValveSoftware/Proton/commit/d33fa5b6d6c304d6343dd28ee13f2351c2c9b6e5 allows the game to launch with proton. Also I seem to getting better fps on proton-5.0-6-rc2

Hope this helps.

The intro cutscene does not work and the game freezes and screen turns blank.

here is the log with proton-5.0-6-rc2 steam-952060.log

laichiaheng commented 4 years ago

@Guy1524 @kisak-valve Using proton-5.0-6-rc2 with PROTON_USE_SECCOMP=1 shown here d33fa5b allows the game to launch with proton. Also I seem to getting better fps on proton-5.0-6-rc2

Hope this helps.

The intro cutscene does not work and the game freezes and screen turns blank.

here is the log with proton-5.0-6-rc2 steam-952060.log

Does it contain the Media Foundation implementation from 5.5-GE-1?

gort818 commented 4 years ago

@laichiaheng no it does not, but interesting enough I have a save later in the game and it does play some of the cutscenes.

laichiaheng commented 4 years ago

The crash after the wallbreak happens on 5.4-GE3 and 5.4-GE1 as well w/o the mfplat patch, I have tested this before.

The game turns black screen at the last scene with 5.5-GE-1

If I delete the whole ~/.steam/steam/steamapps/compatdata/952060, and regenerate the prefix folder by 5.5-GE-1, then do a special method which everyone has already known, the last cutscene plays fine.

mtb-xt commented 4 years ago

RE3 still crashes for me with proton 5.0-6 beta or with 5.5-GE-1 with the following message from the kernel:

[Thu Apr  9 16:25:36 2020] umip: re3.exe[19353] ip:14c62e906 sp:52f980: SGDT instruction cannot be used by applications.
[Thu Apr  9 16:25:36 2020] umip: re3.exe[19353] ip:14c62e906 sp:52f980: For now, expensive software emulation returns the result.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:1494adbeb sp:52e2e8: SGDT instruction cannot be used by applications.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:1494adbeb sp:52e2e8: For now, expensive software emulation returns the result.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:15c1d0066 sp:52e268: SGDT instruction cannot be used by applications.
julienbenjamin commented 4 years ago

RE3 still crashes for me with proton 5.0-6 beta or with 5.5-GE-1 with the following message from the kernel:

[Thu Apr  9 16:25:36 2020] umip: re3.exe[19353] ip:14c62e906 sp:52f980: SGDT instruction cannot be used by applications.
[Thu Apr  9 16:25:36 2020] umip: re3.exe[19353] ip:14c62e906 sp:52f980: For now, expensive software emulation returns the result.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:1494adbeb sp:52e2e8: SGDT instruction cannot be used by applications.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:1494adbeb sp:52e2e8: For now, expensive software emulation returns the result.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:15c1d0066 sp:52e268: SGDT instruction cannot be used by applications.

Are you using a Ryzen 3xxx? If yes, do not hesitate to report this game to #2927.

laichiaheng commented 4 years ago

RE3 still crashes for me with proton 5.0-6 beta or with 5.5-GE-1 with the following message from the kernel:

[Thu Apr  9 16:25:36 2020] umip: re3.exe[19353] ip:14c62e906 sp:52f980: SGDT instruction cannot be used by applications.
[Thu Apr  9 16:25:36 2020] umip: re3.exe[19353] ip:14c62e906 sp:52f980: For now, expensive software emulation returns the result.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:1494adbeb sp:52e2e8: SGDT instruction cannot be used by applications.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:1494adbeb sp:52e2e8: For now, expensive software emulation returns the result.
[Thu Apr  9 16:25:37 2020] umip: re3.exe[19353] ip:15c1d0066 sp:52e268: SGDT instruction cannot be used by applications.

Are you using a Ryzen 3xxx? If yes, do not hesitate to report this game to #2927.

I'm using 3700X and can run the game

NextGenRyo commented 4 years ago

Managed to finish the game once. The STARS office did crash a lot of times and the HOSPITAL but for some reason it played the cutscene once but without the video playing on computer monitors in game. I tried with 5.0-6 RC but it did the same but I think the cutscene audio lags might have been imroved. Edit: Second playthrough but can't finish because stuck at hospital crash! It must be something to do with the video playback in those areas???

mtb-xt commented 4 years ago

Yeah, my system looks very similar to @laichiaheng - Archlinux, 3600X, RX 580, mesa 20.0.4 and it was still crashing.

But just a moment ago I was able to pass STARS office, no idea what changed - I even had these messages in the kernel log again, but this time it didn't crash. The only thing what's changed - I lowered the graphics settings to the lowest, but it didn't help previous 4-5 times :/ I have no idea. And yes, after the office cutscene in game menus stopped working.

[95217.995457] umip_printk: 147 callbacks suppressed
[95217.995460] umip: re3.exe[58014] ip:15c1d0066 sp:3ccff8a8: SGDT instruction cannot be used by applications.
[95217.995461] umip: re3.exe[58014] ip:15c1d0066 sp:3ccff8a8: For now, expensive software emulation returns the result.
[95218.001284] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: SGDT instruction cannot be used by applications.
[95218.001285] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: For now, expensive software emulation returns the result.
[95218.001763] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: SGDT instruction cannot be used by applications.
NextGenRyo commented 4 years ago

Looks if you keep trying to progress on the crashing you might be lucky and pass it. Very very strange.

On Fri, 10 Apr 2020, 03:01 Marat Bakeev, notifications@github.com wrote:

Yeah, my system looks very similar to @laichiaheng https://github.com/laichiaheng - Archlinux, 3600X, RX 580, mesa 20.0.4 and it was still crashing.

But just a moment ago I was able to pass STARS office, no idea what changed - I even had these messages in the kernel log again, but this time it didn't crash. The only thing what's changed - I lowered the graphics settings to the lowest, but it didn't help previous 4-5 times :/ I have no idea. And yes, after the office cutscene in game menus stopped working.

[95217.995457] umip_printk: 147 callbacks suppressed [95217.995460] umip: re3.exe[58014] ip:15c1d0066 sp:3ccff8a8: SGDT instruction cannot be used by applications. [95217.995461] umip: re3.exe[58014] ip:15c1d0066 sp:3ccff8a8: For now, expensive software emulation returns the result. [95218.001284] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: SGDT instruction cannot be used by applications. [95218.001285] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: For now, expensive software emulation returns the result. [95218.001763] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: SGDT instruction cannot be used by applications.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/Proton/issues/3719#issuecomment-611839098, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHOYDE3QK2MZQIZ2G2L4FTRLZ4WBANCNFSM4L3GK3VQ .

laichiaheng commented 4 years ago

Yeah, my system looks very similar to @laichiaheng - Archlinux, 3600X, RX 580, mesa 20.0.4 and it was still crashing.

But just a moment ago I was able to pass STARS office, no idea what changed - I even had these messages in the kernel log again, but this time it didn't crash. The only thing what's changed - I lowered the graphics settings to the lowest, but it didn't help previous 4-5 times :/ I have no idea. And yes, after the office cutscene in game menus stopped working.

[95217.995457] umip_printk: 147 callbacks suppressed
[95217.995460] umip: re3.exe[58014] ip:15c1d0066 sp:3ccff8a8: SGDT instruction cannot be used by applications.
[95217.995461] umip: re3.exe[58014] ip:15c1d0066 sp:3ccff8a8: For now, expensive software emulation returns the result.
[95218.001284] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: SGDT instruction cannot be used by applications.
[95218.001285] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: For now, expensive software emulation returns the result.
[95218.001763] umip: re3.exe[58014] ip:15b538f10 sp:3ccff8d8: SGDT instruction cannot be used by applications.

What kernel are you using now?

gort818 commented 4 years ago

@mtb-xt For now, expensive software emulation returns the result.

This means the kernel emulated the instruction.

mtb-xt commented 4 years ago

What kernel are you using now?

5.6.2-arch1-2

laichiaheng commented 4 years ago

Resident Evil 2 finally can run without the illegal workaround with Proton-5.6-GE-2, I believe that this game can run as well as RE2, I'm re-downloading the game to test it out.

laichiaheng commented 4 years ago

I was wrong, RE3 still doesn't work with Proton-5.6-GE-2 in the police station bathroom. @GloriousEggroll Proton-5.6-GE-2 also crashes immediately when I enter the STARS office which doesn't happen to Proton-5.5-GE-1.

NextGenRyo commented 4 years ago

Oh man...what a shame. What could the problem be?

On Wed, 15 Apr 2020, 08:43 小亨, notifications@github.com wrote:

I was wrong, RE3 still doesn't work with Proton-5.6-GE-2 in the police station bathroom.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/Proton/issues/3719#issuecomment-613873409, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHOYDAQIGUN6PK63PGHHJ3RMVQQNANCNFSM4L3GK3VQ .

laichiaheng commented 4 years ago

@GloriousEggroll @mixalis1987 Here is the log when I enter the office WITH the protondb method: steam-952060.log Here is the log after explosion in bathroom WITHOUT the protondb method: steam-952060.log

Both are using Proton-5.6-GE-2, the 1st issue didn't happen in Proton-5.5-GE-1.

NextGenRyo commented 4 years ago

In your first log I search for (a video error I can't mention here) because I suspect that that is the problem at the offfice and the hospital and I found this at the end of the first log.

36356.326:002a:0058:fixme:******:**_decoder_GetAttributes 0x11179e0, 0x6bc8f6b0. stub! 36356.326:002a:0058:fixme:******:**_decoder_GetAttributes 0x11179e0, 0x6bc8f660. stub! 36356.326:002a:0058:fixme:******:**_decoder_GetOutputCurrentType 0x11179e0, 0, 0x6bc8f670. stub! 36356.326:002a:0058:fixme:******:**_decoder_GetOutputCurrentType 0x11179e0, 0, 0x6bc8f688. stub! I replaced the name of the Microsoft method with stars. The second log doesn't have this error. Also the videos at the start of the game that use Microsoft method do not have this error, but this. 36270.466:002a:002b:trace:loaddll:load_native_dll Loaded L"Z:\\home\\laichiaheng\\.local\\share\\Steam\\steamapps\\common\\RE3\\******.dll" at 0x7ff385d0000: native 36270.462:002a:002b:trace:loaddll:free_modref Unloaded module L"Z:\\home\\laichiaheng\\.local\\share\\Steam\\steamapps\\common\\RE3\\******.dll" : builtin 36270.462:002a:002b:trace:loaddll:load_native_dll Loaded L"Z:\\home\\laichiaheng\\.local\\share\\Steam\\steamapps\\common\\RE3\\******.dll" at 0x71200000: PE builtin This bit looks ok to me and thats why I think the first video at the start of the game work but not the ones on the games computer monitors.

I think it's something to do with that because the errors always happen at an area that has a computer that needs to play a video and if we are lucky for it not to crash the computer never will play a video just show a black box on the monitor.

Of course don't take my word for it, it's mostly a theory.

GloriousEggroll commented 4 years ago

@laichiaheng can you run that scene in both Proton-5.6-GE-2 and Proton-5.5-GE-1 and enable +mf,+mfplat in the debug logs?

gort818 commented 4 years ago

@GloriousEggroll I have a save file right before you enter the stars office, here are the logs with +mf and +mfplat enabled.

With proton-5.0-6 with PROTON_USE_SECCOMP=1 enabled it does not crash.

With both proton GE versions the crash in the bathroom right after the explosion. Not even able to enter the Stars office.

with Proton-5.5-GE-1

steam-952060.log

with Proton-5.6-GE-2 steam-952060.log

NextGenRyo commented 4 years ago

@gort818 Do you see any video play on the computer monitor in the stars office not just a black box on it when the game doesn't crash on 5.0-6? And does it stop crashing completely on 5.0-6 or some times like before? Did you try it multiple times to see that it definitely stops crashing on that version?

laichiaheng commented 4 years ago

@GloriousEggroll I have a save file right before you enter the stars office, here are the logs with +mf and +mfplat enabled.

With proton-5.0-6 with PROTON_USE_SECCOMP=1 enabled it does not crash.

With both proton GE versions the crash in the bathroom right after the explosion. Not even able to enter the Stars office.

with Proton-5.5-GE-1

steam-952060.log

with Proton-5.6-GE-2 steam-952060.log

5.0.6 works the best now without any workaround, but still can't click on anything in the office.

NextGenRyo commented 4 years ago

@laichiaheng But no video on the computer monitors?

laichiaheng commented 4 years ago

@laichiaheng But no video on the computer monitors?

No, none of them can do this now, but Proton-5.6-GE-2 is the only one can play video cut scenes.

NextGenRyo commented 4 years ago

@laichiaheng Well good that the crashing is gone, need to test that when I install the game again. We will get there..one step at a time. :)

when you say the 5.6-GE-2 version plays video cut scenes you do mean the mf scenes and not actual in game cutscenes right?

laichiaheng commented 4 years ago

@laichiaheng Well good that the crashing is gone, need to test that when I install the game again. We will get there..one step at a time. :)

when you say the 5.6-GE-2 version plays video cut scenes you do mean the mf scenes and not actual in game cutscenes right?

Yes.

laichiaheng commented 4 years ago

@laichiaheng can you run that scene in both Proton-5.6-GE-2 and Proton-5.5-GE-1 and enable +mf,+mfplat in the debug logs?

How to enable that in debug logs?

gort818 commented 4 years ago

@laichiaheng go to your proton directory, and edit the user settings file.

NextGenRyo commented 4 years ago

@laichiaheng Delete the game prefix and install ( that thing I can't mention on here ) that might fix it for the video to work again on the other proton versions. I found they stoppped working for me 1-2 times and that always sorted it out.

laichiaheng commented 4 years ago

@laichiaheng go to your proton directory, and edit the user settings file.

Thanks, I'll report it tomorrow after work, I need to go to bed now.

laichiaheng commented 4 years ago

I need to do it later, I accidentally closed the window when the game was starting, and it showed me this: Currently your game purchase cannot be re-validated successfully, please wait 24 hours and try again.

NextGenRyo commented 4 years ago

@laichiaheng Yea that messaged happened for me twice. It detected that we changed proton versions/settings too often and put a temp ban for security.

laichiaheng commented 4 years ago

@laichiaheng can you run that scene in both Proton-5.6-GE-2 and Proton-5.5-GE-1 and enable +mf,+mfplat in the debug logs?

@GloriousEggroll New logs are here.

The bathroom without the method which is mentioned on ProtonDB: 5.6-GE-2-bathroom.log

The S.T.A.R.S. office with the ProtonDB method: 5.5-GE-1-office.log 5.6-GE-2-office.log

SergeyLatyshev commented 4 years ago

I've been experimenting with different Proton-GE versions and found out that the game works fine ONLY with Proton-5.4-GE-* (I've tried GE-1 and GE-3, both work). Not older, not newer!

For example, with 5.6-GE, after the cutscene where Carlos is looking at the computer at Dr. Bard's office, there's no video on its display, and the player loses the ability to interact objects after the said scene, so it's impossible to get the vaccine.

laichiaheng commented 4 years ago

I've been experimenting with different Proton-GE versions and found out that the game works fine ONLY with Proton-5.4-GE-* (I've tried GE-1 and GE-3, both work). Not older, not newer!

For example, with 5.6-GE, after the cutscene where Carlos is looking at the computer at Dr. Bard's office, there's no video on its display, and the player loses the ability to interact objects after the said scene, so it's impossible to get the vaccine.

5.4 is the only one works, but you need to skip the cut scene immediately, or the game crashes.

SergeyLatyshev commented 4 years ago

5.4 is the only one works, but you need to skip the cut scene immediately, or the game crashes.

What cutscene? I didn't skip anything during my first playthrough, and the game didn't crash. It crashed, actually (and still crashes sometimes), but only at trying to load a save or the next level.

laichiaheng commented 4 years ago

5.4 is the only one works, but you need to skip the cut scene immediately, or the game crashes.

What cutscene? I didn't skip anything during my first playthrough, and the game didn't crash. It crashed, actually (and still crashes sometimes), but only at trying to load a save or the next level.

At the S.T.A.R.S. office, the game crashes in few seconds after Carlos enters the room. I think most of people noticed this issue like me since 5.4, because 5.5 wasn't released at that time.

SergeyLatyshev commented 4 years ago

I've just watched both cutscenes at the S.T.A.R.S. office, everything was fine.

laichiaheng commented 4 years ago

I've just watched both cutscenes at the S.T.A.R.S. office, everything was fine.

OK. Let me try that again with a new prefix. Did you enable PROTON_USE_SECCOMP for the game?

It still crashes every time. How do you have no problem with it? What CPU are you using?

I can't even start the game with 5.0.6 now: steam-952060.log

The Denuvo happens again, it sucks.

SergeyLatyshev commented 4 years ago

Did you enable PROTON_USE_SECCOMP for the game?

It still crashes every time. How do you have no problem with it? What CPU are you using?

No, just <Workaround removed by moderator> and mfplat.dll. Ryzen 7 3700X and GTX 1060.