Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vsync doesn't properly match refresh rate #383

Closed
Keith94 opened this issue Aug 11, 2017 · 10 comments
Closed

Vsync doesn't properly match refresh rate #383

Keith94 opened this issue Aug 11, 2017 · 10 comments
Labels

Comments

@Keith94
Copy link

Keith94 commented Aug 11, 2017

Running the game @ 120 Hz with vsync enabled results in 60 FPS cap. Frame rate option is set to 120 FPS.

rbdoom3bfg_2017_08_11_11_17_30_602

@Keith94 Keith94 closed this as completed Jun 10, 2018
@BielBdeLuna
Copy link

This seems like something that needs further attention!

@Keith94
Copy link
Author

Keith94 commented Jun 10, 2018

OK. Reopened. :)

@Keith94 Keith94 reopened this Jun 10, 2018
@itaranto
Copy link

itaranto commented Sep 5, 2018

I've experienced a similar issue, my frame rate is set to 60 but it caps at 30 (or at least that's what com_showFPS reports).

@BielBdeLuna
Copy link

is your GPU able to generate more than 30 fps? what are your specs?

@itaranto
Copy link

itaranto commented Sep 7, 2018

My PC is kinda old, but it did handle some games at 60fps.

My specs:
OS: openSUSE Leap 15.0
CPU: Intel Core i5-2310
GPU: NVIDIA GTX 650
Driver version: NVIDIA 390.87

@BielBdeLuna
Copy link

maybe with the soft shadows and the hdr the system is not powerful enough?

@itaranto
Copy link

itaranto commented Sep 7, 2018

I'm using r_useShadowMapping = "0" and as a consequence r_useHDR = "0".
But yeah, it can be that my computer is just slow, I just mentioned it because most of the time I saw exactly 30 fps , no more, no less.

Anyway, 30 fps is a decent frame rate and the game works like a charm.

@itaranto
Copy link

itaranto commented Oct 12, 2018

New update, I'm running on a new machine:
AMD Ryzen 2700X + Radeon RX 570 + Mesa 18.1.7
With vsync enabled the FPS are capped at 30 and with vsync disabled FPS are capped at 60 but I experience screen tearing.

So far the best option for me was to use "smart" vsync, this gives me 60 FPS with almost no tearing.

This is my AutoExec.cfg file:

set m_smooth "1"
set r_antiAliasing "4"
set r_useHDR "1"
set r_useHighQualitySky "1"
set r_useShadowMapping "0"

The rest of the settings are the defaults.

@badsectoracula
Copy link

I have a 165Hz monitor and experience the same issue... actually i experience the issue without vsync too (120 fps mode is still visually capped at 60fps).

The issue seems to be that the game doesn't request a specific refresh rate so you get a 60Hz one. A workaround is to create an autoexec.cfg file alongside the D3BFGConfig.cfg file in your %userprofile%\Saved Games\id Software\RBDOOM 3 BFG directory with the following lines:

set r_customWidth "2560"
set r_customHeight "1440"
set r_vidMode "-1"
set r_displayRefresh "165"

(do not bother with editing the D3BFGConfig.cfg file itself, it resets to the default values after exiting)

Obviously replace the 2560 and 1440 with your own resolution and 165 with the monitor refresh rate you want (make sure your monitor supports that otherwise you'll get the default settings - ie. do not just use "120").

A better fix for this would be for video mode enumeration to also enumerate and show refresh rates in the game menu.

@RobertBeckebans
Copy link
Owner

This should be fixed with the new DX12 & Vulkan backends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants