TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
178 stars 3 forks source link

[BUG] Windows 10 not honouring DPI Scaling, causing lag #88

Open AngledLuffa opened 3 years ago

AngledLuffa commented 3 years ago

What you're using

The global offset on my machine needs to be set to something other than 0 for version 5.3 for the first time since I've been playing StepMania

Expected behavior

On versions prior to 5.3, my songs would be perfectly synced when I first installed StepMania, without having to set a global offset.

There is a function to let you input steps and autodetect the global offset, but there seem to be two issues with it: the font is almost impossible to read at the normal resolution, and after running it, the offset for the gameplay doesn't actually seem to be improved much.

AngledLuffa commented 3 years ago

Again, this is on Windows 10, version 4.8.2

AngledLuffa commented 3 years ago

Out of the box it was windows 16:9 720p. Display resolution is 3840x2160 with the scale set to 200%... it would appear the game is not honoring the 200% interface request, fwiw.

Another bug I was planning on filing is that pressing alt-enter to go from windowed to full screen works, but pressing it a second time to go back to windowed leaves it with the display occupying just one corner of the screen but not actually in a window.

AngledLuffa commented 3 years ago

The controller was keyboard, no specific controller right now.

AngledLuffa commented 3 years ago

In terms of global offset, I figured it out once I made the window large enough to read the font. Still, it's a little weird that no version before OutFox had needed a global offset and this one does. If that's just "whatever" feel free to close the issue. I'll fiddle around with the alt-enter settings to see if I can identify some consistent behavior and file a new issue, unless knowing that happens on WIndows 10 happens to jog someone's memory

Scraticus commented 3 years ago

This is in progress. The DPI scaling issue needs more new code in our renderer to ensure pixel vs scaled is calculated correctly. (officially, we don't support above 1080p resolutions yet due to this).

If you are on windows 10, you can set the DPI to be handled within stepmania itself using the right click on the stepmania.exe and set the DPI to be handled by the Application. It'll fix your lag issues for now.

Scraticus commented 3 years ago

The game is 20 years old, way before scaling and DPI requests were even a thing. Original SM scales horrifically inside the window, so I guess you've never noticed it before.

AngledLuffa commented 3 years ago

Good to hear the scaling is in progress.

Do you mean the "Override high DPI scaling behavior" under "Change high DPI settings"? Thanks, that's very useful to know about. It would make a good FAQ entry!

Scraticus commented 3 years ago

you need to right click on the application "stepmania.exe" and there is a properties window.

image

Then click the compatibility tab.

image

Click "change high DPI settings" check the box for 'override high dpi scaling behaviour. Then set the drop down to 'Application'

image

click Ok, then apply, and it's all done and happy.