-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dmd-ext 2.3.0 not working with zedmd #516
Comments
Did you try the latest v4.1.0 libzedmd that seems to fix comm issues with the device? |
Not sure if I can follow you properly. |
Markus Kalkbrenner mentioned zedmd 4.1.0 recently in one of his YT videos, but I don't think it's publicly available... |
You have a 128x32 zedmd using USB right? Then get these files: I see that you are trying to set the brightness values and rgb values manually. Avoid this for now to ensure you get it to work first. |
Thank you for the quick assistance. |
Just tried out the preliminary zeDMD 4.1.0 firmware from thelink above with dmd-ext 2.3.0. |
Did you update ZeDMD's firmware, too? |
Yes, of course. (I used zeDMDUpdater and picked the bin file manually) In want to point out that there is really little software involved. It's Setup64.exe & the vpinmame DLL plus the dmddevice64.dll in order to test if a ROM is working and showing something on the DMD. (VirtualDMD is working btw.) When using dmd-ext 2.3.0, VPinMAME terminates after the initialization of zeDMD. You can see the Logo + colored border for 1/2 second. The moment, the first content from the rom is supposed to appear on the DMD, the DMD turns black and the windows process (Setup64.exe) or VisualpinballX.exe crashes. My technical understanding is that irrespective of the zeDMD firmware, dmd-ext/VPinMAME should never crash, right? Even if I have a toaster connected to COM3, dmd-ext should continue to run. So I assume there must be something fixed in dmd-ext, not the zeDMD firmware. Please correct me if I'm wrong. Also, if there is something wrong on my side, I'm willing to learn what it is. But since dmd-ext 2.2.2 runs just fine, I cannot imagine what this should be. We can also chat on Discord (see the link above, you will find me). |
You set them via the custom PCB like you mentioned. If possible add some dmddevice.log files. It's the only way for us to attempt to help you. A screenshot of your entire vpinmame directory with all files would also be nice. |
dmddevice.log attached.
|
The data goes: VPM (or whatever host) -> dmdext -> zedmd.dll -> usb -> zedmd firmware -> panel Anything between zedmd.dll and the panel are potential error sources in your setup, 2.2.0 uses a different zedmd.dll for example. I'm assuming that the virtual display is working fine even in your setup, that leaves the zedmd.dll -> ... -> panel part that I can only partly control. According to your log, it seems to hang at the ZeDMD initialization. I would go ask on the zedmd discord, I'm sure @mkalkbrenner or @zesinger will have a look. |
Oh, and if it crashes and the log doesn't contain a stack trace, then that's definitely a crash within zedmd.dll. |
Make sure you copy everything over from the libzedmd zip file. Just drag and drop into the vpinmame folder. |
Are the libzedmd files needed at all? They are mentioned nowhere. Not in the installation instructions, nor are they part of the dmd-ext .msi or .zip file. No other user would have these files in his dmd-ext installation..... |
They are bundled in dmdext.exe and dmddevice.dll. However, if you place zedmd.dll along those files, the external DLL will take precedence when loading. |
OK so I looked into your previous dmddevice.ini file you supplied in the discord, tried it myself and.. works fine. At this point I think that you are not flashing the ZeDMD correctly. It must 100% be related to the ZeDMD firmware now, almost no doubt. Can you share how you flash it? Does the 4.1.0 appear on your zedmd at all? |
zeDMDupdater, so esptool. But then again - I'm still refusing to believe some of that stuff. I flashed 4.0.2 now multiple times. And this is working just fine (with dmd-ext 2.2.2). So, why should flashing of 4.1.0 fail, but 4.0.2 succeed every time? |
You can hard reset your ESP32 through the command line too, might be worth a shot.
Flash the 4.1.0 firmware through the command line too, and don't forget that 4.1.0 can only be used with the latest libzedmd 0.7.6 files I shared. Flashing command example:
|
Hello, I wanted to briefly report on the latest status:
Thank you for your time and patience! I filed this bug because I assumed it was a common problem and other people besides me would benefit from fixing it. It is not (and was not) about personal support (I would not have bothered you with that). I still think it's a general problem (in libzedmd) - in my opinion, that's obvious to see in my summary above. I'll let @mkalkbrenner know. |
Please see below for the conversation that I had in the #help-zedmd channel of the "Colorizing DMD and Serum" Discord server.
After some assistance & feedback from Zedrummer & others, it turned out, that my config and installation is ok. We tried multiple versions of pinmame to sort out issues. dmd-ext 2.3.0 is not working with zedmd (3.6.0 & 4.0.2) while dmd-ext 2.2.0 is working fine.
Yesterday a friend of mine faced the very same issue. He was doing a fresh installation on his own (setting up a new PC for pinball). He also had to go back to 2.2.0 in order to get zedmd running.
Here is the first part of the discord conversation: (https://discord.com/channels/1053573768536150017/1088882361225195690/1308530343359545418)
When starting a ROM based table, ZeDMD shows the logo for 1/2 second, then goes blank and a few seconds later, VPX terminates before being able to show the table on screen. Everything is working fine with ZeDMD 4.0.2 and dmdext 2.2.0. All in all, I installed dmdext 2.3.0 four times, always trying something different and was going back inbetween to 2.2.0.
I'm using VPX 10.8 RC5 GL 64 bit, VPinMAME 3.6.0-998 64 bit.
I have renamed the altcolor folder to avoid loading any colorization file.
I have used my untouched dmddevice.ini as well as the one from dmdext Github project.
Also, I tried a minimized dmddevice.ini like this - one time with giving the port, one time without:
[global]
[zedmd]
enabled = true
brightness = 4
rgborder = 3
port = COM3
I also unplugged my other ESP (Wemos D1), which controls the LED matrixes over COM6.
I might be mistaken, but I think there is something broken with either dmdext or ZeDMD. I would assume that for my otherwise working setup with dmdext 2.2.0, I see no reason why this should now fail with dmdext 2.3.0. I will eventually file an issue for dmdext later.
The text was updated successfully, but these errors were encountered: