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

D3D vsync prevents unthrottle from working right (plus, fixed hotkey bug) #7929

Closed
vsub opened this issue Aug 29, 2015 · 8 comments · Fixed by #12659
Closed

D3D vsync prevents unthrottle from working right (plus, fixed hotkey bug) #7929

vsub opened this issue Aug 29, 2015 · 8 comments · Fixed by #12659
Labels
D3D9 Direct3D 9
Milestone

Comments

@vsub
Copy link

vsub commented Aug 29, 2015

1.If you set any hotkey for "Save State",pressing F2 anywhere except the game pause screen,it will bring the language selection menu(I check the source but I didn't find anywhere anything about hotkey and that many)

2.If VSync is enabled while the video backend is Direct3D9,the unthrottle\alternative speed will be limited to 200% on 30fps games and 100% on 60fps games and to disable the vsync effect,you have to disable it and restart ppsspp(it won't work by just disabling it).
In my nvidia control panel,vsync is set to "Use the 3D application settings")

@lordemort
Copy link

maybe you could try this
http://buildbot.orphis.net/ppsspp/
find the newest version
hope it helps

@vsub
Copy link
Author

vsub commented Aug 31, 2015

I always try the lasted version of anything before posting.
And yes,I did tried the lasted beta 2 days ago and the current latest beta but both problems still exist.

When vsync is enabled and direct3d9 is used while running the cube.iso demo,the unthrottle\alternative speed does nothing
Restarting the game,doesn't help,you must restart ppsspp after disabling vsync to get above 60fps

@hrydgard
Copy link
Owner

The hotkey problem sounds really strange, I'll take a look soon.

D3D vsync problem is known, although I forgot about it, will see what I can do, might be tricky due to how D3D works. We might have to resort to the same type of unthrottle we use on Android, that is, to actually skip frames instead of just drawing them faster.

@hrydgard hrydgard changed the title Found 2 small bugs Found 2 small bugs - hotkey and D3D vsync Aug 31, 2015
@hrydgard
Copy link
Owner

I've tried to reproduce the hotkey problem but have so far failed... It seems normal.

@vsub
Copy link
Author

vsub commented Sep 23, 2015

This is what I just did.
1.Downloaded the latest x86 and x64 versions(tried both and I didn't configure anything)
2.From the menu above Game Settings=>Control Mapping
3.Clear all and set F1 for Save State hotkey(I didn't configure any other key)

Now pressing F2 anywhere outside a game,ppsspp will display the language selection list.
It is also possible that ppsspp tries to display the list like ingame but since the list can't be displayed while ingame(Game Settings=>Language),nothing happens

It's possible to see what ppsspp tries to do while pressing the hotkey(what code is trying to execute)

@hrydgard hrydgard added this to the v1.8.0 milestone Jan 8, 2019
@hrydgard
Copy link
Owner

hrydgard commented Jan 8, 2019

Tagged to investigate for 1.8.0

@hrydgard
Copy link
Owner

hrydgard commented Feb 6, 2019

Found the language menu issue, committing fix.

@hrydgard
Copy link
Owner

hrydgard commented Feb 6, 2019

I'm bumping the D3D9 problem up to 1.9.0, many more issues have higher priority...

@hrydgard hrydgard modified the milestones: v1.8.0, v1.9.0 Feb 6, 2019
@hrydgard hrydgard changed the title Found 2 small bugs - hotkey and D3D vsync D3D vsync prevents unthrottle from working right (plus, fixed hotkey bug) Feb 6, 2019
@hrydgard hrydgard added the D3D9 Direct3D 9 label Feb 6, 2019
@hrydgard hrydgard modified the milestones: v1.9.0, v1.10.0 Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D3D9 Direct3D 9
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants