RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.37k stars 1.91k forks source link

[Regression] [NPEA00364] White bar on left of screen and black screen in Uncharted 2 #14136

Closed BenCarpenterDev closed 1 year ago

BenCarpenterDev commented 1 year ago

Quick summary

A white bar appears on the left of the screen and the game renders black at a certain resolution scale threshold

Details

Problem 1: When the resolution scale threshold is set to 160x160 or above, the game renders everything black apart from the UI elements. You can still navigate the menu and play the game but of course can't see the world or your character. Sound still works. On this build, this can be resolved by setting it to 159x159 or below. Problem 2: There's a white bar on the left.

I've tested out with the settings I usually use and the standard settings from the wiki.

Build with regression

v0.0.28-15302-79e000f6

Attach two log files

RPCS3 - the one that works.log RPCS3 - Problem 1 black screen.log RPCS3 - Problem 2 white bar.log

Attach capture files for visual issues

NPEA00364_screenshot_2023_07_05_00_59_10 NPEA00364_screenshot_2023_07_05_00_36_51

System configuration

CPU: i7 12700KF GPU: EVGA GeForce RTX 2060 Super SC Ultra GPU driver version: 536.40

Other details

No response

solarmystic commented 1 year ago

Interesting thing to note about this issue report, i could briefly replicate it by wiping my NVIDIA Vulkan/GL driver cache, but wiping out rpcs3's own shader cache for the game and allowing the game to rebuild the shaders from scratch again in-game resolved the issue. Tested on a 12700KF/2080TI machine with 527.56 drivers.

image

Log with my settings RPCS3.log.gz

EDIT:- See my post below for updates.

solarmystic commented 1 year ago

Actually forget what i mentioned above, the clear shader cache trick works only once, subsequent boots of the game causes the black title screen issue again on all builds from #14104 v0.0.28-15302-79e000f6 and newer.

image

You can't see anything in-game as well after loading your save file.

image

The last truly unaffected build is v0.0.28-15277-21f5976d

image

solarmystic commented 1 year ago

Upon further investigation, i've devised a way to consistently reproduce the issue:-

  1. Clean NVIDIA Vulkan driver cache C:\Users\[username]\AppData\Local\NVIDIA\GLCache
  2. Clear out current rpcs3 game shader cache.
  3. Start game on affected build (0.0.28-15302 and newer)
  4. Game looks fine at first. Load savegame, game still looks fine on first boot.
  5. Close game, restart game from rpcs3.
  6. Boot game and now title screen appears black. In-game is completely black too.
  7. This same built shader cache poses no problem for an unaffected build like 0.0.28-15277.

Caveat:- If you built and carried forward shader cache from an unaffected build like 0.0.28-15277 or older, you won't ever experience this issue.

Custom config and save file for reproduction:-

config_BCUS98123.txt (rename txt to yml before pasting it in rpcs3\config\custom_configs)

BCUS98123_NDI_UNCHARTED2_BT_0.zip