cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
6.61k stars 505 forks source link

Splatoon 1 wall painting lags my game #1170

Open oomi-the-octo opened 2 months ago

oomi-the-octo commented 2 months ago

Current Behavior

Since about 2.0-73/75 to 2.0-77, i've noticed painting some walls can make your game lag a lot, this also happens on multiple versus maps, and shooting range.

Here is a clip : https://github.com/cemu-project/Cemu/assets/99236152/327b8444-6c27-4ddf-9e31-df22541c5c89

Camp Triggerfish is mostly the laggiest one when shooting on walls.

Expected Behavior

Well, not lag, lol. 2.0-71 doesn't lag me when painting any walls.

Steps to Reproduce

Paint a wall, (ex : Camp Triggerfish, most walls lag you.)

System Info (Optional)

OS: Windows 10 Professionnel x64 22H2 19045.4239 GPU: AMD Radeon(TM) RX Vega 11 Graphics CPU: AMD Ryzen 5 3400G with Radeon Vega Graphics 3.70 GHz RAM : 16Go (13,9Go Usable)

Emulation Settings (Optional)

Here is my settings, just in-case! image Accurate Barriers is also enabled!

Logs (Optional)

log from lag online.txt <-- online

log from lag offline.txt <-- offline

lisa-wolfgang commented 2 months ago

Able to repro on an Intel iGPU (Iris Xe) as well, since at least 2.0-74.

image

Here, you can also see that ink is unusually cut off in certain areas, most notably on the bottom edge of the inked area of the wall. (This is also visible in the video posted earlier: notice the blue square that is staying mostly blue even while being directly inked.) In my own testing, I found that this issue typically occurs when ink should be crossing these cutoffs. (And it does seem like ink is crossing these cutoffs non-visually, because swimming up the walls in squid form works even in areas that appear un-inked.)

With no graphics packs enabled, I typically get 60FPS and around 50% GPU usage. While inking walls around cutoffs, performance drops to 40FPS and maxed-out GPU usage. I also tested with the 30FPS graphics pack enabled to minimize GPU usage under normal circumstances -- I typically get around 33% with this. While inking walls around cutoffs, performance drops to roughly 20FPS and again maxes out GPU usage.

splatoon1enjoyer commented 2 months ago

I also confirm on my RX 580 with my custom compiled Cemu version running off of a late 77 commit on the main branch.

cemu

splatoon1enjoyer commented 2 months ago

For anyone having this issue, it appears to be fixed for the most part by simply upscaling the game's resolution. I tested with 1920x1080 upscaling and it works flawlessly.