Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04175 Speed Major Always Jan 7, 2011, 12:56 Jan 7, 2011, 19:20
Tester haynor666 View Status Public Platform MAME (Official Binary)
Assigned To Resolution Duplicate OS Windows XP (32-bit)
Status [?] Closed Driver
Version 0.141 Fixed in Version Build I686
Fixed in Git Commit Github Pull Request #
Summary 04175: astdelux: Game slowndown when artwork is used with directdraw
Description When you are using artwork (backdrop) with directdraw game is very low. Without artwork everything is fine.

Also if you switch to direct3D game works well with artwork.
Steps To Reproduce Start game with and without artwork.

Start game with artwork first in directdraw (no hardware stretching) then with Direct3D.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems astdelux
Attached Files
 
Relationships
related to 04176Resolved Speed throttle doesn't work properly in some games with artwork, -mt and -video ddraw. 
Notes
4
User avatar
No.07025
Tafoid
Administrator
Jan 7, 2011, 14:39
edited on: Jan 7, 2011, 14:43
Direct Draw has always required more processor speed to display artwork than Direct 3D. The slowdown is expected when using any external artwork files - especially with Direct Draw. If I remember correctly, Direct Draw redraws the whole artwork every frame in software so is much slower than Direct 3D which uses overlay functions of your video card to display the artwork (much faster than software).

Over time, the behavior has been pretty consistent. I don't see the issue as there has not been a regression.

E:\DesktopF\MAME>mame115 astdelux -artpath e:\emulator\arcade\mame\artwork -nothrottle -video ddraw -str 6
Average speed: 30.07% (5 seconds)

E:\DesktopF\MAME>mame120 astdelux -artpath e:\emulator\arcade\mame\artwork -nothrottle -video ddraw -str 6
Average speed: 31.06% (5 seconds)

E:\DesktopF\MAME>mame125 astdelux -artpath e:\emulator\arcade\mame\artwork -nothrottle -video ddraw -str 6
Average speed: 30.89% (5 seconds).

E:\DesktopF\MAME>mame130 astdelux -artpath e:\emulator\arcade\mame\artwork -nothrottle -video ddraw -str 6
Average speed: 30.63% (5 seconds)

E:\DesktopF\MAME>mame135 astdelux -artpath e:\emulator\arcade\mame\artwork -nothrottle -video ddraw -str 6
Average speed: 30.80% (5 seconds)

E:\DesktopF\MAME>mame140 astdelux -artpath e:\emulator\arcade\mame\artwork -nothrottle -video ddraw -str 6
Average speed: 29.77% (5 seconds)

and current 0.141:
E:\emulator\arcade\mame>mame astdelux -artpath e:\emulator\arcade\mame\artwork -
nothrottle -video ddraw -str 6
Average speed: 30.29% (5 seconds)
User avatar
No.07026
haynor666
Tester
Jan 7, 2011, 15:24
OK, it seems all vector games have this issue.

BTW. With throttle off, no frame skipping game runs at 900 % of speed so my processor is sufficient for this so this is not about power.
User avatar
No.07027
Fujix
Administrator
Jan 7, 2011, 18:23
Yes heynor, it is strange.
If I use -mt and ddraw, speed throttling becomes out of control.

It works at 58% with a speed throttle and no skip, but if I disable throttling, it works at more than 1000%.

In -nomt mode, it works normally, no skip is at 58%, 10-frame skip is at 280%.
User avatar
No.07030
Fujix
Administrator
Jan 7, 2011, 19:18
I made new entry 04176 for the throttle issue by mistake. I set your credit there.

Let me close this for duplicate, thank you.