Jump to content

Can't for my life get ZeDMD to working with 64-bit VPinMame 3.6 and Freezy 2.2.1


Slemkryp

Recommended Posts

Since I installed 64-bit versions of VPX, VpinMame and Freezy I can't get my ZeDMD to work. 32-bit version are working just fine.

 

I've tried replacing all files, reinstalled everything. Upgraded the firmware on the ESP32. All zip-files are of couse unlocked.

 

Did a trace in the logs trying to boot up the same rom on both 32 bit and 64 bit and the logs are IDENTICAL, but neither the less, 64 bit shows nothing on the DMD.

 

Please, anyone got an idea how to proceed troubleshooting?

 

32-bit log WORKING

------------------

 [1] 2023/10/22 14:42:10.486  INFO | Starting DmdDevice API 2.2.1 (x86) through Setup.exe. 
 [1] 2023/10/22 14:42:10.510  INFO | Assembly located at C:\vPinball\VisualPinball\VPinMAME\DmdDevice.dll 
 [1] 2023/10/22 14:42:10.510  INFO | Running in C:\vPinball\VisualPinball\VPinMAME 
 [1] 2023/10/22 14:42:10.526  INFO | Successfully loaded config from C:\vPinball\VisualPinball\VPinMAME\DmdDevice.ini. 
 [1] 2023/10/22 14:42:10.588  INFO | [serum] Determined altcolor path from assembly path: C:\vPinball\VisualPinball\VPinMAME\altcolor 
 [1] 2023/10/22 14:42:11.671  INFO | [dll] Open(0) 
 [1] 2023/10/22 14:42:11.671  INFO | [dll] PM_GameSettings(0, afm_113b, 0) 
 [1] 2023/10/22 14:42:11.671  INFO | Disabling game colorization 
 [1] 2023/10/22 14:42:11.671  INFO | Setting game name: afm_113b 
 [1] 2023/10/22 14:42:11.671  INFO | Setting color: #FFFF5820 
 [5] 2023/10/22 14:42:11.687  INFO | Starting ZeDMD frame thread. 
 [1] 2023/10/22 14:42:12.202  INFO | ZeDMD device found on port COM3 with a resolution of 128x32 LEDs 
 [1] 2023/10/22 14:42:12.202  INFO | Added ZeDMD renderer. 
 [1] 2023/10/22 14:42:12.229  WARN | [pinup] Attempt to find PuP_Trigger function but dmddevicePUP.dll is outdated. 
 [1] 2023/10/22 14:42:12.229  INFO | [pinup] Starting afm_113b... 
 [1] 2023/10/22 14:42:12.229  INFO | Added PinUP renderer. 
 [1] 2023/10/22 14:42:12.229  INFO | Transformation options: Resize=Stretch, HFlip=False, VFlip=False 
 [1] 2023/10/22 14:42:12.229  INFO | Applying default color to render graphs (#FFFF5820). 
 [1] 2023/10/22 14:42:12.262  INFO | Setting up 2-bit Passthrough Graph for 2 destination(s) [ ZeDMD, PinUP Writer ] 
 [1] 2023/10/22 14:42:12.262  INFO |   -> Connecting DmdDevice 2-bit Source to ZeDMD (Gray2 -> Gray2) - deduped 
 [1] 2023/10/22 14:42:12.279  INFO |   -> Connecting DmdDevice 2-bit Source to PinUP Writer (Gray2 -> Gray2) - not deduped 
 [1] 2023/10/22 14:42:12.279  INFO | Setting up 4-bit Passthrough Graph for 2 destination(s) [ ZeDMD, PinUP Writer ] 
 [1] 2023/10/22 14:42:12.279  INFO |   -> Connecting DmdDevice 4-bit Source to ZeDMD (Gray4 -> Gray4) - deduped 
 [1] 2023/10/22 14:42:12.279  INFO |   -> Connecting DmdDevice 4-bit Source to PinUP Writer (Gray4 -> Gray4) - not deduped 
 [1] 2023/10/22 14:42:12.279  INFO | Setting up RGB24 Passthrough Graph for 2 destination(s) [ ZeDMD, PinUP Writer ] 
 [1] 2023/10/22 14:42:12.279  INFO |   -> Connecting DmdDevice RGB24 Source to ZeDMD (Rgb24 -> Rgb24) 
 [1] 2023/10/22 14:42:12.279  INFO |   -> Connecting DmdDevice RGB24 Source to PinUP Writer (Rgb24 -> Gray4) 
 [1] 2023/10/22 14:42:12.279  INFO | Setting up Alphanumeric Passthrough Graph for 2 destination(s) [ ZeDMD, PinUP Writer ] 
 [1] 2023/10/22 14:42:16.972  INFO | [dll] Close(0) 
 [1] 2023/10/22 14:42:16.972  INFO | Closing up. 
 


64bit log NOT WORKING
------------------

 [1] 2023/10/22 14:43:34.912  INFO | Starting DmdDevice API 2.2.1 (x64) through Setup64.exe. 
 [1] 2023/10/22 14:43:34.949  INFO | Assembly located at C:\vPinball\VisualPinball\VPinMAME\DmdDevice64.dll 
 [1] 2023/10/22 14:43:34.949  INFO | Running in C:\vPinball\VisualPinball\VPinMAME 
 [1] 2023/10/22 14:43:34.970  INFO | Successfully loaded config from C:\vPinball\VisualPinball\VPinMAME\DmdDevice.ini. 
 [1] 2023/10/22 14:43:35.032  INFO | [serum] Determined altcolor path from assembly path: C:\vPinball\VisualPinball\VPinMAME\altcolor 
 [1] 2023/10/22 14:43:36.314  INFO | [dll] Open(0) 
 [1] 2023/10/22 14:43:36.314  INFO | [dll] PM_GameSettings(0, afm_113b, 0) 
 [1] 2023/10/22 14:43:36.314  INFO | Disabling game colorization 
 [1] 2023/10/22 14:43:36.314  INFO | Setting game name: afm_113b 
 [1] 2023/10/22 14:43:36.314  INFO | Setting color: #FFFF5820 
 [5] 2023/10/22 14:43:36.338  INFO | Starting ZeDMD frame thread. 
 [1] 2023/10/22 14:43:36.858  INFO | ZeDMD device found on port COM3 with a resolution of 128x32 LEDs 
 [1] 2023/10/22 14:43:36.858  INFO | Added ZeDMD renderer. 
 [1] 2023/10/22 14:43:36.885  WARN | [pinup] Attempt to find PuP_Trigger function but dmddevicePUP.dll is outdated. 
 [1] 2023/10/22 14:43:36.885  INFO | [pinup] Starting afm_113b... 
 [1] 2023/10/22 14:43:36.885  INFO | Added PinUP renderer. 
 [1] 2023/10/22 14:43:36.885  INFO | Transformation options: Resize=Stretch, HFlip=False, VFlip=False 
 [1] 2023/10/22 14:43:36.901  INFO | Applying default color to render graphs (#FFFF5820). 
 [1] 2023/10/22 14:43:36.934  INFO | Setting up 2-bit Passthrough Graph for 2 destination(s) [ ZeDMD, PinUP Writer ] 
 [1] 2023/10/22 14:43:36.934  INFO |   -> Connecting DmdDevice 2-bit Source to ZeDMD (Gray2 -> Gray2) - deduped 
 [1] 2023/10/22 14:43:36.955  INFO |   -> Connecting DmdDevice 2-bit Source to PinUP Writer (Gray2 -> Gray2) - not deduped 
 [1] 2023/10/22 14:43:36.955  INFO | Setting up 4-bit Passthrough Graph for 2 destination(s) [ ZeDMD, PinUP Writer ] 
 [1] 2023/10/22 14:43:36.955  INFO |   -> Connecting DmdDevice 4-bit Source to ZeDMD (Gray4 -> Gray4) - deduped 
 [1] 2023/10/22 14:43:36.955  INFO |   -> Connecting DmdDevice 4-bit Source to PinUP Writer (Gray4 -> Gray4) - not deduped 
 [1] 2023/10/22 14:43:36.955  INFO | Setting up RGB24 Passthrough Graph for 2 destination(s) [ ZeDMD, PinUP Writer ] 
 [1] 2023/10/22 14:43:36.955  INFO |   -> Connecting DmdDevice RGB24 Source to ZeDMD (Rgb24 -> Rgb24) 
 [1] 2023/10/22 14:43:36.955  INFO |   -> Connecting DmdDevice RGB24 Source to PinUP Writer (Rgb24 -> Gray4) 
 [1] 2023/10/22 14:43:36.955  INFO | Setting up Alphanumeric Passthrough Graph for 2 destination(s) [ ZeDMD, PinUP Writer ] 
 [1] 2023/10/22 14:43:42.457  INFO | [dll] Close(0) 
 [1] 2023/10/22 14:43:42.457  INFO | Closing up. 

 

Any help appreciated.

 

Best regards,

Christian 

Link to comment
Share on other sites

On 10/22/2023 at 3:25 PM, Westworld said:

log looks good (for me).

 

Did you launched vpx or VPinMAME Setup? Using only VPinMAME setup (and here of course the 64 bit version) removes one possible failure source

Then remember to click install again, then test and select the same game.

 

 

The tests are carried out from the VPinMAME setups, both installed clicked and the exakt same rom.  I've done a couple more hours troubleshooting but still no luck :( 

 

Are there any other log files that could lead to clues?

 

Link to comment
Share on other sites

  • Content Provider

Hello

I have it working with both my ZeDMD and my ZeDMD HD.

For information, I have:

It works with VPX 7.4 in 64 bits and 32 bits. I didn't install VPX 8 yet, but this can't be the problem (all the more if you have the virtual DMD working).

 

PS: I haven't tested with Pinup System, will try soon

Edited by zedrummer
Link to comment
Share on other sites

On 10/30/2023 at 9:42 PM, zedrummer said:

Some don't?

sorry, wrong English. All works fine with ZeDMD, I have some tables (mid 90's none DMD) failing in PinMame 64 bit (flippers hang, etc),  that's why I have some tables using 32 bit, but this is not related to ZeDMD.

 

So in other words: if a table works with 64 bit, it also works fine for me with ZeDMD.

Link to comment
Share on other sites

  • 1 month later...

The upcoming 2.2.2 version of DMDext and ZeDMD firmware version 3.4.0 will fix any currently known issues.

The 2.2.2 preview can be downloaded from https://github.com/PPUC/dmd-extensions/releases/tag/v2.2.2-zedmd
 

The 3.4.0 firmware is available via the update tool or directly from https://github.com/PPUC/ZeDMD/releases/tag/v3.4.0

 

Edited by mk47
Link to comment
Share on other sites

  • 2 months later...
On 11/1/2023 at 7:37 PM, zedrummer said:

No news from @Slemkryp...

 

I've got some energy to tackle this again now, just did a total reinstallation of Windows. Brand new Windows 11 Pro, installed vpin with baller installer (Nov 23). Installed driver for the ESP32 and activated ZeDMD in DmdDevice.ini.

Just to be sure, erased the ESP32 flash and used your tool to flash the firmware to the ESP32.

Started up VPinBallX (64 bit), EXACTLY the same issue, only black DMD :(

Fired up 32bit version of VPinBallX, everything works fine.
 

😭😭😭😭😭😭😭
 

The only thing that is not changed now is;

  • The ESP32 hardware itself
  • The ESP Shield from L atelier d Arnoz
  • The USB cable to the ESP32
  • The LED panels ;)
Link to comment
Share on other sites

On 12/18/2023 at 6:52 PM, mk47 said:

The upcoming 2.2.2 version of DMDext and ZeDMD firmware version 3.4.0 will fix any currently known issues.

The 2.2.2 preview can be downloaded from https://github.com/PPUC/dmd-extensions/releases/tag/v2.2.2-zedmd
 

The 3.4.0 firmware is available via the update tool or directly from https://github.com/PPUC/ZeDMD/releases/tag/v3.4.0

 

Just installed 2.2.2 but with the same issue. 

 

Tried 2.2.2 Beta 3 now and some progress at least. DMDDevice.log gives this

 

Quote

Unable to load DLL 'zedmd64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

 

Link to comment
Share on other sites

I just tested the latest versions of ZeDMD, and DMDext on 64bit. So I'm sure it basically works. But I understand that there're issues on your installation. Here some "errors" I've seen so far in some installations:

  • outdated serum.dll or serum64.dll (forgot to remove it)
  • outdated zedmd.dll or zedmd64.dll (forgot to remove it)
  • updated DmdDevice.dll but not DmdDevice64.dll
  • enabled ZeDMD instead of ZeDMD HD in DmdDevice.ini
  • blocked DLLs
  • outdated CP21x driver
  • Using an old ZeDMD version with latest DMDext or vice versa
  • VPX using an entirely different VPinMAME folder(!)
  • cheap cables that cause data transmission errors
  • PinMAME configured to not colorize a ROM or not to use DMDext

 

 


 

Link to comment
Share on other sites

I just did a fresh installation of VPX 10.8 and VPinMAME, everything  64bit on Windows 11 and used this DMDext Version:
https://ci.appveyor.com/api/buildjobs/el0qr8dc9tp3addd/artifacts/Installer%2FBuilds%2Fdmdext-2.2.2-SNAPSHOT-r1-x64-Release.zip

Works without any issues ... here.

For sure we need to find out what happens at @Slemkryp

Edited by mk47
Link to comment
Share on other sites

51 minutes ago, mk47 said:

I just did a fresh installation of VPX 10.8 and VPinMAME, everything  64bit on Windows 11 and the used this DMDext Version:
https://ci.appveyor.com/api/buildjobs/el0qr8dc9tp3addd/artifacts/Installer%2FBuilds%2Fdmdext-2.2.2-SNAPSHOT-r1-x64-Release.zip

Works without any issues ... here.

Fior sure we need to find out what happens at @Slemkryp

Thanks, did a fresh installation now also, vpx 10.8, vpinmame 3.6, everything on 64bit also, got this debug info in the log. Can't understand what zedmd64.dll is? Never seen that file?

 

I'm sure the issue is on my side, but can't figure out what i'm doing wrong!

 

 [1] 2024/02/23 20:13:10.060  INFO | Starting DmdDevice API 2.2.2-SNAPSHOT-r1 (93d3c52) (x64) through Setup64.exe. 
 [1] 2024/02/23 20:13:10.098  INFO | Assembly located at C:\Visual Pinball\VPinMAME\DmdDevice64.dll 
 [1] 2024/02/23 20:13:10.098  INFO | Running in C:\Visual Pinball\VPinMAME 
 [1] 2024/02/23 20:13:10.184  INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini. 
 [1] 2024/02/23 20:13:10.329  INFO | [serum] altcolor not found. 
 [1] 2024/02/23 20:13:12.825  INFO | [dll] Open(0) 
 [1] 2024/02/23 20:13:12.825  INFO | [dll] PM_GameSettings(0, afm_113b, 0) 
 [1] 2024/02/23 20:13:12.825  INFO | Disabling game colorization 
 [1] 2024/02/23 20:13:12.825  INFO | Setting game name: afm_113b 
 [1] 2024/02/23 20:13:12.825  INFO | Setting color: #FFFF5820 
 [1] 2024/02/23 20:13:12.825  INFO | Opening virtual display... 
 [9] 2024/02/23 20:13:13.096 ERROR | System.DllNotFoundException: Unable to load DLL 'zedmd64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at LibDmd.Output.ZeDMD.ZeDMDBase.ZeDMD_GetInstance()
   at LibDmd.Output.ZeDMD.ZeDMD.Init()
   at LibDmd.Output.ZeDMD.ZeDMD.GetInstance(Boolean debug, Int32 brightness, Int32 rgbOrder, String port)
   at LibDmd.DmdDevice.DmdDevice.SetupGraphs()
   at LibDmd.DmdDevice.DmdDevice.<>c__DisplayClass37_0.<CreateVirtualDmd>b__0()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart() 
 

 

 

Edited by Slemkryp
Link to comment
Share on other sites

  • Content Provider
2 hours ago, Slemkryp said:

Thanks, did a fresh installation now also, vpx 10.8, vpinmame 3.6, everything on 64bit also, got this debug info in the log. Can't understand what zedmd64.dll is? Never seen that file?

 

I'm sure the issue is on my side, but can't figure out what i'm doing wrong!

 

 [1] 2024/02/23 20:13:10.060  INFO | Starting DmdDevice API 2.2.2-SNAPSHOT-r1 (93d3c52) (x64) through Setup64.exe. 
 [1] 2024/02/23 20:13:10.098  INFO | Assembly located at C:\Visual Pinball\VPinMAME\DmdDevice64.dll 
 [1] 2024/02/23 20:13:10.098  INFO | Running in C:\Visual Pinball\VPinMAME 
 [1] 2024/02/23 20:13:10.184  INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini. 
 [1] 2024/02/23 20:13:10.329  INFO | [serum] altcolor not found. 
 [1] 2024/02/23 20:13:12.825  INFO | [dll] Open(0) 
 [1] 2024/02/23 20:13:12.825  INFO | [dll] PM_GameSettings(0, afm_113b, 0) 
 [1] 2024/02/23 20:13:12.825  INFO | Disabling game colorization 
 [1] 2024/02/23 20:13:12.825  INFO | Setting game name: afm_113b 
 [1] 2024/02/23 20:13:12.825  INFO | Setting color: #FFFF5820 
 [1] 2024/02/23 20:13:12.825  INFO | Opening virtual display... 
 [9] 2024/02/23 20:13:13.096 ERROR | System.DllNotFoundException: Unable to load DLL 'zedmd64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at LibDmd.Output.ZeDMD.ZeDMDBase.ZeDMD_GetInstance()
   at LibDmd.Output.ZeDMD.ZeDMD.Init()
   at LibDmd.Output.ZeDMD.ZeDMD.GetInstance(Boolean debug, Int32 brightness, Int32 rgbOrder, String port)
   at LibDmd.DmdDevice.DmdDevice.SetupGraphs()
   at LibDmd.DmdDevice.DmdDevice.<>c__DisplayClass37_0.<CreateVirtualDmd>b__0()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart() 
 

 

 

 

Try to download the file here https://github.com/PPUC/libzedmd/releases/download/v0.6.0/libzedmd-0.5.0-win-x64.zip

 and put it in your VPinMame directory.

Link to comment
Share on other sites

8 hours ago, zedrummer said:

 

Try to download the file here https://github.com/PPUC/libzedmd/releases/download/v0.6.0/libzedmd-0.5.0-win-x64.zip

 and put it in your VPinMame directory.

Thank you, I was hopeful that this would be the solution but unfortunately not. I get exactly the same error message even though zedmd64.dll is in the right folder. I became unsure if I was in the wrong vpinmame folder the whole time but the debug log is clear that dmddevice is loaded from that folder so it is correct.

 

I will do a completly fresh install of win11 again and take this from the top, one more time. Is there any chance at all that this might be a hardware issue?

Link to comment
Share on other sites

12 hours ago, Slemkryp said:

Can't understand what zedmd64.dll is? Never seen that file?


zedmd64.dll is the new 64bit "driver" for ZeDMD I wrote. The most recent version could be downloaded from https://github.com/PPUC/libzedmd/releases

 

But usually you won't see this file because it is embedded DmdDevice64.dll, but only if you use the not yet officially released preview version of DMDext:
https://ci.appveyor.com/api/buildjobs/el0qr8dc9tp3addd/artifacts/Installer%2FBuilds%2Fdmdext-2.2.2-SNAPSHOT-r1-x64-Release.zip

It is also described in the README: https://github.com/freezy/dmd-extensions?tab=readme-ov-file#zedmd

Link to comment
Share on other sites

23 minutes ago, mk47 said:


zedmd64.dll is the new 64bit "driver" for ZeDMD I wrote. The most recent version could be downloaded from https://github.com/PPUC/libzedmd/releases

 

But usually you won't see this file because it is embedded DmdDevice64.dll, but only if you use the not yet officially released preview version of DMDext:
https://ci.appveyor.com/api/buildjobs/el0qr8dc9tp3addd/artifacts/Installer%2FBuilds%2Fdmdext-2.2.2-SNAPSHOT-r1-x64-Release.zip

It is also described in the README: https://github.com/freezy/dmd-extensions?tab=readme-ov-file#zedmd

 

Thank you for the explanation!

I have now reinstalled Windows 11. Step by step, I am thinking of starting by installing VPX Installer 10.7.2 and then upgrading to the latest VPX 10.8?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...