(WORKDED AROUND) xserver-xorg update -- touchpad cursor speed slow

Started by dibl, 2014/07/09, 15:21:54

Previous topic - Next topic

1sy8

Hi reinob, what is SNA and how did you make it work with your conf file?


Dilb, in /usr/share there are two candidate synaptics conf files. Maybe leftovers from when xorg didn't autoconfigure but maybe fine too. I'll give them a try later in the afternoon by dropping both files in /etc/X11/xorg.conf.d (maybe the prefix numbers 50 and 51 set the priorities?)

dibl

Quote from: 1sy8 on 2014/07/12, 12:52:33
Dilb, in /usr/share there are two candidate synaptics conf files. Maybe leftovers from when xorg didn't autoconfigure but maybe fine too. I'll give them a try later in the afternoon by dropping both files in /etc/X11/xorg.conf.d (maybe the prefix numbers 50 and 51 set the priorities?)


Right, I saw those, but I don't see reference to mouse acceleration in them.  Since I got a good result with the /etc/X11/xorg.conf.d/synaptics.conf settings, I don't need to try further changes to an otherwise good-performing system.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

reinob

Quote from: 1sy8 on 2014/07/12, 12:52:33
Hi reinob, what is SNA and how did you make it work with your conf file?

Have a look here: https://wiki.archlinux.org/index.php/Intel_Graphics
("choose acceleration method").

But AFAIK SNA is already the default (maybe not in "stable" distributions..). In my case this is a leftover from an old Ubuntu 12.04 installation. If you want,you can create a /etc/X11/xorg.conf.d/sna.conf file with these contents:


Section "Device"
        Identifier "Card0"
        Driver "intel"
        Option "AccelMethod" "sna"
EndSection


If something goes wrong, delete the file and restart X.

Quote
Dilb, in /usr/share there are two candidate synaptics conf files. Maybe leftovers from when xorg didn't autoconfigure but maybe fine too. I'll give them a try later in the afternoon by dropping both files in /etc/X11/xorg.conf.d (maybe the prefix numbers 50 and 51 set the priorities?)

I don't have the 51-file (probably is a siduction-specific file, in view of the name). I'd be careful mixing two separate config files for the same thing (may or may not be a problem). You can always "man synaptics" and tweak all you like.

piper

Most of what I read about "sna" is not great, in fact, most end up going back to "uxa" which also has 4-5 times less code.

Most (google search of only 7 pages) have said performance degraded

This was probably the best I read

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724510

I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

dibl

My Toshiba netbook has a GMA945, and the sna method provides absolutely no benefit whatever, over the default i915 driver.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

1sy8

Ok, I also setlled on reinolb's workaround: it works!!! I'll check on next d-u if I can revert.


BTW, dibl, how did you get your system details on the previous page? I need to check that I have a "discrete" Intel graphic (there is supposed to be one on this laptop and I should be able to switch it on and off as needed, to save on the battery life for example). lspci didn't tell me much about it.

devil


reinob

Quick note: version 1.8.0-1 (bringing new libevdev2 package with it) is available. I dist-upgraded and can report that:

1) touchpad settings (accel) are respected again

EDIT: but still need the synaptics.conf workaround. Without it, the touchpad is again unbearably slow.

2) the new acceleration scheme is not so nice. seems to "slowly" deccelerate when you lift the finger, so that the precision is (much) lower.

This is probably tweakable (and I'll see if I can improve it). Otherwise I recommend either not upgrading the synaptic driver or at least saving the .deb (/var/cache/..) in case you want to rollback.

dion

After doing a d-u today, my touchpad stopped functioning completely. An external mouse works.
I copied /usr/share/X11/xorg.conf.d/51-synaptics-siduction.conf to /etc/X11/xorg.conf.d/synapics.conf and rebooted but that didn't help. Any clues on what I could try?

dibl

Quote from: reinob on 2014/07/13, 15:49:54

EDIT: but still need the synaptics.conf workaround. Without it, the touchpad is again unbearably slow.



Right -- if you look at the changelog file in the updated package, it had nothing to do with acceleration settings or a bug related to certain devices.


With the /etc/X11/xorg.conf.d/synaptics.conf settings as a workaround, the relevant output in /var/log/Xorg.0.log is rather confusing, at least to me.  It appears that two different configuration files are being parsed, or perhaps two different instances of the process are running -- I dunno.  But the settings in /etc/X11/xorg.conf.d/synaptics.conf are being respected in the running X, even though there is another set of settings shown later in the Xorg.0.log file.  So, the workaround is working.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

devil

Rumours have it, this was fixed yesterday with a new xserver-xorg-synaptics package.


greetz
devil

dion

It turns out my problem is related to the kernel. With the d-u I did yesterday, the 3.15-5 kernel was installed and the touchpad does not work with that kernel. If I boot from the 3.14 kernel, the touchpad works perfectly well.

piper

Quote from: dionIt turns out my problem is related to the kernel. With the d-u I did yesterday, the 3.15-5 kernel was installed and the touchpad does not work with that kernel. If I boot from the 3.14 kernel, the touchpad works perfectly well.
As asked in irc can you try kernel  3.16-rcX
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

dion

@piper: That kernel doesn't seem to be in the repo. So I have to download it and install manually I suppose?

reinob

@dion,

I'm running 3.15.5 (from kernel.org, self configured) and this doesn't seem to be the cause of the problem.
Can you check your /proc/config.z and see if the relevant modules are enabled?

# zcat /proc/config.gz |grep -i -e evdev -e synap
CONFIG_INPUT_EVDEV=m
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_SYNAPTICS_I2C=m
CONFIG_MOUSE_SYNAPTICS_USB=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_USB_PWC_INPUT_EVDEV=y
# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set

I suppose CONFIG_INPUT_EVDEV and CONFIG_MOUSE_PS2_SYNAPTICS and/or CONFIG_MOUSE_SYNAPTICS_USB are critical here.