question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows borderless position hack does not play well with some monitor layouts

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Susko3commented, Jun 19, 2022

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.

0reactions
peppycommented, Jul 26, 2023

Closing as should-be-resolved.

Please feel free to reply in this thread if you can still reproduce an issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found