Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Avoid the tinny audio pause while using rewind
09-19-2016, 03:37 PM
Post: #1
Avoid the tinny audio pause while using rewind
The rewind(which creates temporary save states in ram)could be useful but the tinny audio pause while creating save states(which is automatic between x number of frames)is kinda annoying.

Is there is some way to avoid that?

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
09-23-2016, 02:40 AM
Post: #2
RE: Avoid the tinny audio pause while using rewind
Well, it has to pause things to take a snapshot, but the better your hardware, the faster that pause should be. Maybe there's some performance issue causing it to take longer than expected - this is on the hardware in your signature, right?

-[Unknown]
Find all posts by this user
Quote this message in a reply
09-23-2016, 04:50 AM
Post: #3
RE: Avoid the tinny audio pause while using rewind
(09-23-2016 02:40 AM)[Unknown] Wrote:  this is on the hardware in your signature, right?

Yes.
The game is also loaded in ram

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
09-24-2016, 04:20 PM
Post: #4
RE: Avoid the tinny audio pause while using rewind
So, I'm using a 3770 3.4Ghz, GTX 950, and 16GB of RAM on Windows 7 64-bit SP1. So not all that different from your specs.

I set the frequency to every frame, and it spent 24% of its time dealing with savestates. This is probably why there's sometimes pauses. A lot of that time is just spent on memory access - but I do see an opportunity to offload some work onto another thread. Let's see if it helps...

-[Unknown]
Find all posts by this user
Quote this message in a reply
09-24-2016, 05:01 PM
Post: #5
RE: Avoid the tinny audio pause while using rewind
I set it to every 10 seconds(600 on 60fps game)and I still hear the half second pause every 10 seconds

Also I don't know what is the difference between the rewind=>save state to ram and placing ppsspp on my ram drive and saving there but normal save states are MUCH more notable than rewind save states(even tho both are saved in ram)

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
09-25-2016, 12:19 AM
Post: #6
RE: Avoid the tinny audio pause while using rewind
Rewind snapshots are handled kinda differently, i.e.:

1. Currently, no screenshot is captured, which avoids a GPU perf penalty. Files come with a screenshot.

2. The state is compressed differently. Rewind uses a base (uncompressed) screenshot every X states, and delta compresses by block for the non-base states. Files use Snappy to compress the one state in isolation.

3. Rewind snapshots are stored in a ringbuffer, to avoid reallocating memory. Files reallocate each time.

4. Files rename and swap with the old state and try to handle disk full. Rewind snapshots ignore all this.

The "core" of it is still the same, though. It's just that files have more wrapped around them, basically.

As for the pause - for me, the last change helped, and I made another change which reduces CPU burn in states more. Unfortunately, I was still able to notice a hiccup or two - differently not a whole half second or anything, I'd say more like a tenth of a second or something. Still bad, but I'm not sure what's causing it.

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: