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

I can't set full screen mode for High DPI scaling #8

Open
Sol1vaN opened this issue Sep 12, 2021 · 1 comment
Open

I can't set full screen mode for High DPI scaling #8

Sol1vaN opened this issue Sep 12, 2021 · 1 comment

Comments

@Sol1vaN
Copy link

Sol1vaN commented Sep 12, 2021

I've tested this great engine.
Sadly, the fullscreen mode don't work well

Always set in 1707x960 in bordeless mode according to the LOG (SeriousSamTFE.log)

* START NEW DISPLAY MODE ...
  Starting display mode: 1707x960

My video card is RTX 2070

* Vulkan ray tracing context created: *
  (NVIDIA, NVIDIA GeForce RTX 2070, 1.2)

My CPU is Ryzen 5 5600x

Detecting CPU...
  Vendor: cAMD
  Type: 0, Family: 15, Model: 1, Stepping: 0
  MMX : Yes
  CMOV: Yes
  Clock: 3700MHz

My real hardware display setup is a 1920x1080@144hz (MSI Optix G27C2) but I set this with virtual resolutions like 3840x2160@120hz, 2560x1440@144hz, etc (downscale) making custom resolutions trough nvidia panel.

Of course, all other games work's fine and detect my virtuals resolutions very well.
Some games need's to activate the Override System DPI (High DPI scaling option) to adjust correctly into the display panel.

Aditionaly, I use multimonitor setup (a secondary monitor for view the browser or another apps while I play games).

I've tryed to set this in the PersistentSymbols.ini file with different's resolutions.

persistent extern INDEX sam_bFullScreen=(INDEX)1;
persistent extern INDEX sam_iScreenSizeI=(INDEX)1920;
persistent extern INDEX sam_iScreenSizeJ=(INDEX)1080;

persistent extern INDEX sam_bFullScreen=(INDEX)1;
persistent extern INDEX sam_iScreenSizeI=(INDEX)2560;
persistent extern INDEX sam_iScreenSizeJ=(INDEX)1440;

persistent extern INDEX sam_bFullScreen=(INDEX)1;
persistent extern INDEX sam_iScreenSizeI=(INDEX)3840;
persistent extern INDEX sam_iScreenSizeJ=(INDEX)2160;

But always turn back to windowed mode. Is strange because my monitor panel IS a real 1080p but either don't work.
I've founded a extrange behaviour when I set the _bWideScreen=(INDEX)1
the game go in fullscreen mode, but the screen it goes out of the margin and pasing to the second monitor. I think this is because the render can't fit into the principal screen (downscale).

SeriousSamTFE.log

Here a video doing all that I've explained:
https://www.youtube.com/watch?v=WOMtgcZmRF0

@sultim-t
Copy link
Owner

High-DPI doesn't work correctly, it wasn't implemented as needed. As well as virtual resolutions.
And sorry, I don't have multiple monitors to test :(

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