PCSX2 / pcsx2

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

[BUG]: Graphics that are forced to be without bilinear filtering on SW mode are distorted #5814

Open IlDucci opened 2 years ago

IlDucci commented 2 years ago

Describe the Bug

While playing the PAL version of Fire Heroes, some UI elements seem to have both horizontal and diagonal distortions, almost like the quads that contain those UI pieces have the diagonal side moving around a bit.

This graphical glitch does not happen in any of the existing hardware modes (checked on DirectX; OpenGL and Vulkan), only on Software mode.

Reproduction Steps

Expected Behavior

The UI elements should be clean of distortions.

PCSX2 Revision

v1.7.2559 AVX2

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

CPU

i7-9700K @ 3.50 GHz

GPU

RTX 2070

GS Settings

Software Mode settings:

No hacks, no overrides, "Async Texture Loading" in the Advanced tab.

Emulation Settings

GS Window Screenshots

(Texts Prólogo/Episodio 1/2/etc.) gs_20220403151913 (Tower Picture, Tower highlighted floors are 1px to the left while in real hardware and in hardware mode are properly aligned, floor plan, floor name [P22 Hotel Clayton]) gs_20220403152434 (Douglas Brantley name, horizontal cut at the bottom of the blue star medals. Not sure if the other UI texture corruptions are an emulation problem, but don't care right now). gs_20220403142315

Logs & Dumps

GS DUMPS.zip

IlDucci commented 2 years ago

So... Breaking news: I was testing some final changes I was doing to a fantranslation project of Persona 3 FES, both for the PAL and the NTSC-U versions, and it seems that during the Erebus fight, at the end of The Answer (though this seems to happen a few times, usually on boss fights), whenever the battle UI (on the right) is displayed and you are not in control, the PC/NPC HP/SP values are distorted as well.

Reproduction Steps

The settings are the same as those used on Fire Heroes, though I did a quick test on 1.6.0, DirectX Software, and the error persists. This might be a global error and not one localized into a single game.

Issue happening on PAL version (since the UI is generally stretched out by the game, it looks worse): gs_20220509180711_(2)_Shin Megami Tensei - Persona 3 FES _PAL-E__SLES-55354

Issue happening on the NTSC-U version: gs_20220509180759_(2)_Shin Megami Tensei - Persona 3 FES _NTSC-U__SLUS-21621

Logs & Dumps Dumps P3FES.zip

refractionpcsx2 commented 2 years ago

Just to note both are double wrong. Firstly the distortion, but secondly it's supposed to be nearest drawn, not bilinear.

Mrlinkwii commented 1 year ago

hows this on latest nightly

IlDucci commented 1 year ago

Tested today with v1.7.4585. The issue persists.

refractionpcsx2 commented 1 year ago

Yes, the game needs preround, it's fine on #6553

image

IlDucci commented 1 year ago

Sorry, I was not informative enough: I only tested Fire Heroes, and in software mode.

refractionpcsx2 commented 1 year ago

Can you try Fire Heroes on the preround PR please?

IlDucci commented 1 year ago

That is on hardware mode, correct? The UI already displayed properly on hardware mode.

refractionpcsx2 commented 1 year ago

no, in software

IlDucci commented 1 year ago

So I got good news and bad news. Good news: software mode now seems to render the UI correctly: Captura de pantalla 2023-06-16 233459 Captura de pantalla 2023-06-16 233615

Bad news: now Vulkan shows vertical lines. Much less obvious, in fact. Captura de pantalla 2023-06-16 233531 Captura de pantalla 2023-06-16 233601

refractionpcsx2 commented 1 year ago

is that only when upscaling but also in native?

IlDucci commented 1 year ago

Resolution? I have only tested in native.

refractionpcsx2 commented 1 year ago

oh okay, thanks :)

IlDucci commented 1 month ago

Tested again today with v1.7.5912. No changes since the last update, the distortion on the Tower Map and the Episode texts on the Victim List are still present.