Currently, there are 0 users and 0 guests visiting this topic.
Viewing 20 posts - 1 through 20 (of 30 total)
  • Author
    Posts
  • #121998
    randr
    Keymaster
    @randr
    ModeratorMember

    I have been seeing a VERY slight micro stutter on some tables maybe 4-6 tables total out of like 700 :wacko:

    Anyways @Thalamus suggested adding a registry key for “MinPhysloopTime” =Dword:00000019 and so far the trouble tables are perfectly smooth and dare i say never seemed to be better! anyone think this will be a problem for future? and if not WHY is this not common knowledge?

    will keep testing but so far so good. :heart:

    Edit: UPDATE Its so good in fact i get zero micro stutter even if in windowed(exclusive turned off) WTF?!  there must be a very bad side effect to doing this i have not seen yet :)

    ********************************************************
    Messing with the VPinball app and push notifications.
    So if you haven't downloaded app yet what are you waiting for!?
    for IOS and Android

    ********************************************************

    #122011
    rothbauerw
    Moderator
    @rothbauerw
    ModeratorContributorMembervip

    So if it’s so important, why doesn’t it install with vp?

    Current Project: Perpetual updates of VPX physics.

    #122012
    outhere
    Moderator
    @outhere
    MemberContributorvipModerator

    Where do you add this because I search my registry for this (MinPhysloopTime) and nothing came up

    Found this

    https://github.com/vpinball/vpinball/blob/master/txt/RegistryKeys.txt

    #122013
    randr
    Keymaster
    @randr
    ModeratorMember

    You need to add it at hkey_current_user\software\visual pinball\vp10\player

    ********************************************************
    Messing with the VPinball app and push notifications.
    So if you haven't downloaded app yet what are you waiting for!?
    for IOS and Android

    ********************************************************

    1 user thanked author for this post.
    #122032
    Jesperpark
    Participant
    @jesperpark
    Member

    When did this show up??  Like above people had said kind of Important should be standard no?

    It’s great that works but man keeping up with cutting edge changes is hard :wacko:

    #122033
    randr
    Keymaster
    @randr
    ModeratorMember

    I don’t think it’s anything new but… if you see a few tables with that slight micro stutter this is a way to solve it. Or at least did for me.

    ********************************************************
    Messing with the VPinball app and push notifications.
    So if you haven't downloaded app yet what are you waiting for!?
    for IOS and Android

    ********************************************************

    #122036
    Jesperpark
    Participant
    @jesperpark
    Member

    For all I can remember which is up to last week I did it already, will have to check and see.  Thanks for the tip though

    #122038
    Thalamus
    Moderator
    @thalamus
    ContributorMemberModerator

    Was added to 3323 – so it isn’t that new. Again, a hack by @djrobx

    Here I still have micro stutter in small bursts, maybe for a second, on a few tables. Probably related to something else that I haven’t figured out yet.

    #122050
    roccodimarco
    Participant
    @roccodimarco
    Member

    So I have been going nuts recently on rascals tables I get this super micro stutter ONLY when the ball is launched at the top of the table. I noticed it with Raven, and when asked no one had a similar problem.

    Today, I loaded up his ready aim fire table and again, a micro stutter. Irritated, i started moving pieces off one by one till I found what was causing it. I tracked it down to the primitive at the top of the launch. I believe it was primitive 1.

    I was trying a bunch of different things but when I switched off the setting and I’m drawing a blank now (I know it says switchable in script) the stuttering goes completely away!

    And from what I can tell it has no affect on the tables. Not sure if you are running into the same thing as me, but that was my fix. Now to try yours tomorrow!

    #122135
    randr
    Keymaster
    @randr
    ModeratorMember

    No the tables I was having issues with were potc, radical and a couple em’s I looked over tables for any primitives not set to toy or colidable. My issue for sure is different.

    ********************************************************
    Messing with the VPinball app and push notifications.
    So if you haven't downloaded app yet what are you waiting for!?
    for IOS and Android

    ********************************************************

    #122206
    DJRobX
    Moderator
    @djrobx
    MemberModerator

    Anyways @thalamus suggested adding a registry key for “MinPhysloopTime” =Dword:00000019 and so far the trouble tables are perfectly smooth and dare i say never seemed to be better! anyone think this will be a problem for future? and if not WHY is this not common knowledge?

    It’s not common knowledge because the feature is VERY experimental, in the truest sense of the word.   I’ve been running it on my cab for a very long time and have been happy with the result, though.

    It is intended to reduce flipper latency when vsync is enabled.    The concept is to anticipate when vsync will occur, and keep checking for flipper presses right up until then, instead of blindly going into an idle state waiting for vsync after the frame has been rendered.   To accomplish this, it inserts small delays to “smooth out” the physics steps so they’re closer to real time instead of doing everything in a bunched up way between vsyncs.

    The risk of using it is mainly that it will cause stutters if you use too big a value.   If you’re saying it’s eliminating stutters for you, that’s even better news.

    #122210
    Draifet
    Participant
    @draifet
    Member

     

    I want to try it cause sometimes I have micro stutter too.

    I bet I did it wrong, please do a mini tutorial for noobs.

    Thanks.

    #122228
    randr
    Keymaster
    @randr
    ModeratorMember

    @djrobx

    i will say the micro stutter was very very minor. But it was there on a few tables for sure! Even a EM and I looked these tables over up and down and didn’t see any issues with them that would cause this. The “hack” or fix if you will solved it so well that I can play any table now non exclusive and I cannot even tell the difference! It’s crazy. :)

    very happy with the fix and seems to be no side effects that I see yet.

    Thank you for all you do btw!

    ********************************************************
    Messing with the VPinball app and push notifications.
    So if you haven't downloaded app yet what are you waiting for!?
    for IOS and Android

    ********************************************************

    #122230
    GAH1068
    Participant
    @gah1068

    Is base in Hex or Decimal for this Reg key?

     

    #122232
    randr
    Keymaster
    @randr
    ModeratorMember

    hex

    ********************************************************
    Messing with the VPinball app and push notifications.
    So if you haven't downloaded app yet what are you waiting for!?
    for IOS and Android

    ********************************************************

    #122235
    randr
    Keymaster
    @randr
    ModeratorMember

    @draifet

    yeah you want the new key added in player with the rest of player keys.

    ********************************************************
    Messing with the VPinball app and push notifications.
    So if you haven't downloaded app yet what are you waiting for!?
    for IOS and Android

    ********************************************************

    #122240
    Draifet
    Participant
    @draifet
    Member

    When I enter the 00000019 value, when i open again the key, the Hex values is 19 again, I did something wrong for sure.

    I have MinPhysloopTime under MechTilt.

    #122242
    randr
    Keymaster
    @randr
    ModeratorMember

    Should look like this

    0E072EEF-A64F-4987-8CE2-F0EA633DD7A5

    ********************************************************
    Messing with the VPinball app and push notifications.
    So if you haven't downloaded app yet what are you waiting for!?
    for IOS and Android

    ********************************************************

    #122243
    Thalamus
    Moderator
    @thalamus
    ContributorMemberModerator

    This is what was written about it previously :

    “Player” / “MinPhysLoopTime” artificially lengthen the execution of the physics loop by X usecs, to give more opportunities to read changes from input(s) (mainly useful if vsync is enabled, too) (try values in the multiple 100s up to maximum 1000 range, in general: the more, the faster the CPU is, recommended tuning factor is 900 (90%))

    – I’m still having troubles understanding how we ended up with hex 19. Lower is better – if PC can handle it ? … or ? @djrobx

    Wouldn’t it make sense to have some kind of value related to the vsync ? Lets say half, 1/4. Not over ? I understand that this is experimental, and that is what I want to do, but, experiment with a bit more understanding of why I would pick one value over the other.

    #122245
    Draifet
    Participant
    @draifet
    Member

    Ok thanks, now is working I think, I will try for a few days. If I run tables with uncapped frame rate and Gsync enabled is useless?

Viewing 20 posts - 1 through 20 (of 30 total)
  • You must be logged in to reply to this topic.

©2021 VPinBall.com

Log in with your credentials

or    

Forgot your details?

Create Account

The Vpinball app

FREE
VIEW