Jump to content



Photo
* * * * * 12 votes

Dev thread: Road to DX9


  • Please log in to reply
2087 replies to this topic

#1081 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 06 March 2014 - 02:12 PM

 

 

Thanks for the results so far, very interesting. I also want to stress again that not only the absolute numbers for the max time are important, but maybe even more the ratio between max and average time, so keep that in mind.

 

im convinced its the .dll

 

 

To clarify, you consistently get more stutter with this DLL, even when playing tables which do not rely on the extra functionality added by that custom build?

I made these builds and they don't have more functionalities, just an additional .c that adds more roms to the list of supported roms



#1082 DJRobX

DJRobX

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 06 March 2014 - 04:03 PM

Do we need to get the hyperpin folks involved?
 

 

Hyperpin itself is not likely an issue, more likely is FPLaunch which is a big, complicated AutoHotKey script that's hooking into the input path.     Could test the theory by configuring Hyperpin to launch VP directly.   You'd need to manually start the table, but you'd quickly be able to see if your performance issues go away or not.



#1083 LoadedWeapon

LoadedWeapon

    The Night Owl..

  • Members
  • PipPipPipPipPip
  • 2,572 posts
  • Location:South Carolina USA

  • Flag: United States of America

  • Favorite Pinball: Star Trek TNG



Posted 06 March 2014 - 04:12 PM

My tests are with hyperpin.. no issues.. could be memory issue I do have 8g plus both cards have 2g but I wouldent think it was that... something is causing slow down for people..
on a side note hyperpin does have a memory leak and over time it will use it all up so if you only have 2 or 4 gig it might be a problem faster

Edited by LoadedWeapon, 06 March 2014 - 04:21 PM.


#1084 Argo

Argo

    Enthusiast

  • Members
  • PipPipPip
  • 95 posts

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

  • Favorite Pinball: Jurassic Park

Posted 06 March 2014 - 04:33 PM

Guys, I have some interesting news for you. :dblthumb:

I've gotten sweetfx to work in dx9 VP.

 

Download the latest 1.5.1 version. Copy all the files to the "tables" folder.

Then, copy d3d9.dll and d3d9.fx in the same folder where the .exe file is.

Enjoy!



#1085 Arcade4

Arcade4

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,686 posts
  • Location:Beaumont, TX.

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 06 March 2014 - 04:36 PM

What is sweetfx?
Never mind. Googled it

Edited by Arcade4, 06 March 2014 - 04:38 PM.


#1086 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 06 March 2014 - 05:04 PM

Cool, actually just this morning i also thought of giving it a try..

 

Maybe you can share some pictures if you found some cool settings for some tables..



#1087 teppotee

teppotee

    Enthusiast

  • Members
  • PipPipPip
  • 382 posts
  • Location:Finland

  • Flag: Finland

  • Favorite Pinball: CV

Posted 06 March 2014 - 05:07 PM

Decided to give the SweetFx a quick try and followed the above instructions. Unfortunately VP crashed immediately when launching a table with d3d9.dll and d3d9.fx in the folder. So no luck here so far. 


Edited by teppotee, 06 March 2014 - 05:07 PM.


#1088 chinzman93

chinzman93

    "All humans are vermin in the eyes of Morbo!"

  • Platinum Supporter
  • 403 posts
  • Location:Here

  • Flag: United States of America

  • Favorite Pinball: Fish Tales, BSD, AFM

Posted 06 March 2014 - 05:11 PM

Cool, actually just this morning i also thought of giving it a try..

 

Maybe you can share some pictures if you found some cool settings for some tables..

+1



#1089 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 06 March 2014 - 05:33 PM

@teppotee: you have to copy -everything- to the vp directory, not just the dlls..

 

so far i'm a bit disappointed though.. :(

SMAA in combination with luma sharpen (and maybe dither, depending on your monitor/TV) seems to be the only thing that really is interesting IMHO, the rest more or less just tweaks the colors (which can be cool of course, but i prefer the original look so far)..

 

if you're in for some laughs, enable advanced CRT.. ;)

 

(and FXAA doesn't seem to work, btw)


Edited by toxie, 06 March 2014 - 05:35 PM.


#1090 Astromark3000

Astromark3000

    Enthusiast

  • Validating
  • PipPipPip
  • 64 posts
  • Location:Edmonton Alberta

  • Flag: Canada

  • Favorite Pinball: Theater of magic, Haunted House

  • PS3 Gamer Tag: Astromarkus
  • 360 Gamer Tag: Astromarkus

Posted 06 March 2014 - 05:44 PM

Im going to try test 8 out see what issues a rise, will keep posted! been using pinballx and love iT! 



#1091 Horrible

Horrible

    Enthusiast

  • Members
  • PipPipPip
  • 138 posts
  • Location:London

  • Flag: United Kingdom

  • Favorite Pinball: Data East Star Wars, Star Trek 25th

Posted 06 March 2014 - 06:28 PM

Did some tests between VP 921 (930) and VP DX9 8a with two tables:

 

BALLY - TWILIGHT ZONE - MEGAPIN - VP9 - V1.2FSNM.Final

T2_CE_Tipoto_1.07_FS

 

First of all I tried loads of different settings on NVIDIA control panel and all I managed to do was speed the ball up (nice and smooth) at best.  Various settings resulted in Micro stutter.  Tried various settings in VP editor also.  At no point could I get above 60FPS (is it me - what am I doing wrong, VSYNC was off and everything?).

 

 

Ideas welcome.

 

Anyway had some problems in DX9 8a (and predicessors) with table graphics (see black lines below):

 

VP 921:

 

 

t2%20chrome%20921.png

 

tz%20mega%20pin%20921.png

 

 

DX9 8a:

T2 chrome more lines appeared around anything that moved (flippers, bumpers, pops etc.). Table also seemed slightly blurred.

 

 

 

t2%20chrome%20DX9%208a.png

 

 

tz%20mega%20pin%20DX9%208a.png


Edited by Horrible, 06 March 2014 - 06:32 PM.

Win 7 Pro 64 Bit Sp1, [email protected], 8GB DDR3 RAM

NVIDIA GeForce GTX 950 2Gb, NVIDIA GeForce GT 610 1Gb

Crucial MX250Gb Primary' Samsung 840 128 Gb Backup

Corsair CX750 PINDMD3


#1092 mukuste

mukuste

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 854 posts

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

  • Favorite Pinball: Centaur

Posted 06 March 2014 - 06:49 PM

@teppotee: you have to copy -everything- to the vp directory, not just the dlls..

 

so far i'm a bit disappointed though.. :(

SMAA in combination with luma sharpen (and maybe dither, depending on your monitor/TV) seems to be the only thing that really is interesting IMHO, the rest more or less just tweaks the colors (which can be cool of course, but i prefer the original look so far)..

 

if you're in for some laughs, enable advanced CRT.. ;)

 

(and FXAA doesn't seem to work, btw)

 

I'm curious about SMAA, is it noticeably better than FXAA? Maybe we could implement it natively, the code is out there after all, and I don't think it's much slower than FXAA.



#1093 krille81

krille81

    Enthusiast

  • Members
  • PipPipPip
  • 197 posts

  • Flag: Sweden

  • Favorite Pinball: Junk Yard, White Water, Star Wars (Data East)

Posted 06 March 2014 - 07:05 PM

i have try sweetfx too smaa in combination of luma sharpen and hdr rocks!!!! :) you get a darker picture with crystal cleat text on all lights 

Thank you Argo!



#1094 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,170 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 06 March 2014 - 07:23 PM

Pic please

"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#1095 Argo

Argo

    Enthusiast

  • Members
  • PipPipPip
  • 95 posts

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

  • Favorite Pinball: Jurassic Park

Posted 06 March 2014 - 07:27 PM

@teppotee: I've tried different ways before, but now, thanks also to the .log file SweetFX automatically creates and the instructions (readme etc...) I found the solution.

Place all the files (including the SweetFX directory) in the "tables" folder. Then, copy (NOT CUT, I've tried but it doesn't work) the d3d9.dll and d3d9.fx files in the main folder (where vp.exe is).

SMAA looks better than FXAA, it's less blurry (you can clearly see it in the texts on the playfield) and have almost the same performance hit.

The file "injector,ini" is where you can change some setting, I'll investigate a bit (you can do the same too).


http://img288.imagev...1_122_260lo.jpg

 

This is a screenshot of a table with sweetfx by default, but I don't think it gives it enough justice.



#1096 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 06 March 2014 - 07:28 PM

I'm curious about SMAA, is it noticeably better than FXAA? Maybe we could implement it natively, the code is out there after all, and I don't think it's much slower than FXAA.

 

 

it's not earth shattering, but its better IMHO.. performance suffers much more though (which is relative of course, it's still in the few msecs) as it uses multiple passes/buffers..



#1097 zany

zany

    3D Beer Drinker

  • VIP
  • 1,644 posts

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness



Posted 06 March 2014 - 08:22 PM

Got the SweetFX to work on my i7 laptop, with a pretty lowend gfx card, and i tried Fish T*......looked nice, but had a HUGE impact on the FPS...from around 350 to 50.
Awesome find though! :)



#1098 tipoto

tipoto

    Enthusiast

  • VIP
  • 296 posts
  • Location:Los Angeles

  • Flag: France

  • Favorite Pinball: Elvira and the Party Monsters ; Terminator 2

Posted 06 March 2014 - 08:23 PM

DX9 8a:

T2 chrome more lines appeared around anything that moved (flippers, bumpers, pops etc.). Table also seemed slightly blurred.

Yes, it's what I said before, it's blurred because of the AA, this table has to be played without any AA (except the ball which needs AA), but I don't know how we disable the AA locally in the DX9 version, without changing the general settings of VP of course, in VP920 it's very simple, there is a checkbox for that, but now it's different. Can anyone explain me how to do that please? Thanks.

 

Also, when I get the T2 table launched, I get an error when I press "1" to start a game.


Edited by tipoto, 06 March 2014 - 08:24 PM.


#1099 BuckoBundy

BuckoBundy

    Hobbyist

  • Members
  • PipPip
  • 46 posts

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

  • Favorite Pinball: The Adams Family

Posted 06 March 2014 - 08:30 PM

First off, let me say 'thank you' to you hard working developers. Reading this thread, and the 9.2x ones, I am amazed at the progress being made and I can't wait to see what a vp10 version might bring :)

 

Every dx9 version I tried has been stable but today for the first time VP9_DX9_test8a crashed on me with a "fatal error: HRESULT 88760868..\RenderDevice.cpp:366" error. I see this has been reported before once by bosvrucht (post 223) and that was with the very first dx9 test version. I had been playing the table the error occured on for hours without any problem.. then suddenly the crash happened.

 

table was: The Getaway VP92 (http://www.vpforums....showtopic=27018)

My old system: core2 E6400, 9600GT, win7 32bit

 

I'll play some more tomorrow and see what happens..



#1100 Argo

Argo

    Enthusiast

  • Members
  • PipPipPip
  • 95 posts

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

  • Favorite Pinball: Jurassic Park

Posted 06 March 2014 - 08:47 PM

Is it just me or test8 stutters much more than test7? Even with sweefx and a gt630, test7 runs pretty good to me.


Edited by Argo, 06 March 2014 - 08:47 PM.