[GH-ISSUE #441] vsync stuck on in windowed mode. #121

Closed
opened 2026-11-02 15:36:34 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @rdbtCVS on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/441

very bad please fix
in windowed mode i get 165 fps solid
in fullscreen i get 1000+ fps

Originally created by @rdbtCVS on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/441 very bad please fix in windowed mode i get 165 fps solid in fullscreen i get 1000+ fps
Author
Owner

@ludovic111 commented on GitHub (Oct 16, 2026):

Thanks for the report! Found it: on Wayland, Horizon asked winit to pace every frame to the compositor's frame callbacks, so a window was capped at your refresh rate even with VSync off. In fullscreen, Hyprland can tear and sends those callbacks almost at once, which is why you saw 1000+ there. Fix in #446: with VSync off, nothing is paced to the display any more, like vanilla. When it's merged, could you check windowed with VSync OFF and Max Framerate Unlimited? If it still sits at 165, please tell us your session (Hyprland? echo $XDG_SESSION_TYPE) and GPU/driver.

<!-- gh-comment-id:6205378899 --> @ludovic111 commented on GitHub (Oct 16, 2026): Thanks for the report! Found it: on Wayland, Horizon asked winit to pace every frame to the compositor's frame callbacks, so a window was capped at your refresh rate even with VSync off. In fullscreen, Hyprland can tear and sends those callbacks almost at once, which is why you saw 1000+ there. Fix in #446: with VSync off, nothing is paced to the display any more, like vanilla. When it's merged, could you check windowed with VSync OFF and Max Framerate Unlimited? If it still sits at 165, please tell us your session (Hyprland? `echo $XDG_SESSION_TYPE`) and GPU/driver.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#121
No description provided.