beetle-psx-libretro icon indicating copy to clipboard operation
beetle-psx-libretro copied to clipboard

Constructor Flickering on Beetle PSX Cores

Open TradeDraft opened this issue 4 years ago • 14 comments

Description

Flickers during Gameplay.

Video Showing It:

https://www.youtube.com/watch?v=qnDDLNf-mwc

and

https://www.youtube.com/watch?v=J2NKOj7s1Ls

Expected behavior

To be no Flickers at all

Actual behavior

Video Showing It:

https://www.youtube.com/watch?v=qnDDLNf-mwc

and

https://www.youtube.com/watch?v=J2NKOj7s1Ls

Steps to reproduce the bug

Just Load into Game Normally

Bisect results

[Try to bisect and tell us when this started happening]

Version/Commit

Latest of Both Beetle PSX and Beetle PSX HW

Core options

Default Options

Environment information

  • Frontend: Retroarch 1.9.0
  • OS: Windows 10 Home
  • Compiler: [In case you are running local builds]
  • GPU: Intel i7-8700t 2.40ghz

TradeDraft avatar Aug 16 '20 03:08 TradeDraft

I'm guessing the problem is that the hardware renderer scanout framebuffer all at once instead of following the scanlines. So this is a vsync emulation bug. I'll try to resolve this in my branch.

xzn avatar Aug 24 '20 00:08 xzn

Here is a Update Video showing some Flickering is gone but Not All.

Using the HW Core

https://www.youtube.com/watch?v=fQZkII_yEkA

TradeDraft avatar Aug 24 '20 06:08 TradeDraft

Can you manually install core? ~~Give this a try.~~

The ground texture is still weird though. I'm not good at writing shaders so no quick fix from me for now :(

xzn avatar Aug 26 '20 14:08 xzn

Okay I did add that Core Manually and the Same Thing happens as Video Shows:

https://www.youtube.com/watch?v=Sc58H8Oc__0

Is there somewhere I can ask about Shaders for this?

TradeDraft avatar Aug 27 '20 05:08 TradeDraft

As a serious suggestion just use software mode for now.

After changing the setting, close and reopen the game and it should works.

OTOH where did you install the core? Did you overwrite the existing file (after backing it up)? It fixed the issue on my end so I don't know why it doesn't work you..

xzn avatar Aug 27 '20 10:08 xzn

I have tried the Sofware Mode and the Normal Beetle PSX Core and Same Thing happens with the Flickering. Even does it in the Menu Screen when you choose how you going to play and who is Playing.

I just overwrited it from the Zip FIle on 1 and Anoher thru the Updated in the Retroarch Program.

TradeDraft avatar Aug 27 '20 10:08 TradeDraft

The official core has not been updated, updating through the in-game menu will not work.

The one I uploaded is a work in progress but the flickering should have been fixed. Extract the file mednafen_psx_hw_libretro.dll to C:\Users\[username]\AppData\Roaming\RetroArch\cores to test it out.

Sorry about the confusion :o

xzn avatar Aug 27 '20 11:08 xzn

Yeah I used the Core File from the Zip File you linked above?

Put it in the RA 1.9.0 Core Folder but still getting the Ground Flickering

TradeDraft avatar Aug 27 '20 11:08 TradeDraft

Interesting, do you have save state to the level you are playing? I'm not getting any more flickering on my end so I don't know what's going on..

:o

xzn avatar Aug 27 '20 12:08 xzn

I am on 1st Level.

Tried using a Saved Game and Now I get Flicking in the Menu on the Right.

The Ground 1 has stoppee.

Would I need to change anything in the Options?

TradeDraft avatar Aug 27 '20 13:08 TradeDraft

I suggest restoring the original official core. I can't really help you since I can't reproduce the problem on my end. Sorry.. :(

xzn avatar Aug 27 '20 19:08 xzn

I had that Problem at home even. We have few different Computers and there could be Difference Performance between them.

Can be very Annoying.

So would then Updates of the Core in future be on the Buildbot?

TradeDraft avatar Aug 28 '20 06:08 TradeDraft

~~mednafen_psx_hw_libretro.zip~~ [outdated]

I've managed to get rid of the bad ground texture for Vulkan at 1x resolution scale. It now looks as good as software mode but without flickering.

image

If you find installing a custom core troublesome I recommended the latest Duckstation since it appears to not flicker at all.

P.S. for the update to be on build bot I have to submit a PR and for them to approve it. The code is a bit messy though and need refactoring so it will be a while.

Settings screen: image

xzn avatar Aug 31 '20 20:08 xzn

Tried that and It worked Great. Though the Menu on Right Flickers when you open a Menu Up

I tried Duckstation but I want to use the PS1 Mouse with this game and Can't do that on the Core yet.

I been using PSX ReArmed at the Moment

TradeDraft avatar Sep 01 '20 10:09 TradeDraft