Mtasa-blue: Refresh rate limited at 60Hz in full screen mode

Created on 6 Dec 2020  路  9Comments  路  Source: multitheftauto/mtasa-blue

Describe the bug
Refresh rate limited at 60Hz in full screen mode.

To reproduce

  1. Set server FPS to 100.
  2. Check refresh rate on monitor that supports more than 60Hz.

Expected behaviour
MTA should use available refresh rate and work with adaptive-sync.

Screenshots
az9hzG8lolU

Version
From https://github.com/multitheftauto/mtasa-blue/commit/ee9a827fe6a34a29bd0262d29b06281cf38ad262

bug

Most helpful comment

Aside from the fullscreen issue, I believe that if technically possible, MTA should make it a project to raise the refresh rate limits, even if GTA doesn't support more than 60, respectively 75Hz.

A lot of people these days have monitors that go up to 144Hz as well. We added a lot of cool stuff like DPI awareness, custom FOV, and more.. we can probably do this as well.

All 9 comments

I just checked it, i get a lot of stutter when using anything higher than 60 fps in Fullscreen mode because MTA really seems to output only 60Hz. As soon as i go to borderless window mode, i can set my fps up to 75 and i cant get any higher, but MTA successfully outputs 75 fps (I dont see stutter anymore).

So i see 2 issues here:

  • MTA not going beyond 60Hz in fullscreen mode, but being able to render up to 100 fps
  • MTA not going beyond 75fps in borderless window mode, but being able to render infinite Hz (My monitor is overclocked to 83Hz)

The only reason why i never saw this issue before is simply because i never get more than 60 fps anyway in MTA due to bad performance outside of map editor, my server is locked at 50 :D :D

鈧珼IT: I recommend just using 59 for minimum stutter and input lag in fullscreen mode and a maximum of 70 when using borderless window mode (Anything beyond 70 causes gameplay bugs anyway)

鈧珼IT2: I have no OSD in my monitor to check the Hz, but i can clearly tell the difference between 83Hz@59fps and 83Hz@75fps or 60Hz@100fps with my eyes.

Aside from the fullscreen issue, I believe that if technically possible, MTA should make it a project to raise the refresh rate limits, even if GTA doesn't support more than 60, respectively 75Hz.

A lot of people these days have monitors that go up to 144Hz as well. We added a lot of cool stuff like DPI awareness, custom FOV, and more.. we can probably do this as well.

Also, however this is fixed, I think a proper fix would play nice with custom resolutions (i.e. video modes that a user added manually in cooperation with the video driver, and are not reported by display EDID). This would respect user refresh rate overclocking and similar things properly. I don't know what APIs we can use, though.

Custom resolutions work fine, but not custom hz. I can Set 2k downsampling but i cant get beyond 75fps in window mode.

~~ I easily had 120+ fps (I've removed the fps limiter). ~~
Nvm, I was't using custom refresh rate.

image0
Borderless keep res

So you get 144Hz in window mode but do you get more than 75fps? If yes, then MTA locks the frame rate to the stock screen refresh rate when windowed

I managed to run MTA on 144hz with standard (fullscreen mode) using software called "RefreshLock" so far it's flawless. can be found here https://www.softpedia.com/get/Tweak/Video-Tweak/RefreshLock.shtml

So you get 144Hz in window mode but do you get more than 75fps? If yes, then MTA locks the frame rate to the stock screen refresh rate when windowed

Yes, I do get more than 75fps on windowed mode (actually more than 300fps)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

patrikjuvonen picture patrikjuvonen  路  3Comments

qaisjp picture qaisjp  路  4Comments

StifflersMom picture StifflersMom  路  4Comments

CrosRoad95 picture CrosRoad95  路  4Comments

CrosRoad95 picture CrosRoad95  路  4Comments