1.2.1: slow map but no indication as to why

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
jengelh
Posts: 41
Joined: Sat Jun 24, 2006 10:21
Contact:

1.2.1: slow map but no indication as to why

Post by jengelh »

Phobiata (I think it's this one: http://www.doomworld.com/idgames/index.php?id=14248 ) is sort of "unusable", that is, I get like one frame every 5 seconds or even less. The implicit fps counter available through `stat fps` however shows about "frame=50-80 ms", which would mean drawing is not the problem and that I would get a lot more out of this. Later I saw that this is in fact a DoomLegacy map. Would you take a look, or how can one figure out what is causing the slowdown?
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

Re: 1.2.1: slow map but no indication as to why

Post by Rachael »

It looks to me like a looping ACS script. Graf can correct me if I am wrong, though, I haven't opened this up in DoomBuilder yet.

Whatever is causing the slowdowns is eating a lot of processor power. I'm surprised it even runs.
Spoiler: EDIT:
Maybe Legacy just handles this script a little better? I've noticed some slowdowns in Legacy, too, though...
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: 1.2.1: slow map but no indication as to why

Post by Graf Zahl »

1) Phobia is not supported by GZDoom
2) The performance issues with it are caused by its use of 3D floors. Quite often they are set up so that they completely block the view but the clipper doesn't catch it. Plus, rendering 3D floors is a bit expensive and this WAD uses lots of them. Both of these combined cause the speed problem.

2) is one of the reasons for 1). The other is some Fragglescript incompatibilities.
jengelh
Posts: 41
Joined: Sat Jun 24, 2006 10:21
Contact:

Re: 1.2.1: slow map but no indication as to why

Post by jengelh »

I am not too convinced though, the other maps in the set seem — from a subjective standpoint — use at least as many 3d floors and still perform good.
Locked

Return to “Closed Bugs”