Jump to content



Photo
* * * * * 5 votes

Pinball FX2 on Real DMD - Beta Testing

PinDMDv3 PinDMDv2 PIN2DMD Pinball FX2

  • Please log in to reply
312 replies to this topic

#141 takut

takut

    Enthusiast

  • Members
  • PipPipPip
  • 150 posts

  • Flag: Germany

  • Favorite Pinball: Tales of the Arabian Night

Posted 06 May 2016 - 07:09 PM

Test your program today on my Pin2DMD and it works perfect with PFX2.

 

Thanks a lot for all the time and the work to all involved persons, you all do a great job :tup:



#142 doogie2301

doogie2301

    Enthusiast

  • Members
  • PipPipPip
  • 97 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 07 May 2016 - 11:53 AM

This is really awesome stuff, makes my cabinet complete.  One small problem I'm seeing though with the PinDMDv3 running the dmdext with PBFX2 is that in many scenes, the last pixel in the lower right is not illuminated, or in some cases is lighter than it should be.  It appears that way in the test app also so I don't think it's a problem with the hardware.

 

5b807b6d45f446012265c10ef605d5b9_t.png

 

Of course once I figured out that you could turn down the shading brightness, it isn't as noticeable now, but the issue is still there.  Did anyone else notice this?



#143 russdx

russdx

    Pinball Fan

  • VIP
  • 1,317 posts
  • Location:Bristol UK

  • Flag: United Kingdom

  • Favorite Pinball: NBAFB

Posted 07 May 2016 - 02:55 PM

Does the pixel behave correctly when running this display test.

http://54.148.129.10...inDMDverify.exe

#144 doogie2301

doogie2301

    Enthusiast

  • Members
  • PipPipPip
  • 97 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 07 May 2016 - 09:47 PM

Yes it appears to be fine with that test tool, and with any other integrations (visual pinball, future pinball, etc.), which is why I thought it might be a bug in the dmdext utility.



#145 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 685 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 08 May 2016 - 06:26 PM

I've also noticed it, but didn't bother looking into it yet because it's just one pixel. ;)

 

Will check at some point, feel free to open an issue at GitHub.



#146 Comicalman

Comicalman

    Enthusiast

  • Members
  • PipPipPip
  • 128 posts
  • Location:Great Midwest

  • Flag: United States of America

  • Favorite Pinball: 8 ball deluxe, Black Knight

Posted 08 May 2016 - 06:47 PM

I decided to do some further testing.  I had never tried -s screen (screen as a source) before.  When I try on my under-powered Quad-core, it renders to destination  -d pin2DMD perfectly.

 

SO, I am curious- why am I getting good results rendering from Screen as source, but getting poor rendering (ie flickering) using -pinballfx2 as a source?  Any thoughts?


Edited by Comicalman, 08 May 2016 - 07:06 PM.

https://www.facebook...yer3productions follow me on twitter @player3products

Current WIPs: DMD Coloring:???,

FP Tables completed:Shrek, Heavy Metal, Nehwon (Fafhrd, Gray Mouser), NHL TableHockey,


#147 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 685 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 08 May 2016 - 06:56 PM

The Pinball FX2 grabber uses the PrintWindow() function which also works for hidden windows while the ordinary screen grabber uses GDI's BitBlt().


Edited by freezy, 08 May 2016 - 06:56 PM.


#148 Zeiram

Zeiram

    Enthusiast

  • Members
  • PipPipPip
  • 109 posts
  • Location:Golden, CO

  • Flag: United States of America

  • Favorite Pinball: Creature From the Black Lagoon

Posted 09 May 2016 - 10:25 PM

@Zeiram: Use the -q flag which makes dmdext quit with pbfx.

 

I've noticed what appears to be a race condition where PinballX tries to resume control of the DMD before dmdext has detected that FX2 has exited and shuts down.  The upshot is that DMD videos won't reappear in PinballX until after you launch a table from another engine - e.g. VP or FP.  This probably requires some coding in PinballX to fix, and I've brought it up on Tom's forum.  A minor irritation at worst - since I migrated from the old AHK approach to launching FX2, and added dmdext as my start program, things work wonderfully!  Thanks so much for this terrific add on!



#149 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 685 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 10 May 2016 - 01:21 PM

Hmm, dmdext should quit and free resources as soon as the DMD handle is gone, which is checked every frame, i.e. it shouldn't take more than 40ms at 25fps. However, I don't know how long freeing the resources takes. Which DMD are you using? Got a link to the thread at GameEx?



#150 Zeiram

Zeiram

    Enthusiast

  • Members
  • PipPipPip
  • 109 posts
  • Location:Golden, CO

  • Flag: United States of America

  • Favorite Pinball: Creature From the Black Lagoon

Posted 10 May 2016 - 02:06 PM

I'm using a pindmd2. I'm guessing that the pinballx process regains focus at the same time as fx2 starts to shut down and kills the DMD handle. Tom might need to insert a short delay on piping attract content to the dmd on return from fx2 or PBA. I might try inserting an ahk script with a short timer as the exit process from fx2 to see if that fixes it.

#151 Totaltimo

Totaltimo

    Enthusiast

  • Members
  • PipPipPip
  • 61 posts
  • Location:Wolfenbuettel - Germany

  • Flag: Germany

  • Favorite Pinball: Cirqus Voltaire

Posted 11 May 2016 - 08:32 AM

I can confirm the same effect with my PinDMD3. Even though I am using -q, the DMD stays off when returning to PBX, i.e. PBX does not show his own DMD animation. 

Not a big thing....

Otherwise it works great on the PinDMD3 with the different colors on each table!!!!



#152 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 685 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 11 May 2016 - 09:26 AM

@Zeiram do you have a link of the thread at GameEx? I've looked but couldn't find anything.



#153 Zeiram

Zeiram

    Enthusiast

  • Members
  • PipPipPip
  • 109 posts
  • Location:Golden, CO

  • Flag: United States of America

  • Favorite Pinball: Creature From the Black Lagoon

Posted 11 May 2016 - 03:55 PM

This one: http://www.gameex.in...=getLastComment

It got locked right after I posted, so I opened this one: http://www.gameex.in...llx-and-dmdext/

 

*Update*

 

I verified that adding an AHK script as the launch after process with a short delay (I used 200 ms) gives dmdext enough time to release the dmd.  Up to Tom if this is a big enough deal to fix in the launcher itself.


Edited by Zeiram, 11 May 2016 - 10:37 PM.


#154 mofetaone

mofetaone

    Neophyte

  • Members
  • Pip
  • 8 posts

  • Flag: Spain

  • Favorite Pinball: jurassic park

Posted 02 June 2016 - 07:31 PM

Hi guys, im try to run pinball fx2 whith Pin2DMD.

I have pin2dmd latest firmware

 

My dotmatrix.cfg in fx2 is:

 

x = 0
y = 0
width = 1040
height = 272
 
 
I launch DMDext by .bat file:
 
start c:/dmd/dmdext mirror --source=pinballfx2 --no-virtual  
 
But my resolution in dmd are very low and poor qualty, you can see links:
 
 
 
 
 
Can somebody help me?
 
Sorry for my english. :console:   

Edited by mofetaone, 02 June 2016 - 07:33 PM.


#155 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 685 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 02 June 2016 - 08:32 PM

Is that the same thing you're seeing on the virtual DMD if you don't disable it?



#156 mofetaone

mofetaone

    Neophyte

  • Members
  • Pip
  • 8 posts

  • Flag: Spain

  • Favorite Pinball: jurassic park

Posted 02 June 2016 - 10:13 PM

This is the thing i can seeing when fx2 is running, but fx2 lcd dmd works perfect, mi pin2dmd doesnt show good resolution in led dmd. In visual pinball works right, perfectly. but in pinball fx 2 very bad, maybe add any command options in bat file?


Edited by mofetaone, 02 June 2016 - 10:14 PM.


#157 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 685 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 02 June 2016 - 10:29 PM

When you run dmdext, don't disable the virtual DMD (ditch --no-virtual) and tell me if it's as screwed up as the physical DMD. This will tell me if the problem is on the output side (the code that sends data to the DMD), or the input side (the code that captures the image from Pinball FX2).



#158 mofetaone

mofetaone

    Neophyte

  • Members
  • Pip
  • 8 posts

  • Flag: Spain

  • Favorite Pinball: jurassic park

Posted 03 June 2016 - 09:13 AM

Ok, Im just to try  without --no virtual, is the same result, virtual DMD and Pin2dmd led show bad image

 

you can see it:

 

http://subefotos.com...a82b54f800o.jpg



#159 freezy

freezy

    Member title

  • Members
  • PipPipPipPip
  • 685 posts

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

  • Favorite Pinball: T2, TOM, AFM

Posted 03 June 2016 - 11:38 AM

I think that's the same problem atarian had before. Are you using the old config that displays the DMD in a bordered window? If so, get rid of the config file and use the in-game settings of Pinball FX2 in order to setup the DMD.



#160 mofetaone

mofetaone

    Neophyte

  • Members
  • Pip
  • 8 posts

  • Flag: Spain

  • Favorite Pinball: jurassic park

Posted 03 June 2016 - 11:56 AM

I think that's the same problem atarian had before. Are you using the old config that displays the DMD in a bordered window? If so, get rid of the config file and use the in-game settings of Pinball FX2 in order to setup the DMD.

But I use an old pinball fx2 version, I havent cabinet mode, launch tables by nukelauncher and adjust dmd by dotmatrix.cfg, border less, what config file must be change?


Edited by mofetaone, 03 June 2016 - 12:26 PM.






Also tagged with one or more of these keywords: PinDMDv3, PinDMDv2, PIN2DMD, Pinball FX2