pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

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

Open IlDucci opened this issue 2 years ago • 14 comments

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

  • Start a new game or load a save file while playing in Software Mode, then proceed into an episode.
  • As soon as you are ingame (within a cutscene as well), press START to pause the game.
  • Go into one of the available menus: there's distortion in the Tower Map, Status and Victim List menus.

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:

  • Auto Flush On
  • Edge Antialiasing (Del) Off (tried putting it On, no changes)
  • Mipmapping
  • Extra Rendering Threads: 2

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

Emulation Settings

  • Safe Preset on.
  • Instant VU1 On (tried turning it Off, no changes).

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 avatar Apr 03 '22 20:04 IlDucci

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

  • Play in software mode. Hardware mode seems to force bilinear filtering, clearing out the issue.
  • Load a game and go fight a boss. I've seen this while fighting Erebus (the final boss) of The Answer.
  • See the UI on the right side of the screen whenever you are not in control of the scene (a.k.a.: whenever the left UI elements are hidden, except the RUSH indicator).

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

IlDucci avatar May 09 '22 21:05 IlDucci

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

refractionpcsx2 avatar May 09 '22 21:05 refractionpcsx2

hows this on latest nightly

Mrlinkwii avatar Apr 10 '23 23:04 Mrlinkwii

Tested today with v1.7.4585. The issue persists.

IlDucci avatar Jun 16 '23 20:06 IlDucci

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

image

refractionpcsx2 avatar Jun 16 '23 20:06 refractionpcsx2

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

IlDucci avatar Jun 16 '23 21:06 IlDucci

Can you try Fire Heroes on the preround PR please?

refractionpcsx2 avatar Jun 16 '23 21:06 refractionpcsx2

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

IlDucci avatar Jun 16 '23 21:06 IlDucci

no, in software

refractionpcsx2 avatar Jun 16 '23 21:06 refractionpcsx2

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

IlDucci avatar Jun 16 '23 21:06 IlDucci

is that only when upscaling but also in native?

refractionpcsx2 avatar Jun 16 '23 21:06 refractionpcsx2

Resolution? I have only tested in native.

IlDucci avatar Jun 16 '23 21:06 IlDucci

oh okay, thanks :)

refractionpcsx2 avatar Jun 16 '23 21:06 refractionpcsx2

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.

IlDucci avatar Jun 18 '24 17:06 IlDucci