Allow opting-out of V-Synced cursor updates. #10823
-
|
(Before it is mentioned, yes, I have tried forcing hardware cursors, forcing mouse acceleration to be disabled, the works. I combed through as much of the documentation as I could and found no configuration of options that creates the desired behavior.) Initially, when I was much less knowledgeable on these sorts of things, I had made an issue (#8439) lamenting the lack of a global tearing toggle. After having raised the issue, and looking more into it, I realized it wouldn't have solved the problem I was experiencing. I had learned, both from rudimentary experiments done by Mort in his blog post Hard numbers in the Wayland vs X11 input latency discussion and the following post by Asahi Lina about it, that Wayland compositors perform V-Synced cursor updates, unlike X11. This creates a trade-off of cursor latency for virtually perfect frames. For the record, I don't think this is a bad thing in isolation, people are allowed to like this behavior and I fully support that! I wouldn't want to see this removed, I just personally think that allowing users (insert "there are DOZENS of us!" line) who are willing to sacrifice perfect frames the option to avoid the behavior if possible. Personally, this one option alone would be the catalyst for me to jump ship from X11, no matter how many hoops I'd have to jump through to have this on my machine. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
Oops! Forgot to mention the setup I am on! Distro: Arch Linux x86_64 |
Beta Was this translation helpful? Give feedback.
-
|
afaik AMS doesn't allow for this, you either tear everything or tear nothing. When tearing is active, cursor is also torn |
Beta Was this translation helpful? Give feedback.
you'd need support for actual proper legacy ioctls in aquamarine (the current state of legacy is very broken there) and get hyprland to be able to render using that, would probably require a lot of code that you're unlikely to get right