ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

Armored Core Silent Line Portable: flickering, likely lens flare-related

Open TheParagone opened this issue 2 years ago • 20 comments

Game or games this happens in

NPUH10025_1.00

What area of the game

It happens in the level called Escort Transport. It's more less the third level of the game.

What happens

The screen starts flickering in weird ways. The flickering is not constant and isn't the typical black flashes flickering. The UI of the game also starts bugging out when the flickering happens. I have noticed that the level has a lens flare effect and the issue seems to happen when said effect is visible on screen.

What should happen

The screen should not flicker like it does.

GE frame capture

NPUH10025.zip

Platform

Android

Mobile phone model or graphics card

Realme GT2

PPSSPP version affected

v1.15.4

Last working version

No response

Graphics backend (3D API)

Vulkan

Checklist

  • [X] Test in the latest git build in case it's already fixed.
  • [X] Search for other reports of the same issue.
  • [x] Try resetting settings or older versions and include if the issue is related.
  • [X] Try changing graphics settings to determine if one causes the glitch (especially speed hacks or enhancements/replacements.)
  • [x] Include logs or screenshots of issue.

TheParagone avatar Jun 18 '23 10:06 TheParagone

Here is a video showing the issues.

TheParagone avatar Sep 27 '23 21:09 TheParagone

Yeah, might be some readback trick going wrong.. Here's our collection issue for lense flare effects: #15923

Frame captures are probably not gonna do much good here, but save states might.

hrydgard avatar Sep 27 '23 22:09 hrydgard

Here's a savestate that leads directly to the glitch. NPUH10025.zip

TheParagone avatar Sep 28 '23 07:09 TheParagone

This might work now if you set "Lens flare occlusion" to Always on. Can somone test this? In that case I'll just enable it by default for this game.

hrydgard avatar Dec 22 '24 13:12 hrydgard

I can try, but that setting isn't available on Android, is there any way I can test it?

TheParagone avatar Dec 22 '24 14:12 TheParagone

should be available in the latest APK from https://www.ppsspp.org/devbuilds/

though I haven't checked that it works on Android yet admittedly :)

hrydgard avatar Dec 22 '24 16:12 hrydgard

Awesome I just tried it. It definitely helped a lot since there's no more white flashes. Still, some times there are little black flashes (one or two, so definitely not as bothersome) and sometimes along with these ones the HUD goes white for a few milliseconds.

TheParagone avatar Dec 22 '24 16:12 TheParagone

Okay, well that sounds like a good improvement at least! I guess we can't close this though, since that black flash problem sounds related (although it might also be something else..)

hrydgard avatar Dec 22 '24 16:12 hrydgard

What's the difference between on and off? Should it be better to just let it on auto?

TheParagone avatar Dec 22 '24 16:12 TheParagone

Auto will enable it for the games we know it works on, as specified in compat.ini. Once I've added Armored Core to the list, that's the setting you want.

Just to be sure, what's the game ID of your ISO? (you'll see it by pausing and pressing the info buttton ("i" in a circle), it'll look something like UCUS98606).

hrydgard avatar Dec 22 '24 17:12 hrydgard

It's NPUH11025 1.0 from what I can tell.

TheParagone avatar Dec 22 '24 17:12 TheParagone

Hm, I think it's more likely to be NPUH10025 (which I found here: https://gamefaqs.gamespot.com/psp/960305-armored-core-silent-line-portable/data). I'll add that to the list soon, until then just use Always On.

hrydgard avatar Dec 22 '24 17:12 hrydgard

Yep sorry, I added a 1 for some reason, it's NPUH10025

TheParagone avatar Dec 22 '24 17:12 TheParagone

Lens flare occlusion doesn't exist as a ppsspp setting, where is it?

RetroGameTalk avatar Feb 21 '25 22:02 RetroGameTalk

It does in the latest development builds, or wait for 1.19.

hrydgard avatar Feb 22 '25 09:02 hrydgard

Related https://github.com/hrydgard/ppsspp/issues/11430

Unknowncat1991 avatar Feb 25 '25 02:02 Unknowncat1991

This issue also occurs on AC3 Portable, also with OpenGL backend. Tested lens flare occlusion on Auto, Low, and Off (just to check) and not really noticing any major differences. Seems to flicker a bit randomly but mostly stays darkened while in gameplay

buymyhubs avatar Nov 10 '25 22:11 buymyhubs

@buymyhubs likely because we only enable "lens flare occlusion" (which really is a software renderer that fills just the Z buffer) for a set of games where we know it helps (because it's a CPU performance eater that we really only want to have enabled when needed). However you can force it on by setting DepthRasterMode = 3 under [graphics] in PSP/SYSTEM/ppsspp.ini .

If that helps, I'll add an entry to compat.ini under [SoftwareRasterDepth] that allows it to be enabled in Auto/Low modes.

hrydgard avatar Nov 10 '25 23:11 hrydgard

@buymyhubs likely because we only enable "lens flare occlusion" (which really is a software renderer that fills just the Z buffer) for a set of games where we know it helps (because it's a CPU performance eater that we really only want to have enabled when needed). However you can force it on by setting DepthRasterMode = 3 under [graphics] in PSP/SYSTEM/ppsspp.ini .

If that helps, I'll add an entry to compat.ini under [SoftwareRasterDepth] that allows it to be enabled in Auto/Low modes.

Thanks for the quick reply. I did this and confirmed Lens flare occlusion showed "Always on" in the GUI after. I'm not sure if it's placebo, but it may have marginally improved the issue? I would say it's still hard to play the game like this though

buymyhubs avatar Nov 11 '25 00:11 buymyhubs

On second look, I think this issue is related to #11430 and #10726 more than this one. I'm not experiencing the white flash like in the attached video

buymyhubs avatar Nov 11 '25 14:11 buymyhubs