Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsx: Thread terminated due to fatal error: Verification failed #12066

Closed
snnaakee opened this issue May 22, 2022 · 16 comments · Fixed by #12071
Closed

rsx: Thread terminated due to fatal error: Verification failed #12066

snnaakee opened this issue May 22, 2022 · 16 comments · Fixed by #12071
Assignees

Comments

@snnaakee
Copy link
Contributor

snnaakee commented May 22, 2022

Emulator is now throwing fatal error on the latest master build :

{RSX [0x054db3c]} SIG: Thread terminated due to fatal error: Verification failed 
(in file C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\rpcs3\Emu\RSX\VK\VKGSRender.cpp:2789[:3], in function begin_conditional_rendering)

image

The crash occurs when using rpcs3-v0.0.22-13626-ec2d5298 from pull #12020 and ZCULL Accuracy is set to Precise (Slowest).
ZCULL Accuracy to Approximate (Fast) prevents the emulator from crashing, but the game doesn't support it well (causes the game not to render beyond 10 meters or so).

The crash is completely gone when reverting back to rpcs3-v0.0.22-13604-5a581f46 (pull #12045).

Logs:

5a581f46.log
ec2d5298 .log

System configuration:

  • Windows 10
  • i7-8700K CPU @ 3.70GHz
  • GTX 970
  • 16 Go RAM
  • 512.77

edit:
The fatal crash in video

@snnaakee
Copy link
Contributor Author

snnaakee commented May 22, 2022

After further investigation, it led me to f0135a0

I started compiling from commit 850eef0 then the crash started to occur at f0135a0

Getting back to the head of master, then commenting the line at rpcs3/Emu/RSX/VK/VKGSRender.cpp:551 gets rid of the crash.
backend_config.supports_hw_conditional_render = true;

Also, I noticed the crash tends to happen quicker when the CPU is under heavy load.

@Megamouse Megamouse added the RSX label May 22, 2022
@Megamouse
Copy link
Contributor

Does this also happen with openGL ?

@AniLeo
Copy link
Member

AniLeo commented May 22, 2022

The game on the logs is listed as Intro, can this be reproduced on something that is Ingame or Playable?

@snnaakee
Copy link
Contributor Author

Does this also happen with openGL ?

No it doesn't.

The game on the logs is listed as Intro, can this be reproduced on something that is Ingame or Playable?

No, at least not on my computer.
I tried around 4-5 different games from 2007 (near the game on the logs) to 2011 (the most recent I have).

@snnaakee
Copy link
Contributor Author

I recorded 3 videos, which I think is always good to take for reference.

No edit, ZCULL Accuracy to Precise (Slowest).
Video 1: Crash

With rpcs3/Emu/RSX/VK/VKGSRender.cpp:551 removed and ZCULL Accuracy to Precise (Slowest)
Video 2: No crash

No edit, but ZCULL Accuracy to Approximate (Fast) to avoid the fatal crash.
Will cause major graphical issues.
Video 3: No edit

Logs for the test with ZCULL Accuracy to Approximate (Fast):
RPCS3.log

Tested on RPCS3 v0.0.22-13641-608f8235 Alpha | master

@kd-11
Copy link
Contributor

kd-11 commented May 23, 2022

Should be fixed by #12071

@snnaakee
Copy link
Contributor Author

Fatal crash is still happening with #12071

RPCS3.log

@kd-11
Copy link
Contributor

kd-11 commented May 23, 2022

Ok, should be fixed now.

@snnaakee
Copy link
Contributor Author

Ok, should be fixed now.

I can confirm the crash is gone.

Thank you !
Keep on keeping on !

@sinbadbd
Copy link

sinbadbd commented Sep 1, 2022

When game lunched then it showing error & freez the screen. Any solution about this?

F {RSX [0x0019588]} SIG: Thread terminated due to fatal error: Unknown register name: unk (in file /private/var/folders/xx/vl5f934s6k927z1vyyl9cxth0000gn/T/cirrus-ci-build/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp:155[:3], in function get_varying_register_location) (errno=316=Unknown error: 316) S SPU: New block compiled successfully x15

@deadmeme5
Copy link

hi, i have the same problem now with Little Big Planet 3 patch 1.26 error is F {RSX [0x0372ca0]} SIG: Thread terminated due to fatal error: Verification failed (in file C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\rpcs3\Emu\RSX\Common\surface_utils.h:481[:4], in function set_old_contents

here are the logs:
RPCS3.log
TTY.log

@LuismaSP89
Copy link

This keeps happening also to me on every game, latest build of rpcs3:

F {RSX [0x0000000]} SIG: Thread terminated due to fatal error: Failed to compile vertex shader
(in file C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\rpcs3\Emu\RSX\VK\VKProgramPipeline.cpp:29[:25], in function compile)

@ZachFett
Copy link

Getting this issue with Dead to Rights: Retribution, immediately after the legal screen fades away. I've tested both BLES00824 and BLUS30278, both have the same error at that same moment.

RPCS3.log

@deadmeme5
Copy link

Getting this issue with Dead to Rights: Retribution, immediately after the legal screen fades away. I've tested both BLES00824 and BLUS30278, both have the same error at that same moment.

RPCS3.log

change the SPU decoder and ppu decoder from LLVM recompiler to dynamic interpreters
try playing around with these most likely it will fix.

@ZachFett
Copy link

change the SPU decoder and ppu decoder from LLVM recompiler to dynamic interpreters try playing around with these most likely it will fix.

Can't use the dynamic interpreter for PPU, it's always (I believe?) been greyed out for me. Still get the same error with SPU dynamic interpreter or ASMJIT selected. Having both set to static gets me to the main menu, but it's basically a slideshow.

@kd-11
Copy link
Contributor

kd-11 commented Jan 25, 2023

Don't necro closed issues. Open new issues if you have a problem that requires investigation.

@RPCS3 RPCS3 locked as spam and limited conversation to collaborators Jan 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants