freezy / dmd-extensions

A toolbox for virtual pinball dot matrix displays.
GNU General Public License v2.0
129 stars 55 forks source link

Slowdown With Alphanumeric Display #242

Open Russell-S opened 4 years ago

Russell-S commented 4 years ago

Hi, I have just updated to version 1.8.0 specifically to use the new alphanumeric display option. However I have an issue when that option is enabled whereby the alphanumeric display slows down considerably and the sound stutters when there is fast scrolling in the alphanumeric display. The problem is not there if I have the alphanumeric option disabled and just use the virtualdmd option.

Here is a video showing the issue https://youtu.be/xcwfHk8xevY

The first half shows the table 'Diner' running fine just using the virtualdmd option and the second half shows the issue when the virtualdmd is disabled and alphanumeric option is enabled.

I have included the CPU usage on the backglass and as you can see there are no high spikes when the issue occurs but it could obviously still be a GPU issue.

Any help gratefully received as the alphanumeric option looks superb so it would be nice to get it working.

Thanks

freezy commented 4 years ago

Oh boy that's a hell of a stutter. The more segments are on, the more draw calls are sent to the graphics card, which takes time.

I'll will need to spend some time on this, it's not a trivial problem. What CPU are running just for reference?

Russell-S commented 4 years ago

Thanks for the reply. The CPU is an AMD FX6300 and the GPU is a nVidia GTX660Ti.

I have a nVidia GTX970 in my desktop PC so I will try that in the pinball cabinet and see if it improves matters.

I did wonder if the alphanumeric display was more GPU intensive than the DMD display.

Russell-S commented 4 years ago

Hi again, just a quick update.

This evening I replaced the graphics card with a GTX970 which is a significant upgrade from the GTX660Ti that was originally installed and I couldn't see any discernible difference to the stutter when using the alphanumeric option. If you need any further information then just let me know.

Thanks

freezy commented 4 years ago

Working on a GPU shader that should get rid of any kind stutter. First step without glow!

image

xantari commented 4 years ago

Sexy!!!