Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some games show constant 0 fps #3

Open
pebeto opened this issue Jun 4, 2024 · 6 comments
Open

Some games show constant 0 fps #3

pebeto opened this issue Jun 4, 2024 · 6 comments
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@pebeto
Copy link
Owner

pebeto commented Jun 4, 2024

It seems that using the method defined in getFps we cannot calculate the frame-rate for [ULES00108] Midnight Club 3: DUB Edition. I don't know the reason, but I think it could be something related to the fact that it was designed with a vision to an old firmware (kernel 1.XX or 2.XX).

@pebeto pebeto added bug Something isn't working question Further information is requested labels Jun 4, 2024
@pebeto pebeto changed the title [ULES00108] Midnight Club 3: DUB Edition always show 59 fps Old games show 59 fps Jun 4, 2024
@pebeto
Copy link
Owner Author

pebeto commented Jun 4, 2024

The same occurs with Grand Theft Auto: Liberty City Stories.

@pebeto
Copy link
Owner Author

pebeto commented Jun 4, 2024

The same occurs with Dante's Inferno (not from an old firmware -- 5.XX kernel)

@pebeto pebeto changed the title Old games show 59 fps Some games show constant 59 fps Jun 4, 2024
@pebeto
Copy link
Owner Author

pebeto commented Jun 4, 2024

fps_counter gets stuck at the same value in those games. It looks to be related with the hook to sceDisplaySetFrameBuffer. The same occurs using sceDisplaySetFrameBufferInternal.
In my tests around Midnight Club 3: DUB Edition, the fps_counter variable increments by one when initial videos occur (both Rockstar logos and video intro). Looks like a double buffer.

@pebeto pebeto added the help wanted Extra attention is needed label Jun 4, 2024
@pebeto
Copy link
Owner Author

pebeto commented Jun 5, 2024

After some research, it seems that there are some games that use double buffering (an internal framebuffer allocated in the VRAM). Because of this, our effort to get a way to hook into this second framebuffer is beyond our capabilities (I could be wrong).

That's my hypothesis.

@pebeto pebeto changed the title Some games show constant 59 fps Some games show constant 0 fps Jun 6, 2024
@pebeto
Copy link
Owner Author

pebeto commented Jun 6, 2024

The same occurs with POPS. Next release will mention that FPS indicator doesn't work with that kind of executable.

@pebeto
Copy link
Owner Author

pebeto commented Jun 7, 2024

Old plugin CWCheat suffers the same issue with those games. I can confirm that this is a double buffer issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant