hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.37k stars 2.18k forks source link

Retroarch ppsspp tearing, all games are running at 60fps and no option to change 30fps/60fps #15407

Open gabberhead opened 2 years ago

gabberhead commented 2 years ago

Game or games this happens in

all games

What area of the game / PPSSPP

it happens too all games

What should happen

months ago, ca 3 or 4 months, there were no tearing in the games and i could switch from default 30fps games to 60fps. today i tried to play a game, and saw the tearing andd testet more games, and saw they are all running at 60fps and unter options there is no option to switch from 30fps default to 60fps and back. but i know there was a option for that months ago, because i tested the games how the are running. what happend? why it was removed?

Logs

No response

Platform

libretro / Retroarch

Mobile phone model or graphics card

intel uhd

PPSSPP version affected

the newest retroarch build with up to date core

Last working version

few months ago. i dont know which version it was

Graphics backend (3D API)

Direct3D 11

Checklist

unknownbrackets commented 2 years ago

15210 forced that setting to always render duplicate frames to fix some audio path issues.

The libretro interfaces were really designed for weaker systems (the SNES is 1% the power of the PSP, the PS1 is 10%), and so libretro does timing based on audio (a path we already tried years ago and moved away from because it works poorly for PSP emulation.) It's also hard for them to change the interfaces because so many of the weaker systems that emulate fine that way would have to be reworked.

PPSSPP runs slower and less smoothly under libretro, so I would recommend running PPSSPP proper.

That said, maybe the setting can be restored so you can choose between audio issues and tearing. You might also be able to adjust settings in your graphics driver to affect vsync/tearing.

-[Unknown]

gabberhead commented 2 years ago

the tearing i have only with ppsspp libretro with retroarch. no tearing problems with duckstation or flycast or any other core wich i use. so i think this setting for always 60fps is the cause of the tearing, because with ppsspp standalone, i have no tearing and months ago also not with retroarch.

crashGG commented 1 year ago

The d3d11 of retroarch has an option VSync Swap Interval,The official description is: Use a custom swap interval for VSync. Effectively reduces monitor refresh rate by the specified factor. 'Auto' sets factor based on core-reported frame rate, providing improved frame pacing when running e.g. 30 fps content on a 60 Hz display or 60 fps content on a 120 Hz display. If ppsspp can be well connected with this option,I think, maybe it should be able to solve the problem of this topic perfectly.