ValveSoftware / Proton

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

Bloodstained: Ritual of the Night (692850) - Crash after 2nd boss, can't finish game! #2855

Open Transducer2016 opened 5 years ago

Transducer2016 commented 5 years ago

Compatibility Report

System Information

I confirm:

steam-692850.log

Symptoms

Shortly after defeating the second boss, when attempting to to go through either possible route, the game generates a black screen, followed by the same Unreal Engine 4 error popup either way, reading:

LowLevelFatalError [File:G:\PBCreateRom\Engine \Source\Runtime\Windows\D3D11RHI\Private \D3D11Util.cpp][Line 233] Direct3DDevice-> CreateVertexShader( (void*)CodePtr, Code Size NULL, Shader->Resource.GetInitReference() ) failed at G:PBCreateRom\Engine\Source\Runtime \Windows\D3D11RHI\Private \D3D11Shaders.cpp:48 with error E_INVALIDARG

Then after clicking 'ok', the game closes, making any progression impossible.

There is a short thread on the steamplay subreddit discussing this problem, and with nearly the same error generated, so I'm not the only one. They are using the most recent nvidia driver, 430.26.

The OP offers a 'work around' of sorts in the thread, one that I have not been able to successfully implement.

If you happen to have this problem create a wineprefix with the latest DXVK and run the game with that wineprefix but use the wine version from steam (~/.local/share/Steam/steamapps/common/Proton\ 4.2/dist/bin/wine). You'll need to move the save file to the new prefix.

&

Try installing the newest DXVK version in a new wineprefix and then do WINEPREFIX=prefixpath ~/.local/share/Steam/steamapps/common/Proton\ 4.2/dist/bin/wine BloodstainedRotN.exe

I don't know if this is relevant or useful to consider in regards to proton compatiability, but I'd also like to point out that on the dxvk wiki's page for DXGI, it strongly implies that DXGI implementation is recommended for 'most' Unreal 4 engine games, and Bloodstained RotN is one.

Reproduction

Regardless of game settings, both possible routes to progress through the game eventually lead to the same crash error, a few rooms after the 2nd boss.

Specifically, after entering the 'Dian Cécht Cathedral' for the first time, the 1st room through the upper left door (just past the banshee monster), and also the 4th room after the upper right door (right after the cat monster's hallway).

IMPORTANT NOTES

  1. There is a special item that zooms in the game's camera, bringing the action 'closer', for novelty and additional viewing options. While wearing this, I am able to move into each of these otherwise inaccessible rooms just a little bit before the crash. Without the item, the black screen and crash occur immediately upon entry.

  2. I have checked whether there are graphic driver updates available for my system. But I am still using the 2nd most recent one made available through 'additional drivers' settings. Why? Because I have had serious errors with the latest nvidia driver causing my computer to be able to boot properly. It's definitely the driver at fault, because I have fixed it by running 'purge nvidia*' command as root, and reinstalling earlier driver. I have attempted to use earlier kernel versions of linux too, and none of those have been compatiable with 430.26 either.

THAT BEING SAID! I know there is at least one other person who still has this problem with the NEWEST nvidia driver, 430.26, as seen in the subreddit link up above!

  1. I need to add the following to steam launch options in order to even start the game: 'PROTON_USE_WINED3D=1 %command%' That may or may not be relevant, but I'm giving all details I can to try to get this problem fixed.
kisak-valve commented 5 years ago

Possibly unrelated to the game's crash, but it looks like this game would benefit from support for Media Foundation maturing in Proton.

Transducer2016 commented 5 years ago

Thank you for the tags and comment, I hope all this info helps you guys to fix the problem!

It seems like that guy from reddit understands what he's doing with the dxvk workaround, but his advice is either unclear or else simply not working for me, but maybe it will help you guys still.

Oh yeah, and he did also mention in OP what the wine input shows at crash:

0079:err:d3dcompiler:compile_shader HLSL shader parsing failed

Though it sounds like a shorter version of the in-game error.

doitsujin commented 5 years ago

0079:err:d3dcompiler:compile_shader HLSL shader parsing failed

This would indicate that the game requires native d3dcompiler DLLs (most likely d3dcompiler_43 and/or d3dcompiler_47) in order to fully work.

opal1974 commented 4 years ago

I haven't seen this reported yet, and it doesnt happen all the time, but I am getting a bug on this game where I will go into the menu and her head has disappeared. The game 'loading' circle in the bottom right corner then starts to spin and the game hangs (ie it spins endlessly, the headless Miram is still moving/swaying). I've had this happen perhaps 9-10 times over the course of around 18 hours play. I have since turned on proton log next time it happens but forgot to turn it on as this thread already existed so I didnt think I needed to.

Another problem, though I am not sure if this is steam, proton, or the game itself, is that I cannot alt + tab out of game. This is a big problem when the above bug happened as I have to hard reset my machine anytime it happens.

shoober420 commented 4 years ago

Compatibility Report

System Information

steam-692850.log

Symptoms

"Fatal Error" window pops up, then game crashes after clicking "OK".

Reproduction

Launch game

HereInPlainSight commented 4 years ago

I just got the game, and I was having an issue just like @shoober420. The log looks pretty similar, too.

Long story short, this error does NOT happen when I set the game to launch via Proton 4.2-9, but happens every single time with 4.11-12.

System specs are here if it's helpful.

opal1974 commented 4 years ago

I just tested it on the latest Proton and I do not get this error; I note that I am using Nvidia drivers, are you guys using something else?

shoober420 commented 4 years ago

@opal1974 I’m using proprietary nvidia drivers. All my specs are in my post.

shoober420 commented 4 years ago

Compatibility Report

System Information

LOG: steam-692850.log

Symptoms

Now, the game will simply crash after launching, not even a window pops up.

PedroHLC commented 3 years ago

"Fatal Error" window pops up, then game crashes after clicking "OK".

If you get still get this, and in the game logs you see OpenAudioDevice failed: ALSA: Couldn't open audio device: No such file or directory, a winetricks faudio will solve the problem...