Skip to content
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

Colorized Alphanumeric shows frames slowly on real PinDMDv3 #406

Closed
MikedaSpike opened this issue Aug 19, 2023 · 26 comments
Closed

Colorized Alphanumeric shows frames slowly on real PinDMDv3 #406

MikedaSpike opened this issue Aug 19, 2023 · 26 comments
Labels

Comments

@MikedaSpike
Copy link
Contributor

testing the colorized version of diner (https://vpuniverse.com/files/file/15442-diner-williams-1990-dmd-64-colors-serum-format/?tab=reviews&sort=newest#review-13700) and noticed that on the real DMD the frames are very slowly showed.
it even ques everything and shows .
This makes the DMD run behind the real frames.

To compare I made a video.
Top is a virtual DMD and lower is my realDmDv3
https://youtu.be/XdpYBEWACQs

Also added the log file of this run
DmdDevice.log

I tested this with 32 bit and 64 bit, and both shows the same result)

also when quitting Visual Pinball, the last frame is still on the DMD

@mkalkbrenner
Copy link
Contributor

Is that issue related to PinDMDv3?
Could someone reproduce the issue with ZeDMD or PIN2DMD?

@Roadblock62
Copy link

I can confirm that it's happening with my pindmd3 too.

@zesinger
Copy link
Contributor

zesinger commented Aug 20, 2023

@mkalkbrenner I confirm that on my ZeDMD with v3.3.0 there is a delay too, this is not the case with the virtual DMD.
EDIT: I'm not 100% sure, but it seems to happen only when there is a background displayed. I can't see how it could be linked to Serum as there is no delay on the virtual DMD.

@freezy
Copy link
Owner

freezy commented Aug 20, 2023

@zesinger @mkalkbrenner do you want me to investigate further, or are you handling this?

@zesinger
Copy link
Contributor

Let us have a look @freezy , not sure we'll solve it soon, but first we should look on our side

@studlygoorite
Copy link

Same with my PinDMD3, pretty sure all was good with an earlier version of Freezy though, if you need to to confirm, just say the word.

@zesinger
Copy link
Contributor

zesinger commented Sep 3, 2023

I have led some tests (x86 only):

  • problem appears with 2.2.0, no delay with 2.1.2
  • no problem with non-colorized alphanumeric tables, no problem with colorized-or-not standard tables, it is really specific to colorized alphanumeric tables

@freezy freezy added the bug label Sep 7, 2023
@MikedaSpike
Copy link
Contributor Author

Just for notice : same issue with 2.2.1

@mkalkbrenner
Copy link
Contributor

I don't see this delay with the current development build of DMDext:
https://youtu.be/B6D00oB4Co8?feature=shared&t=190

@freezy Maybe it is time for a new release?

@MikedaSpike
Copy link
Contributor Author

MikedaSpike commented Mar 2, 2024

I tested with dmdext-2.2.2-SNAPSHOT-r1-x64-Release on my real DMD, but it is still running slow
DmdDevice.log

@MikedaSpike
Copy link
Contributor Author

tested with v2.2.2 and v2.2.2-zedmd RC1 on my PinDMDv3, and still the same.
Looks like it is even slower now.

@studlygoorite
Copy link

I cannot use the new color alphanumeric DMDs with my PinDMD3 either because of this.

@Roadblock62
Copy link

Is there a firmware update for the PinDMD3 (call it 3.1) to convert it to a ZeDMD ?

@zesinger
Copy link
Contributor

zesinger commented Jul 3, 2024

I can not answer for the PinDMD owners, but PinDMD3.1 is based on an ESP32 microcontroller when PinDMD3 is not, so I guess it is not possible. Anyway an ESP32 is 8€/8$ (and a shield is 20 if you don't want to wire it yourself), so you could easily create one.

@Roadblock62
Copy link

Roadblock62 commented Jul 3, 2024

Wishful thinking. Hopefully someone will come up with a solution, and I'm willing to modify the hardware. There's a lot of us out here.

@MikedaSpike
Copy link
Contributor Author

Why rewriting firmware? Isn't it something wrong in the driver ? All is working, for now just the 2 colorizations of alphanumeric is very slow. Not sure if this is caused if the hardware of pindmdv3 is not processing the translation of the alphanumeric to images frames correctly, or that the libserum causes the issue. Strange part is that It is showing fine on the virtual dmd when this is enabled as well.

@zesinger
Copy link
Contributor

zesinger commented Jul 5, 2024

libserum can't cause the issue if it doesn't for all the devices (virtual DMD included), libserum just takes an uncolored frame and returns its colorized equivalent (basically receives a memory buffer and returns another one), so it is hardware independent.

@MikedaSpike
Copy link
Contributor Author

Sorry David, didn't want to make you angry.
So, if libserum sends to correct frames (memory buffers) to dmddevice.dll, is something not in sync for the pindmdv3 hardware ?
With other words, something that freezy can fix (but don't want to grab the time of him as VPE is already taking a lot of time).

@zesinger
Copy link
Contributor

zesinger commented Jul 5, 2024

You really didn't make me angry, just to make clear what it does, so you understand it can't come from there.
Some parts of dmdext are done by the device creators (all the code in this sub-directory https://github.com/freezy/dmd-extensions/tree/master/LibDmd/Output ), they are basically device drivers to communicate with the devices. If there are problems with only some specific devices, it is likely that the problem comes from here.

@MikedaSpike
Copy link
Contributor Author

I ordered an esp32 and put zeDmD firmware on it. Connected it to de Pindmdv3 and all is working now (thanks to @zesinger as well ) .
If it is just me, this issue can be closed

@Redwings12345
Copy link

Redwings12345 commented Dec 17, 2024

Problem solved. I reached out to ebor who created those 3 .cRZ’s
Hi ebor, i have a question for you. When your 3 serums(Diner, Bugs Bunny and Bad Cats) came out over a year ago i installed all 3, but couldn’t play them because of the lag on my pindmd v3. Those 3 looks like they were supposed to replace the numeric scores. But when I installed enthusiast back to the future .cRZ his has zero lag on my pindmd v3 dmd display. I was just wondering why yours has lag and his doesn’t have lag. I purchased a pindmd v3.1 powered by zedmd in October but it caused to many other problems that i had to return it. Yours did play perfect on it and looked beautiful. I’m thinking of switching to a lcd display just so i can play yours. But I really do like the look of a real dmd display.
He got back to me in about 5 minutes and sent me the diner.cRZ and said to try this one. I installed it and it ran perfect with zero lag on my pindmdv3. Then he sent me the other 2 which also ran perfect with zero lag.
I’m not sure what he changed on those 3 .cRZ’s but they all work now.

@doogie2301
Copy link

Problem solved. I reached out to ebor who created those 3 .cRZ’s Hi ebor, i have a question for you. When your 3 serums(Diner, Bugs Bunny and Bad Cats) came out over a year ago i installed all 3, but couldn’t play them because of the lag on my pindmd v3. Those 3 looks like they were supposed to replace the numeric scores. But when I installed enthusiast back to the future .cRZ his has zero lag on my pindmd v3 dmd display. I was just wondering why yours has lag and his doesn’t have lag. I purchased a pindmd v3.1 powered by zedmd in October but it caused to many other problems that i had to return it. Yours did play perfect on it and looked beautiful. I’m thinking of switching to a lcd display just so i can play yours. But I really do like the look of a real dmd display. He got back to me in about 5 minutes and send me the diner.cRZ and said to try this one. I installed it and it ran perfect with zero lag on my pindmdv3. Then he sent me the other 2 which also ran perfect with zero lag. I’m not sure what he changed on those 3 .cRZ’s but they all work now.

that's great news, is he planning on posting the updated versions? also i don't recall one for BTTF, where is that located?

@Redwings12345
Copy link

Redwings12345 commented Dec 17, 2024

He said he would update those 3 files on vpuniverse. When? I do not know.
bttf_a27.cRZ is a WIP on discord
Are you on vpforums user name doogie2301?
I might be able to help you.

@doogie2301
Copy link

ah ok, thanks. yes that is me.

@Redwings12345
Copy link

Check your messages on vpforums

@MikedaSpike
Copy link
Contributor Author

@zesinger , @freezy
This issue is resolved by using the CRZ files from Serum V2. I am not sure what the difference is, but perhaps that will address the other slow issue (#495 ) as well.
I'm happy with this solution and issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants