cacouser wrote:That's the cap with vsync on, with it off, fps goes above 60, but doesn't look completely "smooth" to my eye.
I guess that's because of tearing.
cacouser wrote:I believe the shortcuts were from using ctrl + arrow keys
The particular system shortcut cannot be disabled. Remap it to some other combination if it keeps annoying you. The same also applies to the active corners.
cacouser wrote:That's the cap with vsync on, with it off, fps goes above 60, but doesn't look completely "smooth" to my eye.
Sounds like 56Hz may be your refresh rate then. About this Mac -> More Info -> Overview -> System Report -> Hardware -> Graphics/Display should tell you the refresh rate of the monitor I believe. For example mine says "Resolution: 1600 x 1200 @ 60 Hz".
As long as you're getting at least 35fps you're getting a full frame rate as far as Doom is concerned, so if 56fps feels smooth to you that's perfectly fine.
Actually, the way it looks to me, is that everything is smooth, then suddenly, there's a pause, or a moment of jerkiness. While the *average* FPS remains above 60, I believe the *maximum frame rendering time* (arguably the more important metric for "smoothness") goes well above 17ms in the same period.
Time for another round of testing! A few of you may have noticed that the OS X back end got its OS requirement reduced to 10.4 as well as PowerPC support. Just a moment ago I got word from _mental_ that the back end is now running smoothly on all versions of OS X. So it seems like the only down side at this point is no joystick support on 10.4 (API apparently changed in 10.5). I can live with that, so I'm looking to merge this into master soon.
If you have a Mac, especially if you have a PowerPC, please test the latest osx_native build and compare to the normal SDL build: http://devbuilds.drdteam.org/zdoom-mac/ Please report what OS X version you're using when posting feedback.
Alright, after a few test runs using my iBook G4 (a 1.33 GHz PowerPC G4 with 1.5 GB of RAM running Mac OS X 10.5.8), I found these results between the two versions.
On Ultimate Doom E4M1, having killed the first wave of shotgunners:
Native build, 640x480 fullscreen: ~28-30 FPS.
SDL build, 640x480 fullscreen: ~19 FPS (with additional keyboard lag).
Native build, 640x480 windowed: ~38-41 FPS.
Native build, 1024x768 fullscreen: 18 FPS.
This pretty conclusively shows that the OSX-native build outperforms the SDL build.
I also ran some tests on Doom PWADs with known performance issues...
kdizd_12.pk3 Z1M1 at 640x480 windowed: ~30-35 FPS, amazingly. (Though camera textures are broken, in what blzut3 and I believe is a PPC-related issue.)
PAR.wad E1M1 at 640x480 windowed: ~28-30 FPS, though I didn't make it far due to an unrelated bug involving damaging floors that has already been investigated.
I fixed a few more errors in older OS X support, including some endian issues in ACS. I cannot even express how broken it was (and potentially it is) on big endian platforms like PowerPC. I think it's better to wait for a new build with these changes included. I guess, the process is automated, maybe Blzut3 can trigger it when he will read this.
Intel is not affected, so the current build can be used too.
The latest build is available at the usual location.
Posting meleemario's test results for PowerBook G4 M8592, 800 Mhz, 512 MB of RAM running 10.4.11:
Spoiler: SDL
General
No input lag whatsoever despite low FPS or FPS drops, no sound delays of any kind, IDDQD and IDFA used, and IDCLEV used to warp to certain levels for testing, IDCLIP used to clip through the Icon Of Sin for instant death. It pretty much felt like a normal game of Doom (when one uses cheats).
Doom 2 640x480 Windowed
Title Screen: 58-61 MS, 14-17 FPS
MAP01: jumped into 100+ MS, framerate stayed the same throughout play, 48-59 MS, constantly fluctuating
MAP07: 10-20 FPS, FPS stays between 13-15 during intense action
MAP08: Dropped between 8-13 FPS during intense action, triggered fight between Cyberdemon and Barons of Hell during level playthrough, mostly stayed at 15 FPS otherwise
MAP28: 8-12 FPS during intense action, mostly stayed between 13-15 FPS throughout
MAP30: Hid in the corner for a bit, 17/18 FPS during this, woke up the monsters, 14/15 FPS, 12/13 FPS during action, one spike to 18 FPS, 10 FPS during the death of the Icon of Sin
General Notes
FPS goes between 18-20 on the stats screen always.
Doom 2 640x480 Full Screen
MAP01: 25-31 FPS throughout, one drop to 17 FPS, but mostly stayed constant
MAP07: 21-25 FPS during Mancubi action, 18-21 FPS during Arachnotron action
MAP08: 13-19 FPS during intense action, triggered fight between Cyberdemon and Barons of Hell during level playthrough, was at 23-26 FPS
MAP28: 15-21 FPS during intense action, mostly stayed at that number throughout play of the level, lots of spikes as high as 28 FPS, and as low as 8-10 FPS. The FPS was very unstable on this level with so much jumping around
MAP30: Hid in the corner for a bit, 29-31 FPS during this, mostly 30, woke up monsters, 19-23 FPS, 14 FPS at the death of the Icon of Sin
General Notes
FPS goes between 36/37 on the stats screen always.
Doom 2 320x240 Windowed
MAP01: 46-58 FPS throughout, occasional drops to 35 FPS, but they don’t last long
MAP07: 42-45 FPS during Mancubi action, sometimes jumping to 50+ FPS, 31-38 FPS during Arachnotron action
MAP08: 35-40 FPS constant, triggered fight between Cyberdemon and Barons of Hell during level playthrough, spikes to 50+ FPS without action
MAP28: 47-51 FPS constant, even during intense action, occasional drops to 36 FPS and even 23 FPS noted
MAP30: Hid in the corner for a bit, 60/61 FPS, mostly 60, woke up monsters, 58 FPS, intense action before killing the Icon of Sin, 38-46 FPS, sometimes drops a little lower than 38, 29 FPS during the Icon of Sin’s death
General Notes
FPS goes between 60/61 on the stats screen always.
The Ultimate Doom 640x480 Windowed
Title Screen: 15/16 FPS
E4M1: 13-17 FPS during intense action (shotgunners), this was the framerate consistent throughout the playthrough of the level, occasional spikes to 28 FPS
E4M2: 7-15 FPS during intense action, occasional spikes to 15-17 FPS, but the framerate was generally with the former rather than the latter.
General Notes
20/21 FPS at the states screen always.
The Ultimate Doom 640x480 Full Screen
E4M1: 22-24 FPS with intense action (shotgunners), FPS decreased dramatically after the 1st wave of Shotgunners were killed, not sure what that was about. Lots of fluctuation in framerate as high as 31 FPS to as low as 13 FPS, 34/35 FPS with no action
E4M2: 16-19 FPS with intense action (shotgunners), sometimes drops to 11 FPS, 20-29 FPS with no action
General Notes
38 FPS at the stats screen always.
The Ultimate Doom 320x240 Windowed
E4M1: 43-46 FPS with intense action (shotgunners), 52-54 FPS with no action, occasional drops to 35-39 FPS also noted during intense action
E4M2: 29-36 FPS during intense action, 54-60 FPS with no action
General Notes
60 FPS at the stats screen always
Spoiler: Cocoa
General
No input lag whatsoever despite low FPS or FPS drops, no sound delays of any kind, IDDQD and IDFA used, and IDCLEV used to warp to certain levels for testing, IDCLIP used to clip through the Icon Of Sin for instant death. It pretty much felt like a normal game of Doom (when one uses cheats). Ultimate Doom of particular note seems to run perfectly.
Doom 2 640x480 Windowed
Title Screen: 34-36 FPS
MAP01: 38-42 FPS throughout, occasional spikes to 44 FPS
MAP07: 32-35 FPS during Mancubi action, 30-37 FPS during Arachnotron action
MAP08: Wild fluctuation noted throughout, it mostly stayed at 31-41 FPS throughout, the fight between Barons of Hell and Cyberdemon was triggered during play, 21+ FPS noted in the room with the Barons where the Cyberdemon used to be, 21-27 FPS in the Yellow Key room (Barons of Hell & Imps)
MAP28: 31-35 FPS during intense action, 28-30 FPS during big Arachnotron fight (the room that also contains the 2 Spider Masterminds), 36-41 FPS without action
MAP30: Hid in the corner for a little bit, 40-42 FPS during this, no noticeable change in FPS when waking up the monsters, 35-38 FPS during intense action, 26-33 FPS during the death of the Icon of Sin
General Notes
44-47 FPS on stats screen always
Doom 2 640x480 Full Screen
MAP01: 36-41 FPS
MAP07: 27-31 FPS during Mancubi action, 25-30 FPS during Arachnotron, 34/35 FPS without action
MAP08: The fight between Barons of Hell and Cyberdemon was triggered during play, 33-35 FPS while playing through the level, some spikes up 37-39 FPS, some drops to 29 FPS, , seemed to stay at 33-39 FPS without action, mild flucuation noted
MAP28: 27-34 FPS in Arachnotron room with Spider Masterminds, drops as low as 24 FPS noted, 39/40 FPS without intense action
MAP30: Hid in the corner for a bit, 40-42 FPS during this, woke up monsters, 24-31 FPS during intense action, 29 FPS during the death of the Icon of Sin
General Notes
45-47 FPS on the stats screen always.
Doom 2 320x240 Windowed
MAP01: 158-168 FPS, drops as low as 124 FPS noted
MAP07: 99-111 FPS during Mancubi action, dropped as low as 86 FPS, 90-106 FPS during Arachnotron action
MAP08: The fight between Barons of Hell and Cyberdemon was triggered during play, 132-170 FPS, drops as low as 107 FPS noted, 133-145 FPS without action
MAP28: 85-111 FPS during intense action, particularly in Arachnotron room with Spider Masterminds, FPS has been all over the place on this level, very difficult to get a good reading, 151-163 FPS without any action, highest FPS was 170, the lowest was 80 FPS, very wild fluctuations on this particular level
MAP30: Hid in the corner for a bit, 174-176 FPS, some drops to 171/172 FPS, woke up monsters, 116-130 FPS, 97-112 FPS during the death of the Icon of Sin
General Notes
Wild fluctuation between 197-215 FPS on the stats screen. Lots of wild fluctuation in FPS noted throughout testing, was hard to get an accurate reading at times
The Ultimate Doom 640x480 Windowed
Title Screen: 35 FPS constant
E4M1: 33-35 FPS with intense action (shotgunners), occasional drops to 31 FPS, mostly consistent with the former, 41-43 FPS without action
E4M2: 30-35 FPS during intense action, 39/40 FPS without action, mostly 39
General Notes
Stats screen was at 46 FPS with occasional spikes to 47/48 FPS always
The Ultimate Doom 640x480 Full Screen
E4M1: 33-37 FPS during intense action (shotgunners), 40/41 FPS without action
E4M2: 29-34 FPS during intense action, noted dramatic drop to 17 FPS fighting the Cyberdemon, 37-39 FPS without action
General Notes
Stats screen was at 45/46 FPS with occasional spikes to 47/48 FPS always
The Ultimate Doom 320x240 Windowed
E4M1: 116-123 FPS during intense action (shotgunners), occasional drops to 95 FPS noted (in room with NIN secret), 171-180 FPS without action, 208-211 FPS at stats screen
E4M2: 112-124 FPS during intense action, 133-136 FPS without action, stats screen fluctuates from 210/211 FPS to 215-218 FPS