Closed Koplings closed 6 years ago
Yes, this is the preferred place, thanks!
1) sorry - what specs do you mean? im running windows 7, i5, GeForce gtx 1060 so I think I have lots of power, thanks for your help I really appreciate it. let me know what else you need
2) also what log are you referring to so I make sure I grab the right one...thanks
thanks a bunch - your program looks really cool if I can iron these kinks out. cheers
Yes, OS version and bitness also please. Win7 x64 I assume? Also, does the flickering occur when you run it directly and not via PinballX?
The log is what's displayed in the console when running dmdext. If there is nothing, make sure you copied dmdext.log.config
along with dmdext.exe
.
ok ill try tomorrow morning when im back home and send it to you. thanks again.
Hi there- tried a few things but still no luck
1) Running windows 7 64bit. flickering occurs when I run pinball fx2 directly; haven't yet figured out how to get it working in pinballx but I haven't tried that hard since I need to fix the flickering first. i'm basically just doing steps 1 to 6 in the "Pinball FX2" part of your guide plus the "Troubleshooting" section.
2) I've tried and tried but I cant seem to create a log file. but what I have attached is the cmd prompt window screen capture if that helps. Is that good enough or do I need to keep trying to create a log file somehow - i've read and tried steps 1. and 2. under the reporting bugs section but no log
here is the screen capture:
3) Couple ideas:
a) i'm running a later version of .net (4.6.2 i think?) that I had to go to for some reason I cant remember for VP or FP or DOFlinx R3 or something. I don't want to roll back to 4.5.2 if I don't have to and break something else. should that make a difference?
b) I didn't do anything under the "visual PinMAME" section of your guide (VPM recently introduced...). Again I didn't want to break anything elsewhere if that was irrelevant since its been a pain to get PinMAME working properly over the years. would that have anything to do with it?
thanks again - would be great to get this working
.NET version shouldn't matter as long as it's at least 4.5. Are you able to make a video of the flickering? Preferably slow motion if you have a camera that supports it. What happens if you decrease the fps way down to let's say 1 fps? Does it still flicker then?
Dropbox or maybe Youtube, Vimeo or any of all those video hosting services?
Ok I think I have it - Let me know if these links don’t work
Thanks, that's really weird. First I need to figure out if the problem is the input or the output. Can you try the mirror feature and let me know if you have the same flickering?
sorry i'm looking at your guide and I don't know what that means. do I run the cmd and put in something different?
Just run dmdext mirror -s screen
which will mirror the top left corner of your screen. It uses a slightly different capture method, so if that works then that's the problem.
If it doesn't it would be good to test with a completely different capture method, e.g. Pro Pinball or Pinball Arcade. If you have neither, VPM output through DmdDevice.dll
would be interesting to see.
hey I think we are getting somewhere!. see the attached video - no flickering but something else than the dmd is now on the dmd. does this mean I just have to play around with the dmd placement settings or something in fx2 to get it to capture the dmd or is that too easy...
https://www.dropbox.com/s/shiaql4tr7mflhg/using%20mirror.mp4?dl=0
it looks to me like the dmd is now displaying some portion of the top right o the playfield and not flickering. any idea
1) what values I might use in the fx cabinent support dmd orientation now that things are "mirrored"; fumbling around and not sure where I might start
2) how do I run through pinball x. do I have to put something in the "launch before" part in settings to allow this to run?
I just thought id check after i've been monkeying around - I can now see the upper left corner of the playfield screen being captured and displayed on the DMD; does that mean I can now somehow use this dmdext mirror to solve my problem or does that mean something else. thanks for your patience...
I use a different method for capturing Pinball FX2's DMD than the normal screen mirror because it must work even if the DMD's hidden behind the playfield, i.e. capturing invisible pixels. Seems like that doesn't work very well on your system.
I'm kind of out of ideas on this one. I could add an option to use the other capturing method, but then you'll need to have the DMD somewhere visible on the computer screen, which isn't optimal. Also it would come with some code refactoring to make it proper.
I would suggest you double check the workaround xman72 posted. I'll do some more research on the topic and let you know if I find something.
Oh, just to confirm. You got the same weird flickering without the --without-virtual
option on the virtual DMD, right?
I think what ill do is with a fresh set of eyes later today go through everything from the beginning in case ive missed anything. ill post some vids again once i'm done so we can check off whats not working. I really appreciate your help
ok just so we are in synch here is what I have done today:
a) run "dmdext test" (no flickering on either dmd or virtual)
https://www.dropbox.com/s/4q8hdook08nc1l2/a.mp4?dl=0
b) run "dmdext mirror --source=pinballfx2 --no-virtual" (flickering on dmd); I double checked the xman72 workaround and all boxes are checked under adjust for best appearance and still no luck
https://www.dropbox.com/s/v8o8bz3xagf2uiz/b.mp4?dl=0
c) run "dmdext mirror -s screen" - (no flickering on dmd)
https://www.dropbox.com/s/acs37t2xsv9le2n/c.mp4?dl=0
https://www.dropbox.com/s/v7fbvhviwxur1ii/c2.mp4?dl=0
d) run "dmdext mirror -source=pinballfx2" (for sure still flickering on dmd but maybe not on virtual? I cant tell)
https://www.dropbox.com/s/san63ioafmt5f68/d.mp4?dl=0
https://www.dropbox.com/s/t3vo0westweasbo/d2.mp4?dl=0
Couple ideas
can you let me know what you mean by the "without the --without -virtual option"; ill try that
I was wondering is there a way to use c) and just put the virtual dmd on the bottom left hand side of the playfield (which i can do under FX2's cab support default options) and then somehow just video capture that through "dmdext mirror -s screen" and run it through the DMD? I could live with that rather than wasting more of your time trying to sort this out...just a thought that that might be a workaround
actually option c) with the virtual dmd in the bottom left corner of the playfield plus the real dmd on the dmd would be kinda cool....o:)
also I know you've spent a lot of time on this. let me know how I can repay the favour
d2.mp4
doesn't show anything on the DMDs. It would be interesting to see what the virtual DMD displays when PinDMD3 flickers. I suppose Fireball doesn't have any DMD anyway since it's an EM?
In general it's a good idea to reproduce the problem always under the same circumstances to be sure that other circumstances don't affect the problem, and that includes using the same game for all tests.
actually the fireball is just my standard desktop wallpaper so it shouldn't really affect anything. its not actually any game that's running. the only game I ran was avengers under FX2. d2 is just running the scrpt and showing you what I see on my desktop before I open up FX2 and run a game. same flickering when I run the avengers game (d) unfortunately
sorry for the confusion
is here a way for me to see what the virtal dmd displays when the dmd flickers? I notice that in the standard fx2 configuration when the dmd is on the playfield it looks fine.
You could try dmdext with VPM, setup instructions are here. Just by running VPM's setup.exe
you'll be able to see both the virtual DMD and PinDMD3 displaying the same frames.
It would also be interesting to know if the same problem occurs on your PinDMD3 with VPM.
ok ive tried but I must be doing something wrong;
not sure what im doing wrong...
not sure what im doing wrong
Try using a more recent build of VPM like this one.
You'll need to run setup and click on "Install" after copying the new VPinMame.dll
to the VPM folder. If you want to keep the old one, just rename it and re-run setup after renaming back.
ok thanks. when I run 2.9 (I was running 2.7, I had tried 2.8b,c but it gave me too many problems on sam tables) I now get a virtual dmd on the upper right but nothing on the actual dmd. the use PINDMD button is gone and instead there is a use external DMD button which I have checked. Not sure if this is right because now on all my visual pinball games I have no actual dmd at all
Yeah, "Use external DMD" replaces the "Use PinDMD". It's an abstraction layer that was added to VPM recently. Can you paste the log please?
which log?
here it is. its all I have
https://www.dropbox.com/s/l8vj7356a2vvlck/DmdDevice.log.config?dl=0
That's the config file. I need the log file. Check the link in the README that I've posted. If you're at SysWOW64
you'll need to edit the log config file to point to a different folder.
However, for your testing purpose it should be enough to just copy the DLL and the .log.config file into the VPM folder (remove it from SysWOW64
), and you'll have a DmdDevice.log
next time you run VPM with external DMD enabled.
ok here it is - looks strange because I know port 3 is the correct port (one of the troubleshooting things I tried awhile back was to see if there was any sort of pindmd3 firmware update). looks like pindmd runs fine under 2.7 and 2.8
[6] 2017/03/27 13:00:49.208 INFO | No altcolor folder found, ignoring palettes.
[6] 2017/03/27 13:00:49.237 INFO | Starting VPinMAME API through vpinballx.exe.
[6] 2017/03/27 13:00:49.237 INFO | [vpm] Open()
[6] 2017/03/27 13:00:49.237 INFO | [vpm] Set_4_Colors_Palette()
[6] 2017/03/27 13:00:49.237 INFO | Setting palette to 4 colors...
[6] 2017/03/27 13:00:49.237 INFO | [vpm] PM_GameSettings(1)
[6] 2017/03/27 13:00:49.254 INFO | Enabling game colorization
[6] 2017/03/27 13:00:49.254 INFO | Setting game name: taf_l7
[6] 2017/03/27 13:00:49.254 INFO | Setting color: #FFFF5820
[6] 2017/03/27 13:00:49.350 INFO | Bit-convertion disabled.
[6] 2017/03/27 13:00:49.350 INFO | Opening virtual DMD...
[10] 2017/03/27 13:00:49.431 DEBUG | PinDMDv1 device not found.
[10] 2017/03/27 13:00:49.473 DEBUG | PinDMDv2 device not found.
[10] 2017/03/27 13:00:49.473 DEBUG | Checking port 3 for PinDMDv3...
[10] 2017/03/27 13:00:49.473 DEBUG | Error: The given port name does not start with COM/com or does not resolve to a valid serial port.
Parameter name: portName
[10] 2017/03/27 13:00:49.487 DEBUG | PinDMDv3 device not found.
[10] 2017/03/27 13:00:49.508 DEBUG | PIN2DMD device not found.
[10] 2017/03/27 13:00:49.508 INFO | Added VirtualDMD renderer.
[10] 2017/03/27 13:00:49.508 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[10] 2017/03/27 13:00:49.522 INFO | Applying palette to render graphs.
[10] 2017/03/27 13:00:49.522 DEBUG | Resizing virtual DMD to 128x32
[10] 2017/03/27 13:00:49.539 INFO | Setting up 2-bit VPM Graph for 1 destination(s)
[10] 2017/03/27 13:00:49.554 INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Rgb24)
[10] 2017/03/27 13:00:49.592 INFO | Setting up 4-bit VPM Graph for 1 destination(s)
[10] 2017/03/27 13:00:49.592 INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Rgb24)
[10] 2017/03/27 13:00:49.599 INFO | Setting up RGB24-bit VPM Graph for 1 destination(s)
[10] 2017/03/27 13:00:49.599 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[6] 2017/03/27 13:00:53.638 INFO | [vpm] Close()
[6] 2017/03/27 13:00:53.638 INFO | Closing up.
[6] 2017/03/27 13:00:53.638 INFO | Source for 1 renderer(s) stopped.
[6] 2017/03/27 13:00:53.651 INFO | Source for 1 renderer(s) stopped.
[6] 2017/03/27 13:00:53.651 INFO | Source for 1 renderer(s) stopped.
[6] 2017/03/27 13:00:53.651 DEBUG | Disposing render graph.
[6] 2017/03/27 13:00:53.651 DEBUG | Disposing render graph.
[6] 2017/03/27 13:00:53.651 DEBUG | Disposing render graph.
but something happens under 2.9
You need to put "COM3", not just "3" as the message says.
ok great thanks. I now have for example in VP10 a virtual dmd in the top right corner and the actual dmd running trough pindmd3 just like I think it was working in 2.7. What i'm unclear of is what that means for FX2. if run both the scripts you gave me the dmd's look the same as the videos i've previously posted. am I supposed to now able to move the vritual dmd onto pindmd3 now under 2.9? everything looks kinda he same to me...
Well, the VPM exercise was mainly to be sure that it's a capturing problem and not an output problem. I suppose your PinDMD3 works well with the test you just did? No flickering?
Yes no flickering. Both look good
Sent from my Samsung device
-------- Original message -------- From: freezy notifications@github.com Date: 2017-03-27 2:52 PM (GMT-05:00) To: freezy/dmd-extensions dmd-extensions@noreply.github.com Cc: Koplings jkopperson@rogers.com, Author author@noreply.github.com Subject: Re: [freezy/dmd-extensions] flickering and pinball x (#43)
Well, the VPM exercise was mainly to be sure that it's a capturing problem and not an output problem. I suppose your PinDMD3 works well with the test you just did? No flickering?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/freezy/dmd-extensions","title":"freezy/dmd-extensions","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/freezy/dmd-extensions"}},"updates":{"snippets":[{"icon":"PERSON","message":"@freezy in #43: Well, the VPM exercise was mainly to be sure that it's a capturing problem and not an output problem. I suppose your PinDMD3 works well with the test you just did? No flickering?"}],"action":{"name":"View Issue","url":"https://github.com/freezy/dmd-extensions/issues/43#issuecomment-289549375"}}}
I actually have a second pindmd3 on order as a backup to the one I have. I have to travel this week but will be back on the weekend. My plan is to try it then to make sure it's not a hardware problem. I'll let you know when I have hopefully this weekend. Wierd isn't it?
Sent from my Samsung device
-------- Original message -------- From: freezy notifications@github.com Date: 2017-03-27 2:52 PM (GMT-05:00) To: freezy/dmd-extensions dmd-extensions@noreply.github.com Cc: Koplings jkopperson@rogers.com, Author author@noreply.github.com Subject: Re: [freezy/dmd-extensions] flickering and pinball x (#43)
Well, the VPM exercise was mainly to be sure that it's a capturing problem and not an output problem. I suppose your PinDMD3 works well with the test you just did? No flickering?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/freezy/dmd-extensions","title":"freezy/dmd-extensions","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/freezy/dmd-extensions"}},"updates":{"snippets":[{"icon":"PERSON","message":"@freezy in #43: Well, the VPM exercise was mainly to be sure that it's a capturing problem and not an output problem. I suppose your PinDMD3 works well with the test you just did? No flickering?"}],"action":{"name":"View Issue","url":"https://github.com/freezy/dmd-extensions/issues/43#issuecomment-289549375"}}}
Yes, well we pretty much excluded a hardware problem. At this point I'll need to figure out why the capturing is only working so slowly and weirdly on your machine. I'll Google some more but it's going to be hard when I'm not able to reproduce the problem.
Ya it's a bummer. I mentioned it to the folks at pindmd and I sounds like they are not exactly friendly with the fx2 folks. It's too bad. It appears to be some an dort of fx2 interface problem. Anyway i do appreciate your help..
Sent from my Samsung device
-------- Original message -------- From: freezy notifications@github.com Date: 2017-03-27 4:04 PM (GMT-05:00) To: freezy/dmd-extensions dmd-extensions@noreply.github.com Cc: Koplings jkopperson@rogers.com, Author author@noreply.github.com Subject: Re: [freezy/dmd-extensions] flickering and pinball x (#43)
Yes, well we pretty much excluded a hardware problem. At this point I'll need to figure out why the capturing is only working so slowly and weirdly on your machine. I'll Google some more but it's going to be hard when I'm not able to reproduce the problem.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/freezy/dmd-extensions","title":"freezy/dmd-extensions","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/freezy/dmd-extensions"}},"updates":{"snippets":[{"icon":"PERSON","message":"@freezy in #43: Yes, well we pretty much excluded a hardware problem. At this point I'll need to figure out why the capturing is only working so slowly and weirdly on your machine. I'll Google some more but it's going to be hard when I'm not able to reproduce the problem."}],"action":{"name":"View Issue","url":"https://github.com/freezy/dmd-extensions/issues/43#issuecomment-289569235"}}}
I don't know how these things work but right now I have the dmd for fx2 in the bottom left hand corner of my playfield and if I want I can "capture" without any flickering some sort of animation from the top right corner of the playfield using that "mirror" code you gave me and it shows fine in the pindmd3 with no flickering. Shouldnt I somehow be able to adjust what is being capturedd and somehow capture what is on the bottom left of the playfield and run it through the dmd? Thay way couldn't I have the virtual on the bottom left and it also running through the pindmd3?
Sent from my Samsung device
-------- Original message -------- From: freezy notifications@github.com Date: 2017-03-27 4:04 PM (GMT-05:00) To: freezy/dmd-extensions dmd-extensions@noreply.github.com Cc: Koplings jkopperson@rogers.com, Author author@noreply.github.com Subject: Re: [freezy/dmd-extensions] flickering and pinball x (#43)
Yes, well we pretty much excluded a hardware problem. At this point I'll need to figure out why the capturing is only working so slowly and weirdly on your machine. I'll Google some more but it's going to be hard when I'm not able to reproduce the problem.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/freezy/dmd-extensions","title":"freezy/dmd-extensions","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/freezy/dmd-extensions"}},"updates":{"snippets":[{"icon":"PERSON","message":"@freezy in #43: Yes, well we pretty much excluded a hardware problem. At this point I'll need to figure out why the capturing is only working so slowly and weirdly on your machine. I'll Google some more but it's going to be hard when I'm not able to reproduce the problem."}],"action":{"name":"View Issue","url":"https://github.com/freezy/dmd-extensions/issues/43#issuecomment-289569235"}}}
Yes, but what I'm doing with the current DMD window of FX2 is additionally to capturing, I'm removing the gutter between the pixels and "round" the luminosity to four shades. In order for that to work, the capturing rectangle must be pixel-perfect, which is easy with an external window, but a lot more fiddly if it's somewhere on your screen depending on your screen resolution.
I would prefer to get the current method working over adding additional parameters to the app for your use case.
just a quick update - I received my backup pindmd3 in the mail today and just tried it out - same problem so at least as you said I can conclude its not a faulty pinDMD3...
Can you try if you have the same problem in Pinball FX3?
Hey nice to hear from you. I'll try again this week and let you know. Never got it to work with fx2 but I'll try fx3 and report back. Cheers
Sent from my Samsung device
-------- Original message -------- From: freezy notifications@github.com Date: 2017-10-14 7:01 PM (GMT-05:00) To: freezy/dmd-extensions dmd-extensions@noreply.github.com Cc: Koplings jkopperson@rogers.com, Author author@noreply.github.com Subject: Re: [freezy/dmd-extensions] flickering and pinball x (#43)
Can you try if you have the same problem in Pinball FX3?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/freezy/dmd-extensions","title":"freezy/dmd-extensions","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/freezy/dmd-extensions"}},"updates":{"snippets":[{"icon":"PERSON","message":"@freezy in #43: Can you try if you have the same problem in Pinball FX3?"}],"action":{"name":"View Issue","url":"https://github.com/freezy/dmd-extensions/issues/43#issuecomment-336673296"}}}
Hey @freezy. I'm having these same issues as @koplings in pinball fx3 with pindmd v3. I've also tried both the fps and windows best appearance methods without success. Any other ideas?
Sorry I should've mentioned this is true both when running dmdext from commend line and launching fx3 and via pinballx launch script. I think it may be slightly worse with the second method just observationally.
Let me know if you ever get it working and how you did it. I never got it to stop flickering.
@Koplings @freezy
So through a bit of trial and error, I have a method that reliably removes the flickering from FBFX3 with my pindmd3, but it is a very manual process and I have not been able to achieve it through launching PBFX3 tables via pinballx; only when launching pbfx3 directly after starting the dmdext mirroring at the command prompt first.
This video shows it in action, although, this is an extreme example, sometimes I can get it to work after control+c
and rerunning dmdext with a lower fps. I have no clue why toggling it off and back on a variable amount of times achieves the desired result, but hopefully you'll see something in the log or the video that can help lead to a future patch. Please let me know if there is any other information I can provide.
ps. I'm using dmdext-69.exe which I found on the forums prior to the 1.60 release but I get the same results approximately that I show in the video using dmdext.exe. Lastly, I tried writing a bat file to go through this manual process but didn't get that to work. I don't think it is possible to emulate control+c
from the bat logic.
Hmm first I thought that this is clearly a capturing problem, but then at 2:23, you stop dmdext and also the still image flickers when there's no capturing. I suppose PinDMD3 works fine in VPM?
From your video it looks like the following is happening: The monitor as well as your DMD seems to have a clock with a fixed frame rate. As soon as the reading is async with the writing, it flickers. And there seem to be blank frames in between, however I'm not sure if that's because of that huge frame rate you're providing.
What's the result with some more conventional frame rates such as 25, 30, 60, 90, 120?
not sure if this the right place but I thought id try
1) am trying to use dmd ext with FX2 and get extreme flickering on my pindmd3. i've tried adjusting visual effects and boosting the dmdext frame grab rate but no improvement - any suggestions
2) do I have to type in the cmd prompt every time I want to use it? what i'm trying to do is have it work through pinball so that when I open up a table it automatically puts the dmd on the pindmd3. cant figure out how to do this