ATTN Mac users: Cocoa back end testing needed

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: ATTN Mac users: Cocoa back end testing needed

Post by _mental_ »

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.
Blzut3
 
 
Posts: 3215
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: ATTN Mac users: Cocoa back end testing needed

Post by Blzut3 »

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.
User avatar
cacouser
Posts: 17
Joined: Sun Jun 23, 2013 10:50 pm

Re: ATTN Mac users: Cocoa back end testing needed

Post by cacouser »

I guess that's because of tearing.
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.

Don't really notice tearing either
Blzut3
 
 
Posts: 3215
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: ATTN Mac users: Cocoa back end testing needed

Post by Blzut3 »

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.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: ATTN Mac users: Cocoa back end testing needed

Post by wildweasel »

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.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: ATTN Mac users: Cocoa back end testing needed

Post by _mental_ »

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.
Blzut3
 
 
Posts: 3215
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: ATTN Mac users: Cocoa back end testing needed

Post by Blzut3 »

_mental_ wrote:I cannot even express how broken it was (and potentially it is) on big endian platforms like PowerPC.
I know Randi fixed some issues in ACS when initially doing the PowerPC port. From your changes, I'm guessing he only tested Hexen ACS though.
Blzut3
 
 
Posts: 3215
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: ATTN Mac users: Cocoa back end testing needed

Post by Blzut3 »

Posting meleemario's test results for PowerBook G4 M8592, 800 Mhz, 512 MB of RAM running 10.4.11:
Spoiler: SDL
Spoiler: Cocoa
Post Reply

Return to “General”