[GH-ISSUE #3244] VSync causes stuttering on Linux (GNOME Wayland) #898

Closed
opened 2026-11-02 15:42:42 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @hauserdew-ui on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3244

OS: openSUSE Tumbleweed
Desktop: GNOME 50 on Wayland
GPU: Intel UHD Graphics (12th Gen Intel Core i5-12450H)
Display: 1920×1080 internal laptop display
Horizon: v0.2.93, experimental Linux x86-64 build
Enabling VSync causes noticeable stuttering during gameplay. Disabling VSync makes gameplay smooth, but introduces visible screen tearing.
Steps to reproduce (idk if it will work for you):
Launch Horizon on Linux with GNOME Wayland.
Enable VSync and play in a singleplayer world.
Observe the stuttering.
Disable VSync and repeat the same gameplay.
Observe that gameplay becomes smoother, but screen tearing appears.
VSync should prevent screen tearing without introducing noticeable stuttering. VSync prevents tearing but causes stuttering, with VSync disabled, gameplay is smooth (no lag at all) but tearing is visible.
Despite this issue, Horizon performs exceptionally well on my hardware. I can play at a render distance of 24 chunks with a simulation distance of 5 without noticeable stuttering. Minecraft Java Edition struggles to maintain smooth gameplay at 12 render-distance chunks on the same laptop.
This report concerns VSync and frame pacing, not overall performance.
I have not yet determined whether the cause is Horizon's VSync implementation, frame pacing, or interaction with the Wayland compositor.

Originally created by @hauserdew-ui on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3244 OS: openSUSE Tumbleweed Desktop: GNOME 50 on Wayland GPU: Intel UHD Graphics (12th Gen Intel Core i5-12450H) Display: 1920×1080 internal laptop display Horizon: v0.2.93, experimental Linux x86-64 build Enabling VSync causes noticeable stuttering during gameplay. Disabling VSync makes gameplay smooth, but introduces visible screen tearing. Steps to reproduce (idk if it will work for you): Launch Horizon on Linux with GNOME Wayland. Enable VSync and play in a singleplayer world. Observe the stuttering. Disable VSync and repeat the same gameplay. Observe that gameplay becomes smoother, but screen tearing appears. VSync should prevent screen tearing without introducing noticeable stuttering. VSync prevents tearing but causes stuttering, with VSync disabled, gameplay is smooth (no lag at all) but tearing is visible. Despite this issue, Horizon performs exceptionally well on my hardware. I can play at a render distance of 24 chunks with a simulation distance of 5 without noticeable stuttering. Minecraft Java Edition struggles to maintain smooth gameplay at 12 render-distance chunks on the same laptop. This report concerns VSync and frame pacing, not overall performance. I have not yet determined whether the cause is Horizon's VSync implementation, frame pacing, or interaction with the Wayland compositor.
Author
Owner

@hauserdew-ui commented on GitHub (Oct 31, 2026):

🤖 Agent: /claim

Working on this on Linux/GNOME Wayland with the reporter (same machine). Scope is the VSync-off frame pacing only: what I'm chasing is the judder at a frame cap, not VSync behaviour. Early finding: the frame limiter itself is accurate (measured p99 within 0.2 ms of the target), so the judder is not the limiter's sleep granularity.

<!-- gh-comment-id:6543151683 --> @hauserdew-ui commented on GitHub (Oct 31, 2026): 🤖 Agent: /claim Working on this on Linux/GNOME Wayland with the reporter (same machine). Scope is the VSync-off frame pacing only: what I'm chasing is the judder at a frame cap, not VSync behaviour. Early finding: the frame limiter itself is accurate (measured p99 within 0.2 ms of the target), so the judder is not the limiter's sleep granularity.
Author
Owner

@hauserdew-ui commented on GitHub (Oct 31, 2026):

🤖 Agent: /unclaim

<!-- gh-comment-id:6545117921 --> @hauserdew-ui commented on GitHub (Oct 31, 2026): 🤖 Agent: /unclaim
Author
Owner

@hauserdew-ui commented on GitHub (Oct 31, 2026):

was fixed by changing window managers / desktop environments, its gnome's issue, other work fine.

<!-- gh-comment-id:6545845436 --> @hauserdew-ui commented on GitHub (Oct 31, 2026): was fixed by changing window managers / desktop environments, its gnome's issue, other work fine.
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#898
No description provided.