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

refresh_rate not work #246

Closed
Mitradis opened this issue Oct 2, 2023 · 14 comments
Closed

refresh_rate not work #246

Mitradis opened this issue Oct 2, 2023 · 14 comments

Comments

@Mitradis
Copy link

Mitradis commented Oct 2, 2023

Tested in AOE2, Tzar, TS. I set 75hz and wrapper ignore it and set 60hz. Monitor support 75hz with selected game resolution.

@FunkyFr3sh
Copy link
Owner

just tested it again with the latest version and it's working fine for me. You sure you got "windowed=false"?

Latest version will check if the value you set is supported, if not, it will keep the current hz setting that you've got in windows

@Mitradis
Copy link
Author

Mitradis commented Oct 3, 2023

For me it not work as i say. Always 60hz. Default config, only refresh_rate=75
ddraw.txt

@FunkyFr3sh
Copy link
Owner

I need a log file, otherwise I can't do much because I can't reproduce it here: #44

@Mitradis
Copy link
Author

Mitradis commented Oct 4, 2023

cnc-ddraw-1.log

cnc-ddraw-1.log

@FunkyFr3sh
Copy link
Owner

need another log, but with "resolutions=2"

@Mitradis
Copy link
Author

Mitradis commented Oct 4, 2023

cnc-ddraw-1.log

ddraw.txt

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Oct 4, 2023

can you check if 1152x864 works in 75hz mode? 1024x768 @ 75hz only supports "dmDisplayFixedOutput = DMDFO_DEFAULT" on your system and I think that's the problem.

DMDFO_DEFAULT means that it only works without upscaling (black bars on the sides). This is not about the cnc-ddraw upscaling, it about a setting in windows or your drivers.

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Oct 4, 2023

Here's a test build that forces to run with black bars (DMDFO_DEFAULT)

ddraw.zip

@Mitradis
Copy link
Author

Mitradis commented Oct 4, 2023

still 60. i no see problem in my system, all other wrappers work fine.

@FunkyFr3sh
Copy link
Owner

Oh I forgot to mention, you have to try that test build with opengl/gdi ... it isn't supposed to work with auto/direct3d

@Mitradis
Copy link
Author

Mitradis commented Oct 4, 2023

everywhere 60. Tzar, where i testing it, have only 1024*768 res.

@FunkyFr3sh
Copy link
Owner

if tzar only got 1024x768 then try this

width=1152
height=864

@FunkyFr3sh
Copy link
Owner

I think this here could fix it for you:

ddraw.zip

FunkyFr3sh added a commit that referenced this issue Oct 4, 2023
@Mitradis
Copy link
Author

Mitradis commented Oct 4, 2023

yes, now 75. Ty!

@Mitradis Mitradis closed this as completed Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants