Windows borderless position hack does not play well with some monitor layouts
See original GitHub issueDescribe the bug: When running in Borderless mode, the osu client appears to be running at 60fps, although the fps counter says 500+fps (and so does fraps). When running in Fullscreen or Windowed mode, the game appears to be as smooth as it should be.
Furthermore, disabling my other monitors (which are 60hz) also fixes Borderless mode and makes it appear as smooth as it should be. Note that the monitors weren’t being used for osu, just by being enabled in Windows they cause this strange performance degradation.
This issue does not exist on the stable client.
Screenshots or videos showing encountered issue: n/a
osu!lazer version: 2021.416.0
Logs:
network.log performance.log runtime.log updater.log database.log
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Position Borderless Window : r/OLED_Gaming
Re-positioning a borderless game window instead of being the center of the screen. Didn't see any post on it so wanted to share, ......
Read more >How do you move a borderless windowed game to your ...
For PC on the PC, a GameFAQs message board topic titled "How do you move a borderless windowed game to your secondary monitor?"....
Read more >Options for borderless window and multi monitor
I have two monitors, and like to keep a browser on my second monitor. Would be great to see a borderless window mode...
Read more >How do I center a BORDERLESS window to my monitor?
To center a windowed game: simply use the game (don't alt+tab out of it) and press the Windows key+Up Arrow on your keyboard...
Read more >The Game refuses to run in borderless windowed mode on ...
I have a 4 monitor set-up with a big primary monitor in the middle (designated as the primary monitor in Nvidia and Windows...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is still an issue. The game doesn’t render on the other display with https://github.com/ppy/osu-framework/pull/5068, but the window still extends and DWM forces it to the lowest common framerate. (I don’t have a way to test this, but I presume this is what happens.)
Veldrid / “compatibility mode” (https://github.com/ppy/osu-framework/issues/4909) should fix this, as it uses native DirectX fullscreen/borderless.
Another fix may be improving the borderless hack so the 1px extension avoids other displays (for this specific configuration, extending 1px to the top or bottom is amicable). This is easier said than done as explained in https://github.com/ppy/osu-framework/pull/5068.
Closing as should-be-resolved.
Please feel free to reply in this thread if you can still reproduce an issue.