How can I best adjust the mouse in Linux for a high-resolution display?

2

1

I got a 4K (3840x2160) display, and haven't been happy with the mouse functionality in Linux. It feels aesthetically laggy / choppy, and functionally, slower to navigate. Has anyone spent time tuning velocity, acceleration, etc. on Linux for high resolution displays?

I don't believe input delay is all of the problem for me, at least not all of the problem. I'm using a GeForce 650 GTX, which is more than capable of driving the display, and the refresh rate is 30 Hz, the same as I've used for other displays. Text appearance when typing, etc. doesn't seem laggy.

My current settings are (KDE mouse module): 8x acceleration and 6 pixels pointer threshold. I guess "pointer trails" are a thing of the past (from Microsoft Windows as I recall), but I kind of feel like with this display, they'd be nice.

gatoatigrado

Posted 2013-11-18T01:40:25.080

Reputation: 1 075

@ThatBrazilianGuy is right, having a higher DPI mouse is a better solution than any software settings. I didn't update this question, but I got a gaming mouse a few years ago, and it's been great. Thanks! – gatoatigrado – 2017-03-21T01:01:17.380

1Please clarify what you mean with "aesthetically laggy". Also what driver are you using for the nVidia? – Bobby – 2013-11-18T08:31:03.103

1Are you sure it's not an issue caused by a high display resolution and a low mouse DPI? – That Brazilian Guy – 2013-11-18T18:27:14.207

@Bobby: sorry, the 'aesthetically' was meant as a qualifier for 'laggy / choppy' ... it just seems behind where I'm actually moving it. I'm using the real driver (G03 via the CUDA repository for OpenSuSE). Things feel better in Windows. – gatoatigrado – 2013-11-18T22:26:12.920

@ThatBrazilianGuy I'm pretty sure it's not just the display. I didn't think of mouse DPI ... I'm just using a Microsoft basic optical mouse. I'll look around, thanks! – gatoatigrado – 2013-11-18T22:27:37.333

Answers

1

Great question. I haven't found the perfect combination of settings myself , but have been playing with the information at the following link:

https://www.x.org/wiki/Development/Documentation/PointerAcceleration/

For myself,

xinput --set-prop <your device id> "Device Accel Profile" -1
xinput --set-prop <your device id> "Device Accel Velocity Scaling" 1
^^ use this to for adjust DPI, for me 1000/1000 (dpi of my mouse) = 1

This seems to work well when working with the mouse in a limited/small area of my 4K display, but moving around is another story.

edc

Posted 2013-11-18T01:40:25.080

Reputation: 11

1

By "It feels aesthetically laggy / choppy, and functionally, slower to navigate", does it mean the mouse pointer moves slowly, in small increments, and you have to make long movements with your hand to see small movements on the screens?

If so, what you need is to adjust the mouse speed, as in "the ratio between how many pixels the cursor moves on the screen and how far the mouse moves on the mouse pad". The cursor speed depends on mouse sensitivity, usually measured in DPI (dots per inch), the number of steps the mouse will report when it moves one inch.

Each mouse has its own DPI and it varies for each model and manufacturer. Some will have higher DPI than the others (those are preferred by gamers), and some will have hardware buttons where you can increase or decrease its DPI settings, efectivelly making it "walk faster" on the screen by moving the pointer a bigger distance in pixels when you drag the mouse.

For mice where you can't change the DPI on the hardware, each OS has settings where you can adjust the speed via software. Usually you can set it on the OS's control panel (or equivalent), but depending on the mouse, sometimes you can change it on the driver's settings dialog.

That Brazilian Guy

Posted 2013-11-18T01:40:25.080

Reputation: 5 880