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

[BUG]: Tales of the Abyss: Line Grid Effect in certain areas within the game #6497

Closed
Trixarian opened this issue Jun 23, 2022 · 8 comments · Fixed by #12346
Closed

[BUG]: Tales of the Abyss: Line Grid Effect in certain areas within the game #6497

Trixarian opened this issue Jun 23, 2022 · 8 comments · Fixed by #12346

Comments

@Trixarian
Copy link

Trixarian commented Jun 23, 2022

Describe the Bug

When upscaling Tales of the Abyss beyond Native resolution, and with Half-Pixel Offset enabled, it causes a line grid effect to appear in several areas within the game. Disabling HPO does solve this issue, but in return results in a ghosting effect around models. The issue also appears if a texture offset is used or when any of the other hacks that have a similar effect, like Align Sprite and Wild Arms Hack, is used. No other arrangement of settings seem to correct this behaviour while HPO is enabled, but notably setting Override Texture Barriers to Force Disabled reduces - and in some instances, eliminates - the effect at the cost of blurring the image.

Here's an example of the line grid effect in Engeve:
gs_20220623075733_Tales of the Abyss_SLUS-21386

Current workarounds:
The use of the Skipdraw range of 355 and 359 corrects the issue for 90% of the areas affected, but does cause visual bugs within the Desert Oasis and Grand Chokmah.
Using the HPO setting Normal (Vertex) results in a sharper image, but comes with pixel thick lines of corrupted texture at the top and left side of the screen which requires setting a Zoom of 101% and enabling Screen Offsets to correct. Use of the Anti-Blur setting further sharpens the image. It, however, still requires the Skipdraw range to correct the line grid issue.
Notably the use of the Widescreen patch file results in the the Skipdraw code not working at all. This is due to the use of the No Bloom code within the file, and can be used outside of the Widescreen patch file to reproduce the problem.

Other known areas that this bug is present:

  • Title Screen
  • Cutscene where Tear attacks Van
  • Tataroo Valley (Night)
  • Engeve
  • Kaitzur Navel Port
  • Outside Baticul Castle
  • Grand Chokmah
  • Keterburg
  • Keterburg Bay
    (See Screenshots below for examples of the above)

Reproduction Steps

Set any Internal Resolution higher than Native, then enter the affected areas within the game to observe the bug

Expected Behavior

Preferably a sharp image without the line grid effect in the affected areas, similar to this screenshot using HPO Normal (Vertex) and the Skipdraw range fix:
gs_20220623205343_Tales of the Abyss_SLUS-21386

PCSX2 Revision

AVX2-Qt-v1.7.2991

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

CPU

AMD Ryzen 5 2500U

GPU

NVIDIA Geforce GTX 1050 4GB

GS Settings

Display
Renderer: Vulkan
Aspect Ratio: Standard (4:3)
FMV Aspect Ratio: Standard (4:3)
Bilinear Filtering: Disabled
Sync to Host Refresh (Vsync): Enabled
Anti-Blur: Enabled

Rendering
Internal Resolution: 4x Native (~1440p/2K)

Emulation Settings

Maximum Frame Latency: 3 frames
Adjust to Host Refresh Rate: Enabled

GS Window Screenshots

More examples of the bug in action:
gs_20220623075803_Tales of the Abyss_SLUS-21386
gs_20220623075838_Tales of the Abyss_SLUS-21386
gs_20220623075912_Tales of the Abyss_SLUS-21386
gs_20220623075955_Tales of the Abyss_SLUS-21386
gs_20220623080021_Tales of the Abyss_SLUS-21386
gs_20220623081348_Tales of the Abyss_SLUS-21386
gs_20220623081459_Tales of the Abyss_SLUS-21386

Logs & Dumps

GSDumps of known instances of the bug:
gs_Tales of the Abyss_SLUS-21386-1.zip
gs_Tales of the Abyss_SLUS-21386-2.zip

@Trixarian Trixarian added the Bug label Jun 23, 2022
@coornio
Copy link
Contributor

coornio commented Jun 24, 2022

Related (but closed) PR #6269

Currently has no reliable solution that doesn't introduce problems elsewhere in the game.

@Trixarian
Copy link
Author

Trixarian commented Jun 26, 2022

Currently has no reliable solution that doesn't introduce problems elsewhere in the game.

That's the biggest problem with it - there are no good fixes for it.
Lives up to the usual Tales games reputation of barely working on the system it's designed for

@lightningterror
Copy link
Contributor

Closing, upscaling issue.

@lightningterror lightningterror closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2022
@Trixarian
Copy link
Author

Closing, upscaling issue.

That none of the other hacks corrects and I was told by @iMineLink to make this report

@lightningterror
Copy link
Contributor

Closing, upscaling issue.

That none of the other hacks corrects and I was told by @iMineLink to make this report

If Imine told you to make it then it's fine, we usually close upscaling issues.

@Trixarian
Copy link
Author

It might be an rendering issue with this game since it does appear at Native. Upscaling alone doesn't make the bug appear, it requires the use of HPO or texture offset hacks to make it noticeable. It's mostly likely down to how the low scale animated parallax effect used in the game works. I assume it uses several such animated textures arranged in a grid, which is why when an offset is used on it, it makes the grid pattern far more noticeable due to overlapping textures.

Considering how sparingly it's used in the game, and how the developers designed most areas within game to avoid having to look at the sky box, it may have been a known issue for them. Coupled with the fact that a CRT would have hidden the grid lines, it was a fair compromise at the time

@Mrlinkwii
Copy link
Contributor

i checked this on v1.7.5611 , seems ok at 7/8x with fixes that are on by default with the 2 set of gs dumps provided
image

image

@Trixarian can you recheck this for me

@jkcdarunday
Copy link

Happens to me in the title screen at 2x native resolution on my Steam Deck OLED running PCSX2 v1.7.5737.

Tales of the Abyss_SLUS-21386_20240424012947
Tales of the Abyss_SLUS-21386_20240424014151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants