Misreading Monitor Resolution

Posted By: Dooley

Misreading Monitor Resolution - 07/11/20 23:42

A player is having trouble getting my game to create a window at 1920 x 1080 on a monitor that is 2560 x 1440.

I have an error log, and it is reporting that the resolution is 1719 x 967 for some reason, using sys_metrics.

I am wondering if the game engine has some kind of issue with larger monitors like this?

I will write a very small program that just captures and logs the screen resolution, to see if something else in my script might be at fault.

In the meantime, has anyone encountered this sort of problem before? I'm wondering if there is some kind of display scaling issue that is confusing the game engine into misreading the current resolution.
Posted By: Dooley

Re: Misreading Monitor Resolution - 07/13/20 15:30

Note: I just noticed that his monitor is set to:
Current Mode: 2560 x 1440 「32 bit」 「120Hz」

But:
Native Mode: 2560 x 1440「p」 「59.951Hz」

The increased Hz may be something causing the misreading of resolution, I wonder? Similar to the problem described in this thread?
https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=57941&Number=477022

or this one:
https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=480800#Post480800
© 2024 lite-C Forums