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

Yakuza Games bugs #4489

Open
8 of 11 tasks
MsDarkLow opened this issue Apr 26, 2018 · 33 comments
Open
8 of 11 tasks

Yakuza Games bugs #4489

MsDarkLow opened this issue Apr 26, 2018 · 33 comments

Comments

@MsDarkLow
Copy link
Contributor

MsDarkLow commented Apr 26, 2018

v0.0.8-9494-c4a01875
I'll be leaving here all the problems I have encountered in the Yakuza Games.
The system used for the following will be:
i9-13900k + RTX 3080 + 32 GB RAM (previously with 8700k)

Bug List

Yakuza 3, 4, 5, Dead Souls, Ishin, 0 and Kiwami

  • Random Freezing/Crash

These games tend to crash without any log output.
On my system enabling accurate getllar seems to fix this issue except for Yakuza 3 and 4.
For Yakuza 3 and 4, I kept Accurate Getllar and only allowed RPCS3 to use 6 of my cores, leaving the hyperthreaded ones unutilized.

Whenever Accurate Getllar and/or changing Affinity helps, may vary with the CPU, I don't have enough stats to tell much about this. Its required people to do extensive runs of the game(s) (up to 3hrs)

Uploading logs is very useless, sorry.


Yakuza Ishin

  • Sun / Lens Flare goes through objects

The sun shines through objects, its a bit distracting (not game breaking).
Happens on both renderers

Image Example

2

Log: RPCS3 Sun.log.gz
RSX Capture Vulkan: https://drive.google.com/file/d/1upqtWTIfqpnnw2_0wb6rUlEg9aqcnr-_/view?usp=sharing
(lil' outdated) Renderdoc Vulkan: https://drive.google.com/open?id=11RedRM2gDzkwFsgUQtdl7mdWIojsTBXq

  • Room with wrong colors

The room is lit like we are in a cartoon world (not game breaking).
Happens on both renderers

Image Example Legacy, Async Only, Async w/ Shader Interpreter

1

Interpreter Only
1Interpreter

Log: YakuzaIshinSunFlareAndWrongColors.log.gz
RSX Capture Vulkan: https://drive.google.com/open?id=1n17YB4Tc9MSsYu1zW6pDeF5WXmnb_mU1
Renderdoc Vulkan: https://drive.google.com/open?id=1cmHkv1RDhBdO1ts6uLP7oyKDjoOizQ-M


Yakuza 5 (not an issue, enable WCB)

Click to Expand - #### Incorrect Snow Visuals on Characters #### v0.0.9-9812-8d847d6f Like written in the title, the snow on the characters is incorrectly displayed Happens on both renderers
Image Example

RPCS3
6
Real HW
6RHW

Log: Yakuza5Snow.log.gz

RSX Capture Vulkan: https://drive.google.com/open?id=1qV8mdoW015PSQg7URD73qGnb20T3VUuY
Renderdoc Vulkan: https://drive.google.com/open?id=1cZMaD3iSW1xOL71eA5RplXRLnzccDya6

  • Yakuza 1 & 2 HD Edition Fixed Issue

Click to Expand
Blurry Visuals (OpenGL) On Vulkan this issue no longer exists but on OpenGL it still persists. None of the options help solve the issue.
Image Examples Vulkan

3Vulkan
OpenGL

3OpenGL

Useless Logs:

Yakuza1&2OpenGL.log.gz
Yakuza1&2Vulkan.log.gz

RSX Captures
OpenGL - https://drive.google.com/open?id=1RtkmhNh5GQJdgTtgIFsdSi4C1IRUM2Jw
Vulkan - https://drive.google.com/open?id=1450TqChPdzZDGOHAyr1iAoMAe8ZqbRd9
Renderdocc
OpenGL - https://drive.google.com/open?id=1FLHdNNQ3Qkyi-pyA3xjThL5QcZNomXqH
Vulkan - https://drive.google.com/open?id=1dwQ8f5Q4lyEw9R0htEZuo3VxKmxCmrsd

  • Yakuza Kenzan, 3 and 4 Fixed Issues:

Click to Expand
Pre-rendered cutscenes have stutters (All Yakuza games) The cutscenes are pretty stuttery even if you have constant 30 FPS. Log: [Yakuza 3 Pre Rendered Cutscenes.log.gz](https://github.com/RPCS3/rpcs3/files/1952247/Yakuza.3.Pre.Rendered.Cutscenes.log.gz)
Exploding Vertices and Missing Visuals Early in the game you'll find trees with broken LOD and exploding Vertices. Images: https://imgur.com/a/kjPkCQ7 Log: [Yakuza 3 Exploding Vertices and Missing Rendering.log.gz] (https://github.com/RPCS3/rpcs3/files/1952240/Yakuza.3.Exploding.Vertices.and.Missing.Rendering.log.gz)
  • Yakuza Kenzan! fixed issues:

Click to Expand
Incorrect Shadows Certain areas of the game the shadows are incorrectly (not game breaking). Funny how one side is wrong but the other side is rendered correctly.
Image Examples On one side its good

4Kenzan2

On the other side tho...
4Kenzan1

Useless Log:

YakuzaKenzan.log.gz

RSX Capture: https://drive.google.com/open?id=1YzvH_HC2DVUL9ZHm9a4YQd0tBokSnd9I
Renderdocc Capture: https://drive.google.com/open?id=1jRJsITrn06fzz3lreYEdtC85SolnhARg

  • Yakuza 4 Fixed Issues

Click to Expand
Missing light v0.0.9-9815-f1f5c913 While doing comparisons, I found out in this cutscene (very likely to be in others) to be missing a light, in this scenario blue. Use the images for better understanding Happens on both renderers

Using Interpreter Only fixes the issue but the performance takes a massive hit, not recommended.

Image Example

RPCS3 (Legacy, Async Only, Async w/ Shader Interpreter)
7

Real HW
7RHW

Interpreter Only
7Interpreter

Log: Yakuza4MissingLight.log.gz

RSX Capture Vulkan: https://drive.google.com/open?id=1OE8SM5mC-6ZAE5v_6NK5AZNJLtc-1s4l
Renderdoc Vulkan: https://drive.google.com/open?id=1xZn1rrU1P5EAfQbOpCvZdLLqPrkOy7_8

  • Yakuza Dead Souls, 5, Ishin, 0 and Kiwami Fixed Issues:

Click to Expand
Crashes after some time (Driver Crash) (Yakuza 0)

This one is certain, as soon as I go ingame and play for a little while the game will crash, and if I try to shut it down it freezes RPCS3, leaving me the only option to terminate RPCS3 through the task manager.

Error: F {rsx::thread} class std::runtime_error thrown: Assertion Failed! Vulkan API call failed with unrecoverable error: Device lost (Driver crashed with unspecified error or stopped responding and recovered) (VK_ERROR_DEVICE_LOST)
(in file c:\projects\rpcs3\rpcs3\emu\rsx\vk\VKHelpers.h:937)

Image: https://i.imgur.com/kMxjKcX.png
Log: Yakuza 0 Crash.zip
Possibly fixed! Doesn't seem to occur anymore in the recent builds.

Gameplay Video: https://youtu.be/U4ahYjgDCHA

All characters go black (Also at: #4141 ) (5, Dead Souls, Ishin, 0 and Kiwami)

This one is pretty bizarre, whenever I launch the game sometimes all the characters go black and sometimes they look completely normal.
Upscaling the game and tweaking the AF seem to make this occur almost 100% of the time.
Images: https://imgur.com/a/By0aOrc
Log Normal: Yakuza 0 Color Normal.log.gz
Log Black: Yakuza 0 Color Black.log.gz

The blood in combat has a T-Pose Model (Ishin, 0 and Kiwami)

This one is self-explanatory with the pictures
Images: https://imgur.com/a/v3AkwyH
Log: Yakuza 0 Blood T-Pose.log.gz

Broke Exposure Effect (Yakuza 0/Kiwami) It just so happens the "exposure effect" is either always at maximum or minimum, the gif should clear the explanation. Its almost as if RPCS3 only knows "0 and 1" Happens on both renderers
Image (GIFs) Example

RPCS3
RPCS3

How its supposed to be
HowItsSupposedtobe

Log: Yakuza0Exposure.gz
RSX Captures (looking up and down) Vulkan: https://drive.google.com/file/d/1NIyDgra3VHOe5hLe4NNyFOOCF0v5IKDE/view?usp=sharing
Renderdoc Vulkan: Will add when requested


  • Low Core Count Issues:

For the following issues, I can't confirm if they happen or not since I no longer own a slow low core count CPU (i5-7300HQ). These issues may not be necessary for this issue.

Click to Expand - #### Pre-rendered cutscenes have stutters (All Yakuza games) ####

The cutscenes are pretty stuttery even if you have constant 30 FPS.
Log: Yakuza 0 Pre-Rendered Cutscenes and LogSpam.log.gz

  • 1 FPS Lock (Temporary fix)

The default settings in RPCS3 lock the game to 1FPS, there is a temporary solution that fixes it.
Go to game's config.yml and change Driver Recovery Timeout to a lower ammount.
The lower the value, the higher the framerate, setting around between 1 to 10000 is good
Log Value 1: Yakuza 0 No 1 FPS Lock.log.gz
Log Value Default: Yakuza 0 1 FPS Lock.log.gz

  • Log spam:

E {rsx::thread} RSX: nv406e::semaphore_acquire has timed out. semaphore_address=0x40300FE0

This simply shows up whenever something is being displayed on the screen, the more frames, the more spam!
Use the log from Pre-rendered cutscenes have stutters. (You'll find this in every log)
Image: https://i.imgur.com/JY26hEH.jpg


I look forward in providing info, logs, renderdocs or anything, whenever necessary.
Discord: MsLow#2316

@Neucomac3
Copy link

I figure if we're compiling all the bugs and crashes we've seen I should add what I know
Desktop: i7 7700k + GTX 980 Ti + 16GB RAM
Yakuza 4 [NPEB02036] is more or less the same as 3. The cutscenes stutter, the vertices explode and the game freezes.

Speaking of Dead Souls [BLUS30826}, it's suffering the same errors as all the yakuza games from 5 to kiwami.

  • The game runs at 1 FPS and generates a semaphore timeout error at a rate of about 1 per second.
    Changing the driver recovery timeout in the config.yml to a value of 10 alleviates the 1 FPS problem, but obviously that's a temporary solution.
    Dead Souls 1 FPS: RPCS3.log.gz
    Dead Souls config edit: RPCS3.log.gz
  • Dead Souls also suffers the black model issue that 5-kiwami have, but it manifests in a slightly different way. While the other games have entirely black models, Dead Souls only randomly affects the models.
    Screenshot here: https://i.imgur.com/kKRTOqr.jpg
    Log here: RPCS3.log.gz
  • Dead Souls can outright entirely crash in the pre-rendered cutscenes. There's no error message, but it's crashed at the exact same moment on multiple tests.
    Log: RPCS3.log.gz

Every error that is applicable to Ryu Ga Gotoku 0 can be applied to 5/Ishin/Kiwami so I won't go through those

Ryu Ga Gotoku Kenzan! [BLJM60064] still won't even reach a loading screen on the master build, but by removing the pxd_shader_ps3.ppu.sprx file from the game's module folder, the game can reach up to the end of the first few pre-rendered cutscenes.
Log without removing the sprx file: RPCS3.log.gz
Log with the sprx file removed: RPCS3.log.gz

There might be more to add to this, but I'm not going to be able to do any more for a couple days.

@kd-11
Copy link
Contributor

kd-11 commented Jul 7, 2018

Retest and update. A lot has changed since april.

@MsDarkLow

This comment has been minimized.

@Neucomac3
Copy link

I found something to add to Yakuza 3 [BLUS30494]
I haven't checked the rest of the games yet, but Yakuza 3 is spamming a message saying SPU: GETLLAR took too long. It's constantly spamming these messages similar to the semaphore error. On top of that, it's still crashing randomly with no error message in the output log.
Here's the log file for one of these random crashes.
RPCS3.log.gz

@Timo654
Copy link
Contributor

Timo654 commented Aug 24, 2018

Yakuza 3 is also still randomly freezing.

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Sep 21, 2018

Update: Black Models fixed at #5144
Should take effect on the following games: Yakuza Dead Souls, Yakuza Ishin!, Yakuza 0, Yakuza Kiwami, Yakuza 5

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Sep 23, 2018

Update: Black Models fixed at #5144
Should take effect on the following games: Yakuza Dead Souls, Yakuza Ishin!, Yakuza 0, Yakuza Kiwami, Yakuza 5

Another small bonus update, on the same games. "The blood in combat has a T-Pose Model" seems to no longer show up either.

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Oct 8, 2018

Update: Exploding Vertices fixed at #5229
Should take effect on every Yakuza Game (not counting 1&2HD).

Remaining major problems:
♦ Common crashes with no log output;
♦ Slow Performance (Micro-stuttering? 1% and 0.1% being at half the fps).

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Mar 8, 2019

Some news related to the crashes.

A month or less ago, I figured out there was a log spam (seen in Trace mode), this was most likely the cause of the random crashes, I tried to disable every bit of log spam along with using Accurate GETLLAR (I haven't tested without it).
I only tested this on Yakuza Kiwami, Ishin, Dead Souls and 5 on an i7-8700k but hopefully it should apply to every single Yakuza game. (Maybe that explains why Kenzan! never crashed!)

I have set this in the bottom of the config.yml:
Log: {sys_semaphore: Fatal, sys_fs: Fatal, sys_vm: Fatal, sys_memory: Fatal, RSX: Fatal, sys_lwmutex: Fatal, sys_spu: Fatal, sys_event: Fatal, sys_rsx: Fatal}

This is not written in the issue but there was an issue with Yakuza Ishin where it would crash if the user didn't have option Disable ZCull Occlusion Queries, enabled. This was fixed in #5697

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Jun 11, 2019

Small update. Most of the issues still remain up to today.
Merged fixed stuff into a small section (Fixed Issues).

The (Y3) Pre-rendered Cutscene stuttering has been moved to Fixed Issues for performing so much better! Although Yakuza 0 is still very stuttery and is most likely due to the CPU (i5-7300HQ) being quite weak, it rarely happens with an i7-8700k.

Added a quick manual temporary fix for the random crashes (all yakuza games).

1 FPS Lock issue seems to be happening less often? Need further testings. May be due to my temporary fix shenanigans.

Other 1: Yakuza Dead Souls, 5, Ishin, 0 and Kiwami have horrible upscaling, this can be somewhat fixed using CPU Blit in the debug tab / game's config.yml. Ishin, 0 and Kiwami will contain visual glitches.

Other 2: So far all these games seem to be completable if we fix the crashes. I have completed Yakuza Kenzan, Ishin, Dead Souls and 3 w/ i7-8700k. Performance strays far from getting them to the playable section tho, being mostly RSX bottlenecked. (Except Kenzan ofc)

@MsDarkLow MsDarkLow changed the title Yakuza 0 & 3, Bugs and Crashes [BLES00834], [BLJM61249] Yakuza Games bugs Feb 3, 2020
@MsDarkLow
Copy link
Contributor Author

Updated the whole issue. This time only featuring the possible issues found with a 8700k paired with a GTX 1070.
Made it more clean and added more issues not mentioned before.
Also some errors were only on my 7300HQ and I no longer have it so, I'll find those issues irrelevant also because the CPU does not meet the Recommended Requirements anyways.

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Feb 6, 2020

Added another issue, incorrect shadows on Yakuza 5, 0 Ishin and Kiwami. Used 5 as an example.
This issue is mainly noticed when doing upscaling but it exists at 100% if you zoom in closely. The shadows kinda look like in a grid or something, the image examples speak for themselves.

July 2021 edit: It's not an issue

@MsDarkLow
Copy link
Contributor Author

Added another issue, incorrect snow visuals on yakuza 5 characters during a specific scene (and also happens ingame).

@MsDarkLow
Copy link
Contributor Author

Added another issue, missing light on yakuza 4 spotted on a cutscene, when comparing it to the PS3 and PS4 versions, it has a blue tone to it, where RPCS3 doesn't.

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Apr 30, 2020

#8106 Adds Shader Interpreter Only, and this option seems to solve the Yakuza 4 Light issue, or at least makes it much closer to real hardware.
Added the Interpreter Only picture example. (In this comment, two of them)

Image Examples Legacy, Async Only, Async w/ Shader Interpreter

7
7 1

Interpreter Only
7Interpreter
7 1Interpreter

Also Yakuza Ishin Room with wrong colors

Image Examples Legacy, Async Only, Async w/ Shader Interpreter

1

Interpreter Only

1Interpreter

@Marthgun
Copy link

Marthgun commented May 5, 2020

I've played through 3, 4, and 5 with minimal issues. I had to set Accurate GETLLAR in the debug tab, I followed the advice on the wiki pages with rec'd settings and turning off log spam. I also noticed that, at least for me, turning on Multithreaded RSX in the options seemed to stop all crashes (along with Accurate GETLLAR). Y3 was definitely the sketchiest game, If i played for more than 3 hours or so straight it would sometimes freeze and I'd have to exit out. 4 and 5 had no problems. for Y3 I had set it to 3x res, 2x for the other 2 games as the framerates would dip under 30 occassionally. Y4 ran almost entirely stable at 30fps, 3 same, 5 was the outlier, it had relatively low dips in Shinada's town which could get down to 23-25 fps and drop a few frames here and there in Kamurocho. Nothing too bad but Shinada's town was the worst by far. I would put it down to all kinds of crazy shit going on in the background/distance in the town.
edit: i should add that the incorrect snow overlays on the characters was the only real graphical bug that I ran into. Obviously whenever you start a game you mihgt have some black textures until it compiles w/e but only the snow textures were a problem and it was only a few scenes.
my specs:
i9-9900k
1070ti
32gb ram
13mb sexy women folder
I hope this helps.

@MsDarkLow
Copy link
Contributor Author

Yakuza 4 color fixed by KD in #8243

@MsDarkLow
Copy link
Contributor Author

Little update on "Sun / Lens Flare goes through objects". This issue is only present in Yakuza Ishin not in 0 and Kiwami. Upon further inspection they seem totally different issues. They have been seperated respectively.

@MsDarkLow
Copy link
Contributor Author

Yakuza Kenzan shadows fixed in #8367

@MsDarkLow
Copy link
Contributor Author

Just to keep the issue status updated, all currently mentioned bugs still exist.
Yakuza 1&2HD on Vulkan regressed on the cutscenes some long time ago (months), it's just as blurry as OpenGL, I forgot to mention it on the page because I was simply lazy, I'll find the regression pr and update the page at a later date.
I've also changed my 1070 to a 3080, no new bugs were introduced.

@MsDarkLow
Copy link
Contributor Author

Yakuza 1&2HD no longer has Blurry Scenes, both on OpenGL and Vulkan!
Fixed by KD in #9354

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Aug 2, 2021

Small update and new info on the listed issues.

The Incorrect Shadows (in 5, 0, Ishin, Kiwami) are not actually an issue, it's how the games actually render the edges of the shadows in a grid pattern, I removed it entirely.

The Incorrect Snow Visuals on Characters can be fixed when using WCB but it has to be without CPU Blit (doesn't work on ideal world settings either). And since I'm not sure if rpcs3 is intended with this behavior I'm keeping it as an issue.
I verified this by checking the following settings:

  • Ideal World = Bugged
  • WCB = Good
  • WCB + CPU Blit = Bugged
  • WCB + RDB + WDB + RCB = Good
  • RDB + WDB + RCB = Bugged
  • Nothing = Bugged

All other listed issues still persist the same way up to this day. (I will update the logs / rsx captures when requested.)

@kd-11
Copy link
Contributor

kd-11 commented Aug 2, 2021

In future, WCB+WDB and RCB+RDB will be merged, so the way I see it, the only problem here is that CPU blit is not working as intended. That is obviously not very high priority as it is a debugging-only path.

@ghost
Copy link

ghost commented Sep 4, 2021

I don't know who moved Yakuza Dead Souls to playable, but it still suffers from random freeze. I have to redo the near-ending battle in front of Millenium Tower with Kiryu & Ryuji no less than six times because it just freeze out of nowhere.
In my 20 hours playthrough, the most frequent freeze are:

  • At the start of Kiryu's part.
  • At the ending battles of the game.

FPS also heavily drops when:

  • Character is in an open area with lots of zombies, like in front of the Millenium Tower or Theater Square.
  • Any character firing any version of Gatling Gun. The muzzle flash of Gatling Gun tanks FPS hard.

@AniLeo
Copy link
Member

AniLeo commented Sep 4, 2021

ssshadow moved it a few months ago, I played the game last month and it only crashed randomly once throughout the entire game, including a consecutive 7h30m play session.

@MsDarkLow
Copy link
Contributor Author

MsDarkLow commented Nov 19, 2021

Yakuza 0 and Kiwami no longer have broken exposure effect.
Fixed by KD-11 in #10823
Here's how it looks now: 7BXQTBryPy

@Marthgun
Copy link

Dead Souls is also randomly freezing for me to the point it's unplayable (for me). Sometimes I can play for 2 hours straight, sometimes it freezes (music still works) within 10 minutes of starting. It appears randomly.
I set Accurate GETLLAR and CPU Blit to true in config.yml and used the MLAA script, set vsync on and followed all advice on the wiki page and sshadow forum post including setting resolution to 513x513 (can't hit 512x512 for whatever reason) and having upscale to 125x for MLAA script. Maybe it's due to my chip being Intel. I wonder if @AniLeo has an intel or amd? Otherwise the game runs and looks great. No other problems. I'm running everythign from my HDD but I could try moving it to my M2 drive but I'm not sure if I need to move the game files, RPCS3 or both.
my specs:
i9-9900k
1070ti
32gb ram

@DerinHalil
Copy link

On my M1 Macbook Pro, Dead Souls [BLUS30826] has this issue where there are a bunch of black polygons all over the screen.

Screenshot 2023-03-01 at 10 15 01

Screenshot 2023-03-01 at 10 15 14

Screenshot 2023-03-01 at 10 29 20

Apparently this may be related to the Vulkan renderer, but obviously I can't just switch to OpenGL on MacOS, so no idea what to do.

@R-033
Copy link

R-033 commented Apr 23, 2024

@DerinHalil I had this issue in Yakuza 3 on M1. Managed to fix it by turning on "Disable MSL Fast Math" under Advanced tab. Attaching my full config file just in case.
config.yml.zip
Screenshot 2024-04-23 at 22 18 59

@AniLeo
Copy link
Member

AniLeo commented Jun 6, 2024

Random freezing/crash needs update with latest build

@MsDarkLow
Copy link
Contributor Author

I marked "Incorrect Snow Visuals on Characters" as fixed by enabling WCB (which I found and commented years ago, idunno why I never marked it as fixed).
The "Sun / Lens Flare goes through objects" & "Room with wrong colors" still persist.

And lastly, Yakuza Dead Souls still Crashes
RPCS3.log.gz

@PFLI2
Copy link

PFLI2 commented Nov 3, 2024

Random crashes are still an issue in Dead Souls. Accurate Getllar is now forced on at all times in RCPS3 and the game still often just freezes for no real reason with the music being the only thing to keep playing. Tried to save a state just to see what would happen, nothing happens.

@PFLI2
Copy link

PFLI2 commented Nov 15, 2024

Pachinko has massive issues at least in Dead Souls. Getting in or out of pachinko is a coin flip. The Virtua Fighter machine brings you to a black screen you're trapped at, I managed to exit out once blindly but it crashed one time I did that. King Camel works but you can't exit out. CR Aladdin Destiny EX fully works, can get in and out.

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

9 participants