PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.34k stars 1.58k forks source link

[BUG]: Texture flickering in background in Rayman 3 Hoodlum Havoc #6101

Open JordanTheToaster opened 2 years ago

JordanTheToaster commented 2 years ago

Describe the Bug

During the opening stages of Rayman 3 as you come out to an overview you can observe the background flickering as you move or if you sit in the correct spot you can see black squares or chunks missing.

unknown

unknown

Reproduction Steps

Load the provided GS dump and observe the flickering in the background as rayman moves.

Expected Behavior

The background to not flicker.

PCSX2 Revision

v1.7.2755

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

CPU

Ryzen 5 5600x

GPU

RTX 2060 Super

GS Settings

Vulkan Full (Hash Cache) preloading native internal res.

Emulation Settings

No response

GS Window Screenshots

No response

Logs & Dumps

https://drive.google.com/file/d/1BX3pZwX_3RZ0tDpPMzYl5cOL7TEyJOhB/view

coornio commented 2 years ago

Here's a savestate on 1.7.2755 for anyone interested. No hack or round/clamp mode fixes this issue, which I think was present since many, many years ago. I suspect Z-fighting, in which case that PR about doubles for Z in software may be of help?

SLUS-20601 (146F67E5).00.zip

lightningterror commented 2 years ago

in which case that PR about doubles for Z in software may be of help?

Can you give it a go?

dio-gh commented 2 years ago

Was tested yesterday on Discord, doesn't affect this specific issue.

refractionpcsx2 commented 2 years ago

New dump link Rayman3.zip

refractionpcsx2 commented 2 years ago

Also reproduced on real hardware, but leaving open for our HW mode which is just jacked.

image

refractionpcsx2 commented 1 year ago

Well the problem is Z depth accuracy, and it's lacking Z accuracy in the HW renderer more than the PS2 and SW mode do, so that needs to be delt with at some point, but SW mode is PS2 accurate.