PCSX2 / pcsx2

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

[BUG]: Blokus Club with Bumpy Trot (Japan) - Poor performance in SW renderer due to threadsync being hammered, resulting in additional rendering threads having no performance impact; HW Renderer issues due to IREM postprocessing #4879

Open HeroponRikiBestest opened 2 years ago

HeroponRikiBestest commented 2 years ago

Describe the Bug

Note: the following applies to the 64 bit builds. Please see my later comment for issues only present on 32 bit builds. Various graphical issues are present in both the software and hardware renderers for Blokus Club with Bumpy Trot (Japan), mainly in software mode. I will combine the screenshots with this description, as there are multiple issues that I need to describe. Software issues:

Hardware issues:

Reproduction Steps

Mash circle through blokus, 1 player, etc modes, and select 3 characters when prompted. Once you've selected all characters, you can either leave it as is and continue pressing circle to get a random stage, move the option second from the top once to the right to select the smoke stage, and move said option twice to select the coast stage, where I took most of these screenshots. To get to the board game looking area, select bumpy trot instead of blokus on the main menu. Here's a screenshot with the coast stage selected: image

Expected Behavior

I expected the game to render properly on both SW and HW renderers, without the aforementioned issues.

PCSX2 Revision

PCSX2 1.7.0-20211004182155 - compiled on Oct 4 2021

Operating System

Linux (64bit) - Specify Distro Below

If Linux - Specify Distro

Linux Mint 20

CPU

AMD Ryzen 7 PRO 4750U with Radeon Graphics

GPU

Uses an iGPU, see cpu

GS Settings

No response

Emulation Settings

No response

GS Window Screenshots

No response

Logs & Dumps

I took 2 screenshots on the coast stage here: gs_20211005223018 gs_20211005222846 gs_20211005222846.gs.zip gs_20211005223018.gs.zip

Here is the log output of all my testing. I wasn't sure which parts were and weren't important, so I left everything in. logs.txt

refractionpcsx2 commented 2 years ago

Is it possible for you to build 32bit at all? I suspect a lot of the software issues are due to 64bit not being quiet ready.

HeroponRikiBestest commented 2 years ago

No, unfortunately it isn't; the 32-bit builds from the github actions page crash with an unhandled page fault, I have never been able to successfully build pcsx2 from source the 3-4 times I've tried due to dependancy issues, and the daily ppa seems to only provide original 1.7.0(?) and also crashes with the same unhandled page fault, which doesn't seem to reveal anything useful in a backtrace.

HeroponRikiBestest commented 2 years ago

Okay, I booted windows and tested the 32 bit version there. 2 software rendering issues still remain:

prafullpcsx2 commented 2 years ago

Like many other games this (the blocks issue) was also broken here https://github.com/PCSX2/pcsx2/commit/ee9c9ac8f30ff9157bfc759a36fd372bf9809019

Sky rendering bug seems something different.

HeroponRikiBestest commented 2 years ago

Did that only break the 64-bit build, or is it responsible for the issues on both?

prafullpcsx2 commented 2 years ago

Did that only break the 64-bit build, or is it responsible for the issues on both?

It is responsible for issues on both.

TellowKrinkle commented 2 years ago

Green background in 64-bit SW renderer is a known issue, it's fixed by the PR that makes the SW renderer work on Windows x64

tadanokojin commented 2 years ago

HW renderer:

It should be noted this is an Irem game which are notorious for their convoluted post processing. See https://github.com/PCSX2/pcsx2/issues/2753 and https://github.com/PCSX2/pcsx2/issues/1318 (Raw Danger, Steambot) for more details. Based on just the trace log I can tell you the post effects you're describing are issues with the coast stage for example are very reminiscent of that of Raw Danger and Steambot (which this game appears to spin off). Same with the orange thing in the top left.

I suggest you make note of these post issues in https://github.com/PCSX2/pcsx2/issues/1318. They'll have to be addressed with the rest of the Irem games and probably best not to keep this issue open for them. They won't be fixed anytime soon I'm afraid.

HeroponRikiBestest commented 2 years ago

Do I note the SW renderer issues there too?

HeroponRikiBestest commented 2 years ago

Also, for future use, I got real hardware capture of what the game is supposed to look like. Unsurprisingly, it seems the SW renderer is closest. image

HeroponRikiBestest commented 2 years ago

I forgot to mention it when it was first brought up, but the game runs unusually poorly on SW rendering because the game spams threadsync, so extra rendering threads have no impact on performance.

HeroponRikiBestest commented 2 years ago

https://github.com/PCSX2/pcsx2/pull/5024 fixes the missing blocks on the main menu in the SW renderer. image

Mrlinkwii commented 1 year ago

on v1.7.4658 running though the GS dumps it seems the only issue left here is in HW mode ( the background colour) HW image SW

image

the SW screenshot seems to match the hardware capture mentioned above

lightningterror commented 9 months ago

The water reflections need full blending, doesn't affect sky tho.