Commit graph

328 commits

Author SHA1 Message Date
Henrik Rydgård
5f9767d19e Remove misleading log 2018-04-29 09:45:34 +02:00
Henrik Rydgård
687b5f92b1 Limit the flip delay in the other direction to try to work around #10763. 2018-04-20 11:49:38 +02:00
Henrik Rydgård
c1e05ae861 Let's not do immediate flips in non-buffered. Should help #10395 2018-03-11 17:42:16 +01:00
Unknown W. Brackets
f9750dd137 Display: Avoid limiting FPS without a clear.
A bit of a dirty heuristic to avoid the slowdown in #8538.
2017-12-26 19:37:40 -08:00
Unknown W. Brackets
1776726bd6 Display: Only reapply state on load.
Shouldn't be needed on save.
2017-12-09 21:54:48 -08:00
Unknown W. Brackets
6f99383733 Display: Reset cycle counter on load state. 2017-12-09 21:53:26 -08:00
Henrik Rydgård
54ff4c8822 Avoid multiple flips per frame, fixes immediate flip for God of War 2017-12-06 14:29:08 +01:00
Henrik Rydgård
4c720631c1 Add mitigation for games like GTA that never call sceDisplaySetFramebuf 2017-12-06 14:29:08 +01:00
Henrik Rydgård
522de63eed Flip immediately if that's OK. This can save up to a frame of graphics latency, in games that display "immediately" instead of latched. 2017-12-06 14:29:08 +01:00
Unknown W. Brackets
b36a2c608b Display: Correct max FPS limiting skew.
We were letting a percentage of too frequent flips through, causing
sometimes much higher FPS still.  Improves performance in GoW.
2017-12-03 07:01:05 -08:00
Unknown W. Brackets
79cb51aa91 UI: Show slow message based on refresh rate.
It was always showing because it wasn't divided by 1000.
2017-07-01 16:21:47 -07:00
zminhquanz
7347c28464 Fixes 2017-06-15 21:43:41 +07:00
zminhquanz
e2c9fa7f57 Fixes 2017-06-15 12:15:56 +07:00
zminhquanz
bb5114bc84 Add 1 line 2017-06-12 13:41:04 +07:00
zminhquanz
98586e0af8 Oops 2017-06-11 20:42:54 +07:00
zminhquanz
1fb31c73cb Fix running slow message , it's always show when game run stable above 98% speed 2017-06-11 19:26:17 +07:00
Unknown W. Brackets
82beb726fc GE Debugger: Record init state and display buf.
Some things are now visible, but still drawing wrong...
2017-06-04 10:38:52 -07:00
Henrik Rydgård
6d58a8d8f6 Move up Software Rendering to Rendering where it belongs. Makes it easier to turn it off if enabled by accident. Also warn if used and it runs slow. 2017-05-18 14:56:10 +02:00
Henrik Rydgård
70b000bba7 Remove slowness warning if software renderer is enabled, it'll show on almost everything. 2017-05-16 12:27:40 +02:00
Henrik Rydgard
6313d2a7af Make the slow framerate warning yellow. Don't show it if running at "alternate speed". 2017-04-03 20:58:51 +02:00
Unknown W. Brackets
51fe978fe1 Core: Clear debug stats on frame start.
This way we can log drops and debug stats at the same time - oops.
2017-04-02 14:49:18 -07:00
Henrik Rydgård
f011ac39bf Merge pull request #9496 from unknownbrackets/idle-timing
Core: Reduce frame idle delay
2017-03-25 08:55:47 +01:00
Unknown W. Brackets
1fdf7c5373 UI: Skip game bg lookup without game.
This avoids trying to identify a file without a name.
2017-03-24 22:15:22 -07:00
Unknown W. Brackets
cf37da47ba Core: Reduce frame idle delay.
Otherwise we only have a single vblank of time left.  Sometimes that's not
enough.  Effectively, this makes us only sleep one vblank at a time.
2017-03-24 21:55:24 -07:00
Henrik Rydgård
33db883024 Merge pull request #9492 from unknownbrackets/frame-drops
Allow debug logging of frame drops
2017-03-24 20:37:18 +01:00
Unknown W. Brackets
01703f7ffc Core: Add UI option to enable frame drop logging. 2017-03-23 19:27:16 -07:00
Unknown W. Brackets
47565e1a9e Core: Add a feature to log stats on any frame drop. 2017-03-23 19:02:19 -07:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
e78d85f386 Don't warn about slowness in debug builds 2017-03-14 10:40:18 +01:00
Unknown W. Brackets
ad8a0e6cc0 Add an ini setting to hide performance warnings. 2017-03-11 19:31:00 -08:00
Unknown W. Brackets
10ad7e1b5b Detect when the game is running slow, and warn.
Many users assume that sound emulation is broken, and don't realize they
may need to tweak their settings - we don't even show the FPS counter by
default.
2017-03-11 19:24:00 -08:00
Henrik Rydgard
9bb81a24c0 Fix bug where we'd reload the post shader information every frame. Fixes #9410 2017-03-11 12:25:43 +01:00
LunaMoo
33282939fb Make sure it doesn't bother when buffer effects are skipped 2017-03-05 21:11:40 +01:00
LunaMoo
2b0ab12c4d Add PostShader option to force 60fps for animated effects 2017-03-05 15:04:22 +01:00
Henrik Rydgard
1c47778b4e Get rid of outdated special case for gfx logs. Make some DEBUG things VERBOSE. 2016-09-10 17:16:53 +02:00
Unknown W. Brackets
ee3c8b6ea5 Display: Don't count a forced NEXTFRAME as a flip. 2016-08-06 16:47:33 -07:00
Unknown W. Brackets
3ca014858f Display: Flip at least once every 10 frames.
If we don't do this, the FPS doesn't update, and on some platforms, we
never read input.  This can basically mean that PPSSPP will hang.
2016-08-06 16:32:57 -07:00
Henrik Rydgard
2251c9c8f7 Help #8816 by partially reverting #8753. Does not match the tests though. Firmware difference? 2016-07-24 22:12:17 +02:00
Unknown W. Brackets
842e450965 Display: Correct default brightness, add reporting.
Not sure if any games use hold/resume in a way that ought to work.
Display didn't seem to react to them being called.
2016-05-16 22:33:50 -07:00
Unknown W. Brackets
d0dc03f359 Display: Wait for vblank when setting mode.
Some games call this even when not needed, and it turns out to have an
important behavior.
2016-05-16 22:02:21 -07:00
Unknown W. Brackets
9ed604f9c8 Display: Return 1 during the vsync period.
Timing is based on manual tests, where the vsync signal is near the end of
the vblank.  Curiously, it stops right before the vblank stops, reliably.
2016-05-15 23:46:46 -07:00
Unknown W. Brackets
597824eec6 Display: Add validation/report to set mode.
This seems to be involved in using the video out cable, but fails for
anything but these fixed parameters in normal situations.
2016-05-15 22:16:31 -07:00
Unknown W. Brackets
5e8e2d5e56 Display: Allow only immediate address changes.
It seems you must latch a change to stride/fmt first, which basically
makes sense.  Otherwise it would revert, I suppose.
2016-05-15 16:42:25 -07:00
Unknown W. Brackets
249a85b7e0 Display: Validate framebuf parameters. 2016-05-15 16:38:00 -07:00
Unknown W. Brackets
44cee09adc Dsiplay: Initialize the framebuf params better. 2016-05-15 16:29:58 -07:00
Unknown W. Brackets
958d7f0944 Display: Record bufw/fmt even when display is off.
These are returned by sceDisplayGetFrameBuf().
2016-05-15 15:55:04 -07:00
Unknown W. Brackets
26e9acee4b Display: Skip transitions between off/on in FPS.
We're just trying to detect frequent flips, so off/on doesn't play into
it.
2016-05-15 15:54:04 -07:00
Henrik Rydgard
727058fc27 Remove an entry from GPUStats that didn't really belong. 2016-04-02 11:06:05 +02:00
Henrik Rydgard
ad0da06f65 Forgot to remove these from the debug string. 2016-04-02 10:36:51 +02:00
Henrik Rydgard
5ef608fa50 GPU stats: Have each backend format its own string. 2016-03-31 10:17:02 +02:00