Author Topic: FBN Freesync/Gsync Support  (Read 3241 times)

Offline hoblingr

  • New Member
  • *
  • Posts: 9
  • Karma: +0/-0
FBN Freesync/Gsync Support
« on: October 10, 2020, 03:22:21 AM »
Hi FBN dev team,

I have a question with Freesync/Gsync technology which adapts the monitor refresh rate to the exact frame frequency value. It is great as in sonic for instance you get a perfect scrolling and not a shoppy one as the monotor adapt its refresh reate to 50 Hz if you play euro rom for instance.
Retroarch and mame support it (eg https://www.libretro.com/index.php/category/freesync/).
I didn't found a way to activate it in FBN.

Is this technology supported in FBN ? Or is it possible to add it ?

Regards,

Stef

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: FBN Freesync/Gsync Support
« Reply #1 on: October 10, 2020, 10:34:08 AM »
Well...
Maybe someone with Windows DirectX knowlege can help us:
The latest DirectX blitter we have is DirectX 9, will it work with that (or the older ones like DirectDraw D3D7)?
..If not, would someone be willing to help port a blitter to a newer DirectX?

best regards,
- dink

Offline hoblingr

  • New Member
  • *
  • Posts: 9
  • Karma: +0/-0
Re: FBN Freesync/Gsync Support
« Reply #2 on: October 11, 2020, 01:16:31 PM »
Thanks Dink for the response! :)
From AMD site : AMD FreeSync Requirements = An AMD FreeSync? capable monitor and a supported AMD Radeon? Graphics card or an AMD A-Series APU is required. AMD FreeSync currently works with applications using DirectX? 9 or higher.
So yes it works on directx 9.

From NVidia site, requirements = DESKTOP PC CONNECTED TO G-SYNC MONITOR:

Graphics Cards Supported: G-SYNC features require an NVIDIA GeForce? GTX 650 Ti BOOST GPU or higher.
Driver: R340.52 or higher
Operating Systems:

    Windows 10
    Windows 8.1
    Windows 7

Only speaks about drivers, not directx version.

From code point of view:
https://asawicki.info/news_1704_programming_freesync_2_support_in_direct3d
(...)
You don?t need to do anything special in your app to make it working! Just make sure it renders like you had V-sync on, which means IDXGISwapChain::Present called with SyncInterval = 1, not 0. Otherwise my monitor reports variable refresh rate still working, but tearing is visible, so it doesn?t make much sense.
(...)

Is it already coded like this ?

Regards,

Stef



Offline hoblingr

  • New Member
  • *
  • Posts: 9
  • Karma: +0/-0
Re: FBN Freesync/Gsync Support
« Reply #3 on: October 11, 2020, 01:21:39 PM »
In fact DirectX 9 was the solution! By choosing Directx 9 alt blitter I see the refresh rate of the monitor adapting to the game!
So it works!  :biggrin:

Thanks again!

Stef

Offline dink

  • Administrator
  • *****
  • Posts: 5014
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: FBN Freesync/Gsync Support
« Reply #4 on: October 11, 2020, 03:26:31 PM »
Excellent, glad it works :)