Jump to content



Photo
- - - - -

Visual Pinball X Stutter Free. A Must Do For Cabinet Users with stuttering!


  • Please log in to reply
16 replies to this topic

#1 mattbini

mattbini

    Enthusiast

  • Members
  • PipPipPip
  • 153 posts

  • Flag: United Kingdom

  • Favorite Pinball: star wars

Posted 15 September 2017 - 06:49 PM

Hello All, At last!!!
After weeks of tinkering about, upgrading(probably not required now) and searching through this forum I found the answer to get the fantastic Demolition Man VPX
and all other VPX tables playing as smooth as a 'Mister Whippy' Ice cream! The answer is not simple in Visual Pinball X either, so I am sharing it as a must do,
which I am sure will help many of you out there.
It is not my answer either but it was not staring me in the face when I went looking, hence this post. Skip a few paragraphs to bottom for the answer without the history.

Most VPX tables played OK but Demo Man was the table that was causing me the most stuttering so I used it as my test case.
The following is my current upgraded spec but now I think a lot of it was probably not even necessary.
q9650 quad (was q8300) for Hp5800 computer Windows 7 64bit
8gb Ram (was 4gb)
Gtx1050ti (was gtx750TI)

Up until today I was starting to take it for granted that an I5 cpu was the min and I was annoyed as that was not an option for my Motherboard nor was Overclocking the CPU.
The fact that I had paid about £200 in upgrades that had little effect was hurting.. But I thought I would optimise as best I could with what I had.
This unfortunately meant turning off Brute Force 4X AA on tables like Demo Man and using Adaptive vsync (2)even then with the very odd microstutter once every minute or so.
But it was like a Bee in the bonet, After seeing Brute force 4X AA, I wanted it and why, when this table was playing at 75FPS Vsync off (0)
would it switch to 35FPS with vsync turned on to 1. Even with Brute force disabled and at 135FPS off it jumped down to 35fps unplayable when changed to 1.
Strange thing was that when played on a less resolution than Full screen windowed mode it was working fine and smooth, but was in a small picture on the screen
(but who wants that right?) however this is where the answer comes from.

When doing my tinkering about in the VPX Video settings, I had tried checking the 'Force exclusive full screen mode' but my system crashed when loading the table, so I had quickly bypassed that.
I was wrong to have done so.
I also made sure that the B2S backglass was set to EXE but it already was so that was not my problem. I checked that Aero was on, it made no change for my system,
but did allow the statistics with FPS to show without Flashing which was good. I tryed changing Core affinity but my system worked better with all cores on.
I also noticed that my CPU in task manager was only using 50% of its capability while playing the game today so this gave me hope to keep looking.
I set the priority of the CPU to make it Realtime for VisualpinballX and low for the B2S server, I think this helped a little but did not fully get rid of the stutter.
There is a free program called Prio which saves the settings for next time you use the pc.

I wondered why It would not work when 'Force Exclusive Full screen mode was ticked' as it had all the screen resolutions listed you could want.
Well I searched it up and Guys like, Vogliadicane and TerryRed had found the answer.
(Whenever I see something from Terry I allways take notice as his guidance basically inspired me to get my 3screen future pinball Cab up and running, Thank you Terry)

OK Here was the answer 10 hours or so later! Get Exclusive full screen working and everything runs like it should vsync on setting (1) is set to 60FPS with no stutter.
1) In Windows click start and Type Regedit in the command line to go to your registry.
2) In the registry (CAREFULL NOW AS SOME SETTINGS IN HERE CAN CAUSE DAMAGE)we wont go to any main settings files.
Open 'HKEY-CURRENT-USER' then
Open 'SOFTWARE' then
Open 'FREEWARE' then
Open 'VISUALPINMAME'
3)You will now see a list of all your table Rom files. Open one which is for a VPX table with stutter.
4)Scroll down the list until you see the name 'DDRAW' it will be set to 1.
5) Right click the file and modify. Change the setting to 0.
6) Close Regedit
7) Open a Fresh Visual Pinball X and without loading a game(table) open your visual preferences.
8) Check 'Force Exclusive Full Screen Mode' and select your TV/Monitor with 60htz.
9) Load the game which you have just adapted the ROM for. And Play it.
Hey Presto!!!!!!!
You can now sleep at night again.
I am sure VPX will eventually be updated to get around all this, but for now this works for me hope for you too.
Cheers!

Update 19/8/17 Also worth noting that in Vp9 You cannot get exclusive full screen so best setting for me in there is 0 FPS (then I get Hundreds of FPS as tables are less hungry)
Slight blur but no stutter.( I get a silky smooth ball when vsync on 1 but the odd stutter not linked to any cpu spike, my computer just doesnt like windowed full screen with vsync.)
Max pre rendered frames 1 for less lag and contrary to other people I found I need Aero disabled to get less flipper lag especially in Future Pinball.
All Nvidea controll pannel set to application controlled where possible.
So Summarry:

VP9/VP9 phys 5 =
VSYNC 0
MAX FRAMES 1

VPX
VSYNC 1
MAX FRAMES 1
EXCLUSIVE FULL SCREEN ON

FUTURE PINBALL VCYNC ON

(AERO DISABLED ON ALL)

Edited by mattbini, 19 September 2017 - 08:44 PM.


#2 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,523 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 15 September 2017 - 07:30 PM

ok.... so let me get this all out now... ROTFLMAO....LOL...LOL...LOL...LOL....  ok thats out....
this has always been the answer for a VERY long time... VERY  within a week of Forced Fullscreen being released (1-2yrs i lost count).... a group of us that were willing to tinker to get this to work....
and came up with this process (and we have had smooth play since)...... and it has been posted 100's of times since....
here's the problem, by tomorrow, someone will post... "I have shutter, and cant find a way to get it to stop"... its inevitable 
I do like you precise instructions... very well plotted
but by next week you will be banging your head into the wall, when all you work, will be lost in the VPF abyss, you yourself is the perfect example... with the same issue and took you forever to find the answer...
so sad , but so true...


Edited by hauntfreaks, 15 September 2017 - 10:06 PM.

 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#3 mattbini

mattbini

    Enthusiast

  • Members
  • PipPipPip
  • 153 posts

  • Flag: United Kingdom

  • Favorite Pinball: star wars

Posted 15 September 2017 - 07:37 PM

Ha! So true.

#4 Replay

Replay

    Enthusiast

  • Platinum Supporter
  • 91 posts
  • Location:Eugene Oregon

  • Flag: United States of America

  • Favorite Pinball: Star Trek TNG

Posted 15 September 2017 - 11:49 PM

Someone should create a Visual Pinball WIKI :)



#5 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 16 September 2017 - 12:21 AM

Someone already did ! But, hey ... it's NOT here.


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#6 htamas

htamas

    Pinball Wizard

  • VIP
  • 2,227 posts
  • Location:California

  • Flag: Hungary

  • Favorite Pinball: cannot pick just one, and they change anyway



Posted 16 September 2017 - 01:35 AM

This is great, but the only problem with having to set DDRAW = 0 is that the DMD becomes not freely re-sizable. This may be less of an issue for those who have a dedicated 3rd screen for the DMD (provided that one of the available DMD sizes closely matches your actual DMD screen), but for the 2-screen cabinet folks this becomes a little more problematic.

Also, there seem to be other issues related to forced full screen if I remember correctly...



#7 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 16 September 2017 - 02:47 AM

I laugh and I still dont run exclusive at all times.  I love to tinker.  But great comments hauntfreaks.  no problem with the statement either since its so important mattbini



#8 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,523 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 16 September 2017 - 04:14 AM

This is great, but the only problem with having to set DDRAW = 0 is that the DMD becomes not freely re-sizable. This may be less of an issue for those who have a dedicated 3rd screen for the DMD (provided that one of the available DMD sizes closely matches your actual DMD screen), but for the 2-screen cabinet folks this becomes a little more problematic.

Also, there seem to be other issues related to forced full screen if I remember correctly...

 

nope not true...

 I run FFS and I'm a 2 screener and can resize all my VPM DMD's  and also UltraDMD's and Freezy's DMD DLL as well....


I laugh and I still dont run exclusive at all times.  I love to tinker.  But great comments hauntfreaks.  no problem with the statement either since its so important mattbini

 

SlyDog if your bored on sunday I will be at Silverball.... I think noon-ish


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#9 mattbini

mattbini

    Enthusiast

  • Members
  • PipPipPip
  • 153 posts

  • Flag: United Kingdom

  • Favorite Pinball: star wars

Posted 16 September 2017 - 04:17 AM

http://www.vpforums....showtopic=36915

Hi Hitamas, If you use something like Pindmd3 info above (which I use) you set the size and position of dmd in a settings file to suit all tables. Thanks to Freezy for his post.

#10 legin

legin

    Hobbyist

  • Platinum Supporter
  • 38 posts
  • Location:Perth, West Australia

  • Flag: Australia

  • Favorite Pinball: Getaway High Speed 2

Posted 20 August 2018 - 05:26 AM

Good info here.  Now my system runs even better



#11 TT11

TT11

    Pinball Fan

  • Members
  • PipPipPipPip
  • 643 posts
  • Location:Maitland AUSTRALIA

  • Flag: Australia

  • Favorite Pinball: Bally Kiss & Playboy, Stern Kiss & Playboy

  • 360 Gamer Tag: PoundedElliepup

Posted 20 August 2018 - 07:25 AM

I don't run Forced Full Screen and find it a provlem if I do.  Win Xp 32 bit Hyperpin user might account for that!!!



#12 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,981 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 20 August 2018 - 07:35 AM

btw. XP ? I hope, this machine isn't "online" ...  :coffee1:


Edited by STAT, 20 August 2018 - 07:35 AM.


#13 adamstillman

adamstillman

    Enthusiast

  • Members
  • PipPipPip
  • 94 posts

  • Flag: United States of America

  • Favorite Pinball: twilight zone

Posted 20 August 2018 - 12:41 PM

thanks for the tips



#14 TT11

TT11

    Pinball Fan

  • Members
  • PipPipPipPip
  • 643 posts
  • Location:Maitland AUSTRALIA

  • Flag: Australia

  • Favorite Pinball: Bally Kiss & Playboy, Stern Kiss & Playboy

  • 360 Gamer Tag: PoundedElliepup

Posted 21 August 2018 - 08:23 AM

btw. XP ? I hope, this machine isn't "online" ...  :coffee1:

 

Never has been Stat.  Would not risk that.  Thanks for caring!



#15 ice73

ice73

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Netherlands

  • Favorite Pinball: Baby pacman, IJ, Totan, MM, AFM, BK2000, all Star Trek

Posted 05 September 2018 - 07:42 PM

Finally !!! It works. Thank you very much. I really had a bad time figuring this one out and i could'n find the sollution on the internet.

It drove me mad !! Until now thank you thank you :D

 

force full screen doesn't work for me, can't use my mouse on the playscreen.

 

OK Here was the answer 10 hours or so later! Get Exclusive full screen working and everything runs like it should vsync on setting (1) is set to 60FPS with no stutter.
1) In Windows click start and Type Regedit in the command line to go to your registry.
2) In the registry (CAREFULL NOW AS SOME SETTINGS IN HERE CAN CAUSE DAMAGE)we wont go to any main settings files.
Open 'HKEY-CURRENT-USER' then
Open 'SOFTWARE' then
Open 'FREEWARE' then
Open 'VISUALPINMAME'
3)You will now see a list of all your table Rom files. Open one which is for a VPX table with stutter.
4)Scroll down the list until you see the name 'DDRAW' it will be set to 1.
5) Right click the file and modify. Change the setting to 0.
6) Close Regedit
7) Open a Fresh Visual Pinball X and without loading a game(table) open your visual preferences.
8) Check 'Force Exclusive Full Screen Mode' and select your TV/Monitor with 60htz.
9) Load the game which you have just adapted the ROM for. And Play it.
Hey Presto!!!!!!!
You can now sleep at night again.
I am sure VPX will eventually be updated to get around all this, but for now this works for me hope for you too.
Cheers!
 


Edited by ice73, 05 September 2018 - 09:58 PM.


#16 mies77

mies77

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: Netherlands

  • Favorite Pinball: Theater of Magic

Posted 22 September 2018 - 03:42 PM

Hi guys,

 

If you experience ball stutter it might also be your led TV causing it. I'm using my an older Samung LED TV for my first cab build. It seems a lot of screen processing goes on in Samsung (or maybe also other brands) led tv's. In my Samsung there is a feature called 'game mode' which disables all image processing. Search for it by pressing 'menu' on your remote and go to 'system', turn it off and voila! No more ball stuttering!

 

I've have been trying all sorts of sollutions (thank you al so much for taking the time to share these!) on VPforums to get rid of the ball stutter in my cab for the past few weeks and it drove me crazy. Very happy I can finally really enjoy VPX! 


Edited by mies77, 22 September 2018 - 03:57 PM.


#17 racerx135

racerx135

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: United States of America

  • Favorite Pinball: Playboy

Posted 15 September 2019 - 04:51 PM

I know this thread is old and not the first one with solution but I am new to this and this solution is also new to me.

Thank you  MattBini and whoever originally came up with this answer

I Also had same issue with new install, After trying many things this did it 100%.  Plays like I dropped 2K on PC hardware but I just bought a 750 TI and gathered old PC parts for the rest. Ball studder was present in EVERY vpx 10 table

My rig

2 screen setup 27" playfield small cabinet

- Phenom x4 945 
- 8GB ddr 3 1333 Ram
-65gb SSD for OS
-128 SSD for Pinball apps and tables 

27" 1080p monitor for playfield
19"  1366x768  monitor for backglass


After applying the regedits and setting vpx 10 to Force exclusive mode at 60hz  the tables played as if I upgraded my PC 3 times faster. everything plays like butter  I tried that mode before but tables would not load and would crash. 

- It is like Rick and Morty when Rick saves earth by changing a 1 to zero.   

PS: I had a few tables that for some reason did not have ddraw in the rom folder of regedit.  I just created them manually and it worked

I only have 10 tables so far installed so we will see how things pan out as I add more tables but I am not trying to break the record of how many tables I can install so at this point if a table does not work I will not add it to pinballX front end or completely remove it and move on.  I would rather have a cabinet with 50 100% working tables then a cabinet with 300 tables and a lot them do not work right.


 


Edited by racerx135, 15 September 2019 - 04:53 PM.