Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Frame limiters for OpenGL -- could they be used on macOS?


  • Please log in to reply
6 replies to this topic

#1 wineskin_fan

wineskin_fan

    Lurker

  • Members
  • 3 posts
  • Graphics Card:ATI Radeon HD 2600 Pro 256 MB
  • Operating System:OS X 10.11 (El Capitan)

Posted 22 June 2017 - 11:14 AM

I mean these two OpenGL frame limiters:

libstrangle

frapix

They seem to work fine with Wine on Linux, and it might be nice to have frame capping (apart from v-sync) available for macOS too... One more thing, on Linux these apps use something called LD_PRELOAD, so I guess these two links might help:

Where is LD_PRELOAD under Mac OS X?

DYLD_LIBRARY_PATH & DYLD_INSERT_LIBRARIES not working

#2 ovvldc

ovvldc

    Master Member

  • Members
  • 1,078 posts
  • Graphics Card:Intel HD5000
  • Operating System:macOS 10.12 (Sierra)
  • I like to play:stories

Posted 22 June 2017 - 11:42 AM

Apparently, Staging 2.10 added a preloader for MacOS as well, but getting it to work was a bit messy. YMMV.

Edit: here is the discussion of the preloader patch: http://portingteam.c...e/page__st__510

#3 NRG

NRG

    Champion Member

  • Members
  • 604 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:Other OS/Not specified

Posted 22 June 2017 - 03:44 PM

View Postwineskin_fan, on 22 June 2017 - 11:14 AM, said:

I mean these two OpenGL frame limiters:

libstrangle

frapix

They seem to work fine with Wine on Linux, and it might be nice to have frame capping (apart from v-sync) available for macOS too... One more thing, on Linux these apps use something called LD_PRELOAD, so I guess these two links might help:



if you need a frame limiter with your wineskin's game wrappers try this:

http://portingteam.c...d-and-wineskin/

#4 wineskin_fan

wineskin_fan

    Lurker

  • Members
  • 3 posts
  • Graphics Card:ATI Radeon HD 2600 Pro 256 MB
  • Operating System:OS X 10.11 (El Capitan)

Posted 22 June 2017 - 04:52 PM

View PostNRG, on 22 June 2017 - 03:44 PM, said:

if you need a frame limiter with your wineskin's game wrappers try this:

http://portingteam.c...d-and-wineskin/

I actually want to use it with a DirectDraw game, so I don't think Anti-lag would help... And maybe a native solution would be better, but how to get these two apps working on macOS?

#5 NRG

NRG

    Champion Member

  • Members
  • 604 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:Other OS/Not specified

Posted 23 June 2017 - 04:57 AM

Linux's OpenGL are more advanced that the one for macOS so I don't know if you can use them


what's  the wine port you want to use with frame limiter?

#6 wineskin_fan

wineskin_fan

    Lurker

  • Members
  • 3 posts
  • Graphics Card:ATI Radeon HD 2600 Pro 256 MB
  • Operating System:OS X 10.11 (El Capitan)

Posted 23 June 2017 - 07:39 PM

View PostNRG, on 23 June 2017 - 04:57 AM, said:

Linux's OpenGL are more advanced that the one for macOS so I don't know if you can use them

That's what I'm afraid of too. :( Let's hope it's not the case.

View PostNRG, on 23 June 2017 - 04:57 AM, said:

what's  the wine port you want to use with frame limiter?

I would like to try this as a workaround for the Wine bug Surface flips ignore vsync flags in ddraw (Claw, Diablo II, Imperium Galactica II, Incoming, Panzer General II, Unreal), especially with Captain Claw (it somewhat works when using X11 instead of the Mac Driver, but then the performance is really poor in heavier scenes). I'm sure I could find other uses for such a frame limiter as well...

#7 NRG

NRG

    Champion Member

  • Members
  • 604 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:Other OS/Not specified

Posted 23 June 2017 - 09:15 PM

very strange.  I just create a new wrapper for Captain Claw and it works  well
(smooth, using mac os x driver instead x11)


... I have a notebook with core 2 duo 2.53 ghz and nvidia 9800m GTS with Yosemite 10.10.5

I used wine-staging 2.7 as wineskin's engine




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users