weixin_39919195
weixin_39919195
2020-12-07 10:49

Opengl vs vulkan vsync values

Maybe the new opengl vsync options could be cnahged to better reflect what was choosen for vulkan?

I mean... right now is this way: Opengl -1 = Adaptive sync 0 = Off 1 = On n = Sync to refresh rate / n.

Vulkan 0 = Adaptive VSync 1 = Off 2 = Mailbox (VSync with uncapped FPS) 3 = On

... i propose to change opengl to: 0 = Adaptive VSync 1 = Off 2 = On n>2 = Sync to refresh rate / (n-1).

What do you think?

Thanks for MangoHud!

该提问来源于开源项目:flightlessmango/MangoHud

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39725193 weixin_39725193 5月前

    these values directly correlate with how it's programmed in OpenGL, I think it makes it unnecessarily complicated and messy to change them

    点赞 评论 复制链接分享
  • weixin_39561577 weixin_39561577 5月前

    these values directly correlate with how it's programmed in OpenGL, I think it makes it unnecessarily complicated and messy to change them

    I don't disagree, but I'd guess that a big chunk MangoHud's users are coming from the "I just switched to Linux and looking for Afterburner/RTSS" crowd, and not the OpenGL programming crowd. So they probably have no clue why these values are different between OpenGL and Vulkan, only that it's something related to their games and that they might need to tweak them.

    So having easier-to-understand options might be a good idea, even if it's complicates things a bit in your end. It might even be beneficial as it will prevent these issues from regularly popping up, which I suspect they will as mangohud increases in popularity.

    Just my 2 cents. I'm very happy with MangoHud regardless, especially the added FPS limiter. It was the final missing piece needed for completing my transitioning to gaming on Linux. So a huge thanks to you, ! :)

    点赞 评论 复制链接分享
  • weixin_39919195 weixin_39919195 5月前

    Anyhow my proposal has still a quirk not directly straightforward for users: "n>2 = Sync to refresh rate / (n-1)"

    点赞 评论 复制链接分享
  • weixin_39725193 weixin_39725193 5月前

    So far I don't think this has satisfactory solution, I will leave it as is for now

    点赞 评论 复制链接分享

相关推荐