Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smooth scrolling causes tearing #550

Open
tfriedel opened this issue Aug 11, 2024 · 6 comments
Open

smooth scrolling causes tearing #550

tfriedel opened this issue Aug 11, 2024 · 6 comments

Comments

@tfriedel
Copy link
Contributor

I'm using Windows 10 on a 60 hz display. When I enable smooth scrolling I see visual tearing and other glitches.
I know this effect from programs that don't respect v-sync. Maybe it's the same issue here?
I looked in the source, but couldn't easily figure out how to implement v-sync.

@akiyosi
Copy link
Owner

akiyosi commented Aug 11, 2024

@tfriedel
Hi :)
Thanks for the report.
What version are you using?

From 0.6.8 to the latest, the smooth scrolling behavior is improved.
V-sync is not implemented, but the latest may have a small improvement.

@tfriedel
Copy link
Contributor Author

@akiyosi
I was using the nightly from end of july and also the version I just built from source.

The glitches are more pronounced when using the "scroll wheel" function of my trackball. Then it seems like the text near the top is moving faster than at the bottom.
If I scroll just with for example "Page Down", then only the tearing effects are visible.

@akiyosi
Copy link
Owner

akiyosi commented Aug 12, 2024

@tfriedel
Okay,
What OS are you using?

@tfriedel
Copy link
Contributor Author

Windows 10

@akiyosi
Copy link
Owner

akiyosi commented Aug 26, 2024

@tfriedel
If you start goneovim without Neovim personal settings as follows, will the issue be the same?

\path\to\goneovim -u NONE

@tfriedel
Copy link
Contributor Author

after I enable smooth scrolling, yes, the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants