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

OpenGL/Vulkan Battlefield Bad Company Shader Issues #4874

Closed
stride21 opened this issue Jul 11, 2018 · 13 comments
Closed

OpenGL/Vulkan Battlefield Bad Company Shader Issues #4874

stride21 opened this issue Jul 11, 2018 · 13 comments

Comments

@stride21
Copy link

stride21 commented Jul 11, 2018

The crash happens when you look in a certain direction while riding in the truck after the opening cutscene, if you look elsewhere you can avoid this crash.

bad company 2

Here are some of the errors around when it happens:

E {rsx::thread} RSX: Src type 3 used, opcode=0x1, dst=0x1BA01BB s0=0x1BC01BB s1=0x1BB01BC s2=0x1BD0119
E {rsx::thread} RSX: BRK opcode found outside of a loop
E{rsx::thread} RSX: Unknown/illegal instruction: 0x3f (forced unit 1)
E {rsx::thread} RSX: Src type 3 used, opcode=0x1, dst=0x1340137 s0=0x1370133 s1=0x13C013B s2=0x13C0137

RPCS3 log.zip

@kd-11
Copy link
Contributor

kd-11 commented Jul 11, 2018

Classic heap corruption, rpcs3 ends up compiling trash and dies.

@stride21
Copy link
Author

stride21 commented Jul 11, 2018

I also found another place where it crashes and seems to be the same issue. Also, found a E {rsx::thread} RSX: Depth texture bound to pipeline with unexpected format 0x9B error so I think I'll open an issue on that soon.
RPCS3log.zip

@kd-11
Copy link
Contributor

kd-11 commented Jul 11, 2018

Those errors are not fatal. They cannot crash the emulator.

@stride21 stride21 mentioned this issue Jul 27, 2018
@stride21
Copy link
Author

stride21 commented Sep 5, 2018

This issue is now fixed with #5076

@stride21 stride21 closed this as completed Sep 5, 2018
@stride21 stride21 reopened this Sep 19, 2018
@stride21
Copy link
Author

Reopening the issue because it still seems to have shader issues but it just no longer crashes because of them.

@stride21 stride21 changed the title OpenGL/Vulkan Battlefield Bad Company crash after opening cutscene OpenGL/Vulkan Battlefield Bad Company Shader Issues Sep 19, 2018
@alexjjording
Copy link

alexjjording commented Sep 19, 2018 via email

@elad335
Copy link
Contributor

elad335 commented Dec 30, 2018

Is it still an issue?

@stride21
Copy link
Author

stride21 commented Dec 30, 2018

It still happens in the beginning of chapter 1 and the middle of chapter 2 when artillery is being used. It doesn't cause an instant crash but it can eventually cause a crash unless you clear the shader cache.
RPCS3.log.gz

@kd-11
Copy link
Contributor

kd-11 commented Aug 19, 2019

Any update? Looks like a duplicate of the RSX desync metabug.

@stride21
Copy link
Author

@kd-11 Its still an issue. I can post else where and close this issue if you want.

@Wizzy2018
Copy link

I have this issue too on Gran Turismo 5 RSX: BRK opcode found outside of a loop And when it happens the whole emulator Frezzes and stops.

@kd-11
Copy link
Contributor

kd-11 commented Sep 16, 2019

That is an obvious sign of emulator desynchronizing and RSX trying to process garbage.

@stride21
Copy link
Author

This issue is fixed on master for both OpenGL and Vulkan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants