Leap 16 --couple of issues with mouse action glitchy && not typing in message boxes?

Indeed, caution is the better part of valor . . . mainly because patterns are “permanent” to an install and can’t be selectively removed, if after testing there would be no impact on the issue. In that sense easier to nuke a whole partition if it also fails to make a significant difference . . . .

Malcolm:

Alrighty, basic suggestion, which often times the most simple method will indeed handle some problems . . . but where does the “this is only happening with Leap” on a machine that I have the option of testing and comparing behaviors over 8 distros with a number of DEs, problem being exclusive to Leap after observing for the last few weeks . . . come into it??? Leap 16 is more sensitive to dirt on its optical mice than the other kids???

@non_space I only run openSUSE products, something I noticed the other day on GNOME with Leap 16.0 cleaned the mouse and mouse pad and all is good…

Are all other systems, using the same kernel, same Mesa version, same libinput etc. It’s all very subjective without information. Are any kernel modules using the same parameters etc. Since it seems your using X11, the respective Xorg config for synaptics settings.

Indeed, very hard to compare “apples to apples” . . . even if only in openSUSE, in my case TW . . . likely nothing would be the same. But, a recurring issue in a single system, exclusively so far, points to . . . “a recurring issue in that system.” The question remains as to the why of it . . . .

But, OK, right, in the olden days there were adjustments that had to be made in the Xorg.config file in PPC linux that had to be done “in the black” of the console to get basic display function . . . gladly those days are long gone.

But, what exactly would we be looking for as far as synaptic settings . . . which as per Deano he is saying Leap uses “libinput” . . . what would I be running in the console to take a look, and what would be “the clue” to look for on it???

@non_space Have you ensured there is no Xorg conf file looking for synaptics info or a udev rule?

What about xinput list libinput list-devices libinput debug-events etc?

@deano_ferrari Sorry, I missed this post last night/this morning

host:~> grep -i "Using input driver" /var/log/Xorg.0.log
[     9.531] (II) Using input driver 'libinput' for 'Power Button'
[     9.568] (II) Using input driver 'libinput' for 'Video Bus'
[     9.607] (II) Using input driver 'libinput' for 'Power Button'
[     9.632] (II) Using input driver 'libinput' for 'Matias Keyboard Matias Wired Keyboard'
[     9.649] (II) Using input driver 'libinput' for 'Matias Keyboard Matias Wired Keyboard'
[     9.673] (II) Using input driver 'libinput' for 'HID 1bcf:08a0 Mouse'
[     9.709] (II) Using input driver 'libinput' for 'HID 1bcf:08a0 Keyboard'
[     9.735] (II) Using input driver 'libinput' for 'Logitech USB Headset Logitech USB Headset'
[     9.782] (II) Using input driver 'libinput' for 'HID 1bcf:08a0 Keyboard'

Only in the above search did I “check Xorg.conf,” it’s been almost 20 years since I had to mess with Xorg in PPC linux . . . so no retention of the details on that front. But, running your suggested three commands, shows they are not installed?

host:~> xinput list

The program 'xinput' can be found in the following package:
  * xinput [ path: /usr/bin/xinput, repository: openSUSE:repo-oss ]

Try installing with:
    sudo zypper install xinput

host:~> libinput list-devices

The program 'libinput' can be found in the following package:
  * libinput-tools [ path: /usr/bin/libinput, repository: openSUSE:repo-oss ]

Try installing with:
    sudo zypper install libinput-tools

host:~> libinput debug-events

The program 'libinput' can be found in the following package:
  * libinput-tools [ path: /usr/bin/libinput, repository: openSUSE:repo-oss ]

Try installing with:
    sudo zypper install libinput-tools

@non_space suggest you install and check the relevant outputs…

I didn’t intend for you to run this now, although it gives you the idea and confirmation that libinput is used by default.

After installing the synaptics package and restarting the X-server (or rebooting), you can run it again to check that the pointing device is now being handled by the synaptics Xorg driver. (It is possible to edit the config files to pick which devices are handled by synaptics, but only worry about that if needed when the time comes.)

1 Like

Obviously you need to install the relevant tools if you want to make the checks requested by others. Nothing magic there.

1 Like

OK, another aspect of this problem again appeared, which I had forgotten about, on revival from sleep the mouse cursor was “frozen” and did not respond to mouse movements. I had to unplug and then replug the usb mouse in and movement returned. You can see in the “debug” data that small movements of the mouse are recorded there, I cut the list short when I could see each movement of the mouse was adding a line to the data . . . .

host:~> xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ HID 1bcf:08a0 Mouse                     	id=11	[slave  pointer  (2)]
⎜   ↳ HID 1bcf:08a0 Keyboard                  	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Matias Keyboard Matias Wired Keyboard   	id=9	[slave  keyboard (3)]
    ↳ Matias Keyboard Matias Wired Keyboard   	id=10	[slave  keyboard (3)]
    ↳ Logitech USB Headset Logitech USB Headset	id=13	[slave  keyboard (3)]
    ↳ HID 1bcf:08a0 Keyboard                  	id=14	[slave  keyboard (3)]

host:~> sudo libinput list-devices
Device:                  Power Button
Kernel:                  /dev/input/event8
Id:                      host:0000:0001
Group:                   1
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Video Bus
Kernel:                  /dev/input/event0
Id:                      host:0000:0006
Group:                   2
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Power Button
Kernel:                  /dev/input/event7
Id:                      host:0000:0001
Group:                   3
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Matias Keyboard Matias Wired Keyboard
Kernel:                  /dev/input/event5
Id:                      usb:05ac:024f
Group:                   4
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Matias Keyboard Matias Wired Keyboard
Kernel:                  /dev/input/event6
Id:                      usb:05ac:024f
Group:                   4
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  HID 1bcf:08a0 Mouse
Kernel:                  /dev/input/event3
Id:                      usb:1bcf:08a0
Group:                   5
Seat:                    seat0, default
Capabilities:            pointer 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             disabled
Nat.scrolling:           disabled
Middle emulation:        disabled
Calibration:             n/a
Scroll methods:          button
Scroll button:           BTN_MIDDLE
Scroll button lock:      disabled
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          flat *adaptive custom
Rotation:                0.0
Area rectangle:          n/a

Device:                  HID 1bcf:08a0 Keyboard
Kernel:                  /dev/input/event4
Id:                      usb:1bcf:08a0
Group:                   5
Seat:                    seat0, default
Capabilities:            keyboard pointer 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           disabled
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Logitech USB Headset Logitech USB Headset
Kernel:                  /dev/input/event1
Id:                      usb:046d:0a8f
Group:                   6
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

deep-mind@localhost:~> sudo libinput debug-events
-event8   DEVICE_ADDED                 Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED                 Video Bus                         seat0 default group2  cap:k
-event7   DEVICE_ADDED                 Power Button                      seat0 default group3  cap:k
-event5   DEVICE_ADDED                 Matias Keyboard Matias Wired Keyboard seat0 default group4  cap:k
-event6   DEVICE_ADDED                 Matias Keyboard Matias Wired Keyboard seat0 default group4  cap:k
-event3   DEVICE_ADDED                 HID 1bcf:08a0 Mouse               seat0 default group5  cap:p left scroll-nat scroll-button
-event4   DEVICE_ADDED                 HID 1bcf:08a0 Keyboard            seat0 default group5  cap:kp scroll-nat
-event1   DEVICE_ADDED                 Logitech USB Headset Logitech USB Headset seat0 default group6  cap:k
-event3   POINTER_MOTION               +0.000s	 -0.30/  0.00 ( -1.00/ +0.00)
 event3   POINTER_MOTION            2  +0.008s	 -0.85/  0.00 ( -1.00/ +0.00)
 event3   POINTER_MOTION            3  +0.016s	 -2.00/ -1.00 ( -2.00/ -1.00)
 event3   POINTER_MOTION            4  +0.024s	 -3.03/ -2.02 ( -3.00/ -2.00)
 event3   POINTER_MOTION            5  +0.032s	 -2.02/ -2.02 ( -2.00/ -2.00)
 event3   POINTER_MOTION            6  +0.040s	 -3.16/ -3.16 ( -3.00/ -3.00)
 event3   POINTER_MOTION            7  +0.048s	 -3.30/ -2.20 ( -3.00/ -2.00)
 event3   POINTER_MOTION            8  +0.056s	 -2.11/ -3.17 ( -2.00/ -3.00)
 event3   POINTER_MOTION            9  +0.064s	 -2.02/ -2.02 ( -2.00/ -2.00)
 event3   POINTER_MOTION           10  +2.560s	  0.00/  0.88 ( +0.00/ +1.00)
 event3   POINTER_MOTION           11  +2.568s	  0.00/  0.85 ( +0.00/ +1.00)
 event3   POINTER_MOTION           12  +2.576s	  0.00/  2.00 ( +0.00/ +2.00)


The libinput debugging suggests that kernel > libinput handling is working reliably - the mouse is not frozen at the input stack level at least. If the desktop experience is still “glitchy” with respect to mouse movements and typing within GUI apps, it points higher up the stack towards Xorg input handling, or XFCE (xfwm4) itself perhaps.

Trying xf86-input-synaptics might still be worth a shot as a diagnostic step, since it removes libinput from the X11 input path entirely. That said, I’d be surprised if it materially improves the behaviour. Given that you also described erratic typing, focus, and cursor movement within text widgets, this points much more toward the Xorg/desktop layer (xfwm4, focus handling) than to a mouse or touchpad driver as such.

1 Like

Given the long-standing Xorg quirks around suspend/resume in some desktop environments, testing a Wayland session would be useful purely for comparison. It removes Xorg from the stack and helps determine whether the issue is X11-specific or more fundamental.

OK, thanks for the follow up on it . . . I would prefer to have a more concrete idea of what the problem is before adding more and more packages and/or patterns to just “see if it works,” rather what is the clear diagnosis??

Seemingly if the synaptics gambit is likely to not make a difference, then for now I think going with the fresh install of Leap 16 with experimental Wayland session seems to be the next step . . . into which then I could add the X session . . . and then if none of that turns anything up that disk could just be nullified . . . .

And then anything learned from that effort could be introduced into my current Leap 15.5/16 install . . . .

As far as the “revival from suspend in X” I did have repeat visits with that problem, traced to the nvidia driver . . . one of the reasons why in this machine I went with Ryzen cpu inboard graphics, etc.

@non_space using a swap partition or zram? On my Leap 16.0 with Nvidia (Turing) it suspends/revives fine on GNOME/Wayland with zram…

Sounds like a reasonable plan.

1 Like

Also “no problems” with suspend/revive here . . . no swap partition, running 32GB RAM in lieu of swap. That was just mentioned by Deano as an indication of the numerous problems historically affecting X . . . making a possible link to the present issue with X as the culprit . . . . Hence his mentioning of wayland numerous times throughout this discussion . . . .

Not quite, I quoted your comments in that reply. :wink:

2 posts were split to a new topic: Agama installation experience

Latest update: Running the new install of Leap 16, migrated from 15.6 . . . so far only one “glitch” noticed yesterday, when reviving from suspend the mouse “froze” for a bit, and then “unfroze” . . . .

So, hard to know if the fresh install had moved past some package that was causing problems . . . OR, it is just lulling me into submission until it decides to go “glitchy.”

Meaning I am waiting to install Wayland on this system, until such time as problems crop up.

OK . . . as reported on the Chat thread, while typing frantically into the thread I had what is now the second “glitch” event, where pressing keyboard the typing stopped as I continued to push the keys, and then couldn’t re-position the cursor to re-enter the words.

So the “game” is afoot in the new install.

Some questions:

  1. Does it affect all applications, or only particular applications when typing?

  2. Does switching to another VT (Ctrl+Alt+F2, then back) restore input responsiveness (even temporarily)?

Watch the messaging with journalctl --user -fin a terminal window, and note/capture what is reported when issues are evident. That might yield more definitive info. You could simultaneously watch system messaging in another terminal with sudo journalctl -f

1 Like