i see it with the default client and ender
when you move the mouse, the cursor in game lags behind a bit , its not jittery, but theres definitely a delay.
is there some way to configure the mouse settings to move like a mouse normally moves?
-
vatas
- Posts: 5255
- Joined: Fri Apr 05, 2013 8:34 am
- Location: Suomi Finland Perkele
Re: mouse lag
Are you using Linux?
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread
Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)
Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)
Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
-
tripp
- Posts: 76
- Joined: Thu Jan 23, 2014 2:24 am
Re: mouse lag
vatas wrote:Are you using Linux?
yeah how did you know?
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: mouse lag
Because this bug is specifíc to linux AWt etc. some custom clients offer option to disable hardware cursor which helps a bit.tripp wrote: yeah how did you know?

I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: mouse lag
To be more precise, the reason this happens on Linux is that the X11 backend for Java AWT doesn't support more than monochrome custom cursors, so the client needs to draw the cursor in software, making it subject to input latency.
You can, however, reduce the input latency generally by adjusting the "Frame Sync mode" in the video options. I myself have taken to use "CPU-sequential" most of the time, as I find it offers a reasonable compromise between latency and performance. It does however indeed decrease performance compared to the default option, so you'll have to evaluate for yourself whether the drop in performance is worth it for you on your hardware.
You can, however, reduce the input latency generally by adjusting the "Frame Sync mode" in the video options. I myself have taken to use "CPU-sequential" most of the time, as I find it offers a reasonable compromise between latency and performance. It does however indeed decrease performance compared to the default option, so you'll have to evaluate for yourself whether the drop in performance is worth it for you on your hardware.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
tripp
- Posts: 76
- Joined: Thu Jan 23, 2014 2:24 am
Re: mouse lag
Thank you, this helped.loftar wrote:To be more precise, the reason this happens on Linux is that the X11 backend for Java AWT doesn't support more than monochrome custom cursors, so the client needs to draw the cursor in software, making it subject to input latency.
You can, however, reduce the input latency generally by adjusting the "Frame Sync mode" in the video options. I myself have taken to use "CPU-sequential" most of the time, as I find it offers a reasonable compromise between latency and performance. It does however indeed decrease performance compared to the default option, so you'll have to evaluate for yourself whether the drop in performance is worth it for you on your hardware.
It looks like cpu/gpu offers the best
Could a monochrome cursor option be possibly implemented in the client for linux users?
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: mouse lag
Perhaps, but honestly, I'd rather see Java just fix this problem.tripp wrote:Could a monochrome cursor option be possibly implemented in the client for linux users?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Mashadar
- Posts: 379
- Joined: Thu Jan 20, 2011 9:34 am
Re: mouse lag
You don't have to, 2 colors is enough for the cursor. I don't notice any difference between "tex" and "awt" mode, unless I specifically stare at the cursor. But people don't do that, the cursor is just a tool that assists the brain in knowing where the next click goes, no one actually looks at it.loftar wrote:To be more precise, the reason this happens on Linux is that the X11 backend for Java AWT doesn't support more than monochrome custom cursors, so the client needs to draw the cursor in software, making it subject to input latency.
I'd say the game actually being playable is infinitely more important than the cursor having some 5 extra colors.
The thing is, thanks to the rendering rewrite the game would actually work on notebooks with integrated graphics (which many people have), but definitely not with the default "tex" mode.
It's already been years like this, no point in waiting for it anymore.loftar wrote:Perhaps, but honestly, I'd rather see Java just fix this problem.