pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[BUG]: Harry Potter and the Chamber of Secrets [SLES-51192] Mipmapping issues

Open TheAdmiester opened this issue 8 months ago • 4 comments

Describe the Bug

Passing on an issue that a friend reported - not too familiar with the game but will try to offer info where I can. Mipmapping appears to cause texture swapping/corruption in various areas, showing incorrect texture for walls, building trims, and so on.

Moving the camera makes any affected areas cycle rapidly through various textures that are in memory in a way that almost looks like z-fighting (especially when it's flickering to textures that look similar to the intended one).

Software mode looks correct, native res in hardware is still affected. Mipmapping disabled is correct, but in this case it runs too slowly to be playable without mipmapping. Pics show software versus different angles of hardware.

Image

Image

Image

Image

GS dump of an affected frame: Harry Potter and the Chamber of Secrets_SLES-51192_20250506185159.zip

Reproduction Steps

Loading into any level and looking around should suffice. The first level in the farm/barnyard type area shows it most on the brick walls in my images above - looking at them in hardware mode and moving the camera around should reproduce the issue.

Expected Behavior

Hardware renderer displaying normally without any garbled texture cycling.

PCSX2 Revision

v2.3.324

Operating System

Windows 11

If Linux - Specify Distro

No response

CPU

Ryzen 7 3700X

GPU

RTX 2080

GS Settings

No response

Emulation Settings

No response

GS Window Screenshots

No response

Logs & Dumps

No response

TheAdmiester avatar May 06 '25 17:05 TheAdmiester

I haven't played the game in a while but I can confirm that atleast on the gsdump you provided enabling gpu palette conversion fixes the bug.

prafullpcsx2 avatar May 11 '25 12:05 prafullpcsx2

Good stuff, can confirm this works. For anyone else having the same issue: I think this game has the Framebuffer Conversion fix in its automatic fixes, so when Manual is enabled the dispaly will look corrupted - enable Framebuffer Conversion manually, then GPU Palette Conversion, and everything will look as intended.

TheAdmiester avatar May 11 '25 19:05 TheAdmiester

Reopening as this is still a valid issue.

JordanTheToaster avatar May 27 '25 21:05 JordanTheToaster

Good stuff, can confirm this works. For anyone else having the same issue: I think this game has the Framebuffer Conversion fix in its automatic fixes, so when Manual is enabled the dispaly will look corrupted - enable Framebuffer Conversion manually, then GPU Palette Conversion, and everything will look as intended.

This is not a fix.

JordanTheToaster avatar May 27 '25 21:05 JordanTheToaster