Frictional Games Forum (read-only)
Vsync doesn't work - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Penumbra Series (https://www.frictionalgames.com/forum/forum-22.html)
+---- Forum: Mac - Penumbra (https://www.frictionalgames.com/forum/forum-26.html)
+---- Thread: Vsync doesn't work (/thread-3153.html)



Vsync doesn't work - bugmenot - 01-24-2010

Hi there. Just bought the pack and I can't seem to be able to get Vsync to work. I'm on mid 09 MBP with 9600GT, Snow Leopard with everything up to date.

It says Vsync is on in the menu, but I still get tons of tearing


RE: Vsync doesn't work - juandemarco - 02-06-2010

Same here, I'm using a 27" iMac i5 with an ATI HD4850 graphics chip, tons and tons of tearing...


RE: Vsync doesn't work - juandemarco - 04-08-2010

Sooo, a new patch is out and the vsync problem is still there... anyone?


RE: Vsync doesn't work - Urkle - 04-11-2010

well looks like that never got implemented in the engine for Mac OS X.
And further looking into things It's not possible due to how SDL "wraps" things and it doesn't expose an interface to do so on the Mac.. bummer. So unfortunately for Penumbra I can not provide VSync for Mac OS X.. But I will look into getting it in there in Amnesia.`


RE: Vsync doesn't work - juandemarco - 04-11-2010

Just out of curiosity, if you're not using SDL (with OpenGL I suppose?) for Amnesia what are you using? I was planning to get acquainted with those technologies but if there's something better (and that portable) I might avoid wasting my time Smile


RE: Vsync doesn't work - Urkle - 04-11-2010

We actually are still using SDL for amnesia. What I was going to look at doing was either "modify" SDL to add in the extra functionality, see what SDL 1.3 has, or Just create a Mac specific OpenGL "setup" class in the game engine. (And probably keep mouse and video using SDL)

However, none of these are "simple" fixes so I'd rather not risk lots of new issues in Penumbra by making them to the old engine.

For pure portable, SDL is still "it" though you might want to play with SDL 1.3 (no official release though) as it has a bit more functionality SDL 1.2.
OOh.. and it looks like SDL 1.3 has support setting the vsync (SDL_GL_SetSwapInterval)


RE: Vsync doesn't work - juandemarco - 05-13-2010

Just a little update: I have found a way to attenuate the issue! It's not solved, vsync is still not present of course, but setting the right resolution made it almost unnoticeable. Let me explain: on the iMac 27" native resolution is 2560x1440 but the game doesn't allow you to go over 1920x1080. I was playing at that resolution and the absence of vsync resulted in a very annoying horiziontal line moving vertically across the screen as I looked around or moved. I have modified the game config file and have manually set the resolution to 2560x1440 and though vsync is still not present, the annoying horizontal line is gone and the game is playable! Hope this helps others with the iMac 27 who are having the same issue.
Cheers
Juan

PS. The config file is under ~/Library/Preferences/Frictional Games/Penumbra/Overture/settings.cfg