Author Topic: frame pacing performance issue PS1/adrenaline  (Read 416 times)

Offline kristianity77

  • End User
  • *
  • Posts: 10
    • View Profile
frame pacing performance issue PS1/adrenaline
« on: June 24, 2020, 08:26:19 AM »
Hi all.

Ive signed up to these forums to try and give some feedback and maybe get some help with Adrenaline and using PS1 games on a normal PS Vita.

I too and having frame pacing issues in a lot of PS1 games (its easier to spot on 60fps titles like Alundra, Castlevania SOTN, Rayman etc) where the screen when scrolling will suddenly do small hitches when it should be smooth.

I tried the Adrenaline_User replacement file suggested earlier in the thread thinking this might help but it didnt and this has been an issue with Adrenaline since it began to my knowledge. 

I uploaded a video which shows what happens here:

https://youtu.be/modTAQROKU8

Its easy to spot if the video is viewed at 60fps in youtube.

This forum seems to be the most active I can find regarding PS Vita so thought I'd bring my issue here for help!

Im not using any compressed games or anything like that and have made sure adrenaline is running at 333mhz also.

The strange thing is, I also own the digital version of this game officially (which boots from the vita screen and doesnt touch adrenaline at all)  and this has none of the hitches.  Its the same for Castlevania (hitches on adrenaline, doesnt on PSN release)

Offline chrisdevchroma

  • End User
  • *
  • Posts: 6
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #1 on: June 24, 2020, 09:54:49 AM »
Hi, you post has been split into a separate topic for more visibility as it isn't a issue specific with sharpscale.

Offline dots_tb

  • Refugee
  • **
  • Posts: 86
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #2 on: June 25, 2020, 06:39:43 AM »
Could you tell us a little more about the graphical settings and other information about the setup (plugins and such) being used?

Offline kristianity77

  • End User
  • *
  • Posts: 10
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #3 on: June 25, 2020, 03:36:43 PM »
Could you tell us a little more about the graphical settings and other information about the setup (plugins and such) being used?

I've tried with every graphic setting off as a last resort.  So everything in adrenaline original .  There are no plugins in adrenaline I basically have nothing but a clean install of adrenaline.  It's a ps vita slim.  Sd2vita.  400gb SanDisk card (have tried others too to rule the sd card out).

I've also tested on a vita oled and get the same issues.  There is no stutter on psp games in adrenaline, they are totally fine.

I've had my vita years and to my knowledge this has always been an issue ever since adrenaline came out.  It was made "better" in the latest but one release (can be seen on release notes) but it's not properly fixed.

It's an easy spot on ps1 games that are 2d and run at 60fps.  So games like Alundra, Castlevania, klonoa, Megaman titles, einhnader, rtype delta,Rayman are all easy to spot the issue.

It's not as easy to see on 30fps titles because the frame rate is halved as standard, although it's still evident.
« Last Edit: June 25, 2020, 03:42:30 PM by kristianity77 »

Offline zy

  • End User
  • *
  • Posts: 6
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #4 on: June 25, 2020, 09:34:04 PM »
Hi OP,

Please take a look at sharpscale topic
There a user by the name crueltott uploaded a new version of adrenaline that fixed the pacing for castlevania sotn.

Let us know if that version he posted (in page 3 or 4) helps out

https://forum.devchroma.nl/index.php/topic,112.45.html
« Last Edit: June 25, 2020, 09:37:54 PM by zy »

Offline kristianity77

  • End User
  • *
  • Posts: 10
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #5 on: June 25, 2020, 11:45:12 PM »
Hi.  I tried that when I seen it a few days ago.  It didn't work for me I still had the issues.  It wasn't a new version of adrenlaine I don't think, just one small file to replace

Offline zy

  • End User
  • *
  • Posts: 6
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #6 on: June 26, 2020, 01:29:58 AM »
It worked for me and others
Castlevania sotn is pixel perfect and the frame pacing is flawless.

Make sure you have the latest version of adrenaline and follow the simple instructions that crueltott layed out in that post.

Offline kristianity77

  • End User
  • *
  • Posts: 10
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #7 on: June 26, 2020, 11:13:53 AM »
Aren't you all using ps vita TVs though?  I have the latest adrenaline installed and all I did was change the adrenaline_user.suprx file that he has on his link.  I then restarted my vita, tried adrenaline again and have exactly the same problem.  This is both an oled and a slim. 

Edit

Do you have to have the sharpscale plugin installed also for this to work? On a regular vita, not a vita tv?
« Last Edit: June 26, 2020, 11:36:32 AM by kristianity77 »

Offline kristianity77

  • End User
  • *
  • Posts: 10
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #8 on: June 26, 2020, 01:11:45 PM »
Im assuming people are having none of the issues im having an now ive run out of ideas to try and fix this.  Ive tried the fixes esehwere in the forum and they just do not work.

Can someone else with a vita that doesnt think they are having issues please try a game that is really easy to spot the frame pacing issues.  Rayman 1 is a perfect example.  If someone tries this and gets a 60fps smooth lock then I really need to know what you are doing to get there as I can do nothing to solve issues on a load of games.

https://youtu.be/wgM3mjkSfvk

Thats Rayman, viewed in 60fps to make it easier to see the problems

With regards to Alundra and Rayman this is what I have tried:

Both games USA Versions from PKGJ - frame pacing issues
Downloaded ISO files (USA) converted to .PBP files with little to no compression to rule that out - no difference
Disabled all plugins on vita system - no difference.
2 different Micro SD Cards - No difference
222/333 speed switches on PSP - no difference
Messed with all official settings and adrenaline settings - no difference
Two Vitas tested on, a slim and an oled - no difference.

Both files tested on an original PSP3000 - Both games flawless, no Frame Pacing issues at all.

Am stuck :D
« Last Edit: June 26, 2020, 04:50:32 PM by kristianity77 »

Offline kristianity77

  • End User
  • *
  • Posts: 10
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #9 on: June 26, 2020, 05:54:36 PM »
I know that anyone that reads this part is going to think im nuts and hasnt got a clue what they are talking about, but I believe Ive figured out the reason for my stutters, but not how to fix them.

Its sound related.

Hear me out.

Alundra - the stutter is easy to see when going left to right accross the screen, in the opening area once the game starts proper.  Whats not so easy to spot, is that the stutter is linked to the sound.  A couple of drum beats and symbols that play at the same time, cause the video stutter.  Its that accurate, I can now predict where the stutter comes in, and it does , 100% of the time.

So I thought then that this may be an issue with SD card read speeds etc.  But again, provided you are in a PS1 game that doesnt require a load (Alundra, you can run around the village, with the music and sound effects playing) without loading.  So all of that must sit in memory.  You can test this because you can remove the SD2Vita, and the game will carry on playing, and continue to stutter in the same place, due to sound.  So it cannot be an SD issue?  I think, although im no expert in the slightest, that video stutters, are caused by sound.  At least in my case!

But it would be nice if people could test what ive tested, to see if they dont get it.

Offline dots_tb

  • Refugee
  • **
  • Posts: 86
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #10 on: June 27, 2020, 01:25:46 PM »
Out of curiosity, I attempted to utilize CoreUnlocker80000H under the theory that the pops audio thread is fighting with the Adrenaline threads. Assuming that the Adrenaline is even locked to the user cores..

https://forum.devchroma.nl/index.php/topic,203.0.html

So please install CoreUnlocker80000H and the attached module. All this does is set the affinity masks of Adrenaline threads to the one specified in that thread. It should also have CruelTott's changes.

I have no idea even if I did it properly, since not sure how to measure the cores in Adrenaline and also I am a baka and can't even see the stutters.

Also let me know if there any other issues, since compiling Adrenaline is a mess.
« Last Edit: June 27, 2020, 01:34:31 PM by dots_tb »

Offline kristianity77

  • End User
  • *
  • Posts: 10
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #11 on: June 29, 2020, 10:45:59 AM »
Out of curiosity, I attempted to utilize CoreUnlocker80000H under the theory that the pops audio thread is fighting with the Adrenaline threads. Assuming that the Adrenaline is even locked to the user cores..

https://forum.devchroma.nl/index.php/topic,203.0.html

So please install CoreUnlocker80000H and the attached module. All this does is set the affinity masks of Adrenaline threads to the one specified in that thread. It should also have CruelTott's changes.

I have no idea even if I did it properly, since not sure how to measure the cores in Adrenaline and also I am a baka and can't even see the stutters.

Also let me know if there any other issues, since compiling Adrenaline is a mess.

Hi

I tried this and it didnt make any difference,  seems identical to before.

Offline Animus

  • End User
  • *
  • Posts: 2
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #12 on: July 03, 2020, 03:43:04 PM »
Can't test at the moment, but have you tried:

1. One of the Vita overclocking plugins and force CPU to 444 Mhz. Does it reduces or worsens the stuttering?
2. Format SD card to FAT32?
« Last Edit: July 03, 2020, 03:49:48 PM by Animus »

Offline kristianity77

  • End User
  • *
  • Posts: 10
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #13 on: July 03, 2020, 11:47:55 PM »
Can't test at the moment, but have you tried:

1. One of the Vita overclocking plugins and force CPU to 444 Mhz. Does it reduces or worsens the stuttering?
2. Format SD card to FAT32?

It's nothing to do with the sd card as you can see the stuttering with the sd card pulled out so that rules that out completely.

I've tried all sorts of overclocking etc it makes no difference.  It's 100 percent tied to sound.  Something to do with the sound at certain times is causing the stutter.  I can safely say now with the troublesome games with stutter I can spot it coming and see the patterns. It happens on an oled or an LCD vita.  It doesn't happen on the official PSN releases bought from the store (but these don't use adrenaline). It has to be an adrenaline issue as games work perfectly without it (official PSN ps1 games)

Troublesome titles that stutter with adrenaline but not official PSN releases:

Alundra
Rayman
Einhander

« Last Edit: July 03, 2020, 11:49:41 PM by kristianity77 »

Offline Animus

  • End User
  • *
  • Posts: 2
    • View Profile
Re: frame pacing performance issue PS1/adrenaline
« Reply #14 on: July 04, 2020, 02:28:07 PM »
Does stuttering happen with all versions of Adrenaline? Did you try early versions from here:

https://github.com/TheOfficialFloW/Adrenaline/releases?after=v6