Jump to content



Photo
* * * * * 1 votes

Newbie Guide to VPX Performance and Ball Stutter


  • Please log in to reply
133 replies to this topic

#81 Kernel

Kernel

    Enthusiast

  • Members
  • PipPipPip
  • 134 posts

  • Flag: ---------

  • Favorite Pinball: Stones 'n Bones

Posted 26 September 2016 - 03:28 PM

Ok, but I thought that 240 FPS were enough. How may FPS do you have on your cfg?



#82 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 26 September 2016 - 06:16 PM

Hey Kernel... I've actually never bothered to check.  It's been mentioned a couple times that FPS is not the best gauge as you can have stutter and lag even with good FPS.  I just measure it with my eyes as I play.  If there is lag then I try to isolate a problem.



#83 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,985 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 26 September 2016 - 07:48 PM

I just wonder if using a 2 core put is his problem, specifically with only VPX. Has anyone else been able to run VPX nicely with only a 2 core cpu?



#84 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 26 September 2016 - 09:05 PM

Yeah, the specs are definitely pushing the very low end of what you can get by with.



#85 cenutrio

cenutrio

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: Spain

  • Favorite Pinball: whitewater

  • 360 Gamer Tag: ATRAKAVIEJAS

Posted 27 September 2016 - 07:06 AM

thanks for the tutorial



#86 blackvulcan3

blackvulcan3

    Enthusiast

  • Members
  • PipPipPip
  • 253 posts
  • Location:Cairns, QLD, Australia

  • Flag: Australia

  • Favorite Pinball: NBA Fastbreak, IJ, TOM, Demolition Man, AFM, T2 & too many others to mention

  • 360 Gamer Tag: jayweb

Posted 23 October 2016 - 02:24 AM

Big ups to Drybonz for the tutorial. Really helped understand some of what is going on. TerryRed and Roar, thank you also.

 

A couple of things I found, I am using 10.0.0 on Win 7. i5 4470, GTX750ti 2GB, 8GB Ram on SSD. No aero. No Windows Defender. Admin settings.

 

Stutter was terrible Dirty Harry, NBA Fastbreak, MM, DM all just awful to look at with the stutter down the playfield.

 

I have messed around and got it pretty good, so much better than it was. 

 

For the life of me I cannot access user settings per table. When I open a table, go to Options in the left hand pane I get the same window as everyone else but only get Table Graphics & Sound, Ball, Dimensions & Slope and Lighting. I have no User Options there. Don't know why. 

 

I found the biggest improvement from going from 1 to 2 under Vsync in Preferences. I always had it on 1 to match the vsync, changed to 2 and saw an immediate improvement.

 

I have used a lot of the suggestions by TerryRed re nVidia. No globally, just for VPX.

 

I really want to get this right for my cab (as we all do), so I thank you all for the trails you have blazed. I couldn't have got anywhere near this point without you all.



#87 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 23 October 2016 - 02:31 AM

Hey blackvulcan... I'm guessing your are running in windowed fullscreen mode?  Some people recently found that vsync 2 was working better for them in windowed and that vsync 1 was better for true fullscreen.  If you want to try true fullscreen, the instructions and a link to another thread are in the OP.

 

As for the options panel, I'm not sure what options you are missing?  When you open the options panel you don't have the "user customizations" section?  It should be the first section... maybe you have it closed and need to drop it down?  Other than that I haven't seen or heard of a way to not have that section... maybe someone else will know.



#88 blackvulcan3

blackvulcan3

    Enthusiast

  • Members
  • PipPipPip
  • 253 posts
  • Location:Cairns, QLD, Australia

  • Flag: Australia

  • Favorite Pinball: NBA Fastbreak, IJ, TOM, Demolition Man, AFM, T2 & too many others to mention

  • 360 Gamer Tag: jayweb

Posted 23 October 2016 - 02:34 AM

I thought that as well Drybonz but it is definitely not there. It'll be something silly I have checked off sometime I'm sure. I'll just go back through and see. I saw the true fullscreen stuff and thats what led me down this path. Thanks again.

 

EDIT - I can't see what it may be. I wonder if anyone else has an issue similar.


Edited by blackvulcan3, 23 October 2016 - 02:59 AM.


#89 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 23 October 2016 - 03:01 AM

... and you are 100% sure you don't need to just click the two little white arrows to drop that section down?


Edited by Drybonz, 23 October 2016 - 03:02 AM.


#90 blackvulcan3

blackvulcan3

    Enthusiast

  • Members
  • PipPipPip
  • 253 posts
  • Location:Cairns, QLD, Australia

  • Flag: Australia

  • Favorite Pinball: NBA Fastbreak, IJ, TOM, Demolition Man, AFM, T2 & too many others to mention

  • 360 Gamer Tag: jayweb

Posted 23 October 2016 - 03:17 AM

... and you are 100% sure you don't need to just click the two little white arrows to drop that section down?

 

Im pretty sure

 

IMG 7840


#91 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 23 October 2016 - 03:28 AM

Go to preferences > editor options >  and uncheck properties menu floating and see if that changes it after you restart... If not, I'm not sure.



#92 blackvulcan3

blackvulcan3

    Enthusiast

  • Members
  • PipPipPip
  • 253 posts
  • Location:Cairns, QLD, Australia

  • Flag: Australia

  • Favorite Pinball: NBA Fastbreak, IJ, TOM, Demolition Man, AFM, T2 & too many others to mention

  • 360 Gamer Tag: jayweb

Posted 23 October 2016 - 03:35 AM

No changes in content, just location, still same menu as above.

 

I do want to pursue it as Demolition Man brings the issues back. 

 

EDIT - All sorted, updated to 10.1.0 and the options are there. Knew it would be simple.


Edited by blackvulcan3, 23 October 2016 - 04:03 AM.


#93 RustyCardores

RustyCardores

    Pinball Fan

  • Members
  • PipPipPipPip
  • 571 posts
  • Location:Australia

  • Flag: Australia

  • Favorite Pinball: Flash, Playboy, Fishtales & Attack From Mars!

Posted 23 October 2016 - 04:53 AM

Just a thought on individual tables that stutter.

 

Back in the "old days" of VP9, I remember that turning the playfield image off in the editor was considered a performance tweak.  Now that the feature has been moved to "View>>>Backdrop" I never see it get mentioned anymore.  

 

So I wonder.... Would disabling the backdrop be of any stutter help in VPX?


Rusty Cardores (Russell Stewart) - Gold Coast, Australia

Twitterhttps://twitter.com/RustyPinball  |  Instagramhttps://www.instagra.../rusty.pinball/  |  Workhttp://www.australianlight.com.au (Australian Landscape Photography)

'SSF' - Get awesome VPX Surround Sound Tactile Feedback in your cab https://www.facebook...oups/SSFeedback/

'Virtual Topper' - It's cooler than you might think! Check out the pics on my Instagram.


#94 Ark Malmeida

Ark Malmeida

    Enthusiast

  • Silver Supporter
  • 147 posts

  • Flag: United States of America

  • Favorite Pinball: Cyclone, Star Wars (Data East)

  • 360 Gamer Tag: Ark Malmeida

Posted 23 November 2016 - 04:02 PM

Hey all.  I'm seeking some advice on how to address a sudden stuttering issue that has popped up over the past week.  A little background.  I've had my cab up and running for a few years now and had managed to get everything running smoothly so I'm not new to the hobby.  Last week I upgraded to the latest beta of VP10.2 and noticed that the playfields suddenly looked blurry on my tables.  Went to the video options and saw that 1024 was selected for max texture dimension for some reason, but choosing unlimited left 1024 checked still.  Figured I'd just reset to the defaults and set everything back the way it was before.  Suddenly I have bad ball stutter (lag? tearing?) when the ball comes down the playfield, especially during multi-ball and when the ball goes through the in lanes.

 

I've gone through all the suggestions in this thread (I had done that prior to get everything running smoothly before too), tried turning off pretty much everything in video settings, limited max textures, tried exclusive full screen but the stuttering is unchanged.  When vsync is set to 1 frames don't stay limited, and dip down as low as 43 at times for some reason.

 

Here are my system specs:

 

Intel Core i5-3570K Quad-Core 3.4GHz
8GB DDR3 1600 SDRAM
GeForce GTX 1060 6Gig
Windows 10

 

Running the latest VPX 10.2 beta, vpinmame and B2S versions.

 

Using the latest VPX version of Scared Stiff to test.

 

I just recently upgraded to the GTX 1060 (from a GTX 650Ti 2Gig running the playfield and backglass and a GTX 480 running the DMD) because I wanted to future proof the system.  The card COULD be the issue, but I had it installed and things running smoothly for about two weeks before I started having this issue.

 

Does anyone have any suggestions?  I've read in other places about being able to assign separate cores to run the B2S because VP supposedly uses only one of the cores.  Is this a thing?  Any help would be greatly appreciated as I have no clue what changed all of a sudden.


Edited by Ark Malmeida, 23 November 2016 - 04:08 PM.


#95 DJRobX

DJRobX

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 941 posts
  • Location:Valencia, CA

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 24 November 2016 - 12:01 AM

I just wonder if using a 2 core put is his problem, specifically with only VPX. Has anyone else been able to run VPX nicely with only a 2 core cpu?

 

I did upgrade to an i7 from a high end 2 core i3, but I must say it made very little difference.   VP is a single threaded application.  VPM is another.   The remaining thing to use remaining cores is B2S/DOF.   If you use a static backglass there's virtually no need for more than 2 cores. 

 

Some have suggested using CPU affinity tools to lock things to certain processors, and there's a lot of merit to this suggestion, although we probably need to add affinity settings to VP and VPM to get both of those things on exclusive cores (since they're really one application).    According to some research I was doing, the OS's core balancing that it does can negatively impact/delay timer loops which both VP and VPM do, so dedicating cores to those threads could theoretically help with ball stutter problems. 

 

I see a lot of weird things, like HUGE performance drops from PBX being loaded in window fullscreen, but things are fine with true fullscreen.   And sometimes I actually see the reverse - some things play better when PBX is running.   I've seen others report similar things too.    Suggests to me there's something going sideways with our timing handling, which is why I was looking into it in the first place. 


 I've read in other places about being able to assign separate cores to run the B2S because VP supposedly uses only one of the cores.  Is this a thing?  Any help would be greatly appreciated as I have no clue what changed all of a sudden.

 

VP is single threaded, but it launches VPM, which launches another thread to run the emulation.   So VP itself when launching a VPM table will take advantage of 2 cores.   



#96 ZeroMoon

ZeroMoon

    Hobbyist

  • Members
  • PipPip
  • 22 posts

  • Flag: ---------

  • Favorite Pinball: Medieval Madness

Posted 06 January 2017 - 01:25 AM

Continuing from here: http://www.vpforums....287#entry367332

 

I have tried many methods on this topic and couldn't get it to stop the shuttering thing.

 

Update: I tried VP9 on Windows 7 and It runs well without any shuttering. My Win7 Laptop may not archived the performance required  to work on VP10 through because of the lower spec. I don't know what the difference throughout.

 

I think it is suffering because of the .Net Framework or DirectX. I kinda think DirectX9 Is used by Visual Pinabll 9 but what .Net Framework and DirectX is used by Visual Pinball 9/10?


Edited by ZeroMoon, 06 January 2017 - 02:20 AM.


#97 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 06 January 2017 - 05:06 AM

Specs?

#98 ZeroMoon

ZeroMoon

    Hobbyist

  • Members
  • PipPip
  • 22 posts

  • Flag: ---------

  • Favorite Pinball: Medieval Madness

Posted 07 January 2017 - 02:10 AM

Specs?

OS: Windows 10
Intergrated GPU: Intel® HD Graphics 4600
GPU: NVIDIA GeForce GTX 970M
CPU: Processor Intel® Core™ i7-4710HQ CPU @ 2.50GHz, 2501 Mhz, 4 Core(s), 8 Logical Processor(s)
RAM: 8 GB
System Model Alienware 17 R2
 
My Win7 laptop is lower specs on GPU, CPU, and RAM. But it runs much smoother. 


#99 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 07 January 2017 - 03:30 AM

Your specs should be fine... a list of the tweaks you have already tried would be helpful so we can advise you what else might work for you.


Edited by Drybonz, 07 January 2017 - 03:30 AM.


#100 ZeroMoon

ZeroMoon

    Hobbyist

  • Members
  • PipPip
  • 22 posts

  • Flag: ---------

  • Favorite Pinball: Medieval Madness

Posted 16 January 2017 - 05:35 PM

Your specs should be fine... a list of the tweaks you have already tried would be helpful so we can advise you what else might work for you.

What tweaks? Were can I find them?

 

EDIT: Okay here

 

BUwBYPK.jpg

 

I have to use true full screen because If I run in windows mode it shows a white blank screen instead.
 

Also here my NVIDIA Control Panel settings:
 
Anisotropic filtering: Application-Controlled
Antialiasing - FXAA: Off
Antialiasing - Mode: Application-Controlled
Antialiasing - Setting: Application-Controlled (Grayed)
Antialiasing - Transparency: Off
CUDA - GPUs : All
Maximum pre-rendered frames: 1
Multi-Frame Sampled AA (MFAA) : Off
Multi-display/mixed-GPU acceleration: Single display performance mode
Power management mode: Prefer maximum performance
Shader Cache: On
Texture filtering - Anisotropic sample optimization : On
Texture filtering - Negative LOD bias: Allow
Texture filtering - Quality:  High performance
Texture filtering - Trilinear optimization: On
Threaded optimization: Auto
Triple buffering: Off
Vertical Sync: Use 3D application settings
Virtual Reality pre-rendered frames: 1
 
I also set DDraw off in the Vpinmame settings on the registry.
 
I will also leave my system information here in case:
 
DirectX info:
 
System info:

Edited by ZeroMoon, 17 January 2017 - 01:50 AM.