You are not logged in.

#1 2024-04-14 16:57:37

jenia
Member
Registered: 2014-07-12
Posts: 43

[SOVLED] Mouse scrolling is slow after suspend laptop

Hello.

After suspending my laptop, the mouse scrolling becomes painfully slow.

I read the archwiki which says to do:

    xinput --set-prop 2 'libinput Accel Speed' 1

But I get the following error:

WARNING: running xinput against an Xwayland server. See the xinput man page for details.
property 'libinput Accel Speed' doesn't exist, you need to specify its type and format

Here are my xinput devices:

> xinput list
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ xwayland-pointer:17                       id=6    [slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:17              id=7    [slave  pointer  (2)]
⎜   ↳ xwayland-pointer-gestures:17              id=8    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ xwayland-keyboard:17                      id=9    [slave  keyboard (3)]

Can someone please give me a hint on what to try next?

P.S. I tried doing

xinput --set-prop 2 'libinput Accel Speed' 1

for all devices, same output unfortunately.

Here are the xinput properties that the pointer devices have:

> xinput list-props 2
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'Virtual core pointer':
        Device Enabled (120):   1
        Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
> xinput list-props 4
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'Virtual core XTEST pointer':
        Device Enabled (120):   1
        Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        XTEST Device (231):     1
> xinput list-props 6
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'xwayland-pointer:17':
        Device Enabled (120):   1
        Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (237):     0
        Device Accel Constant Deceleration (238):       1.000000
        Device Accel Adaptive Deceleration (239):       1.000000
        Device Accel Velocity Scaling (240):    10.000000
> xinput list-props 7
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'xwayland-relative-pointer:17':
        Device Enabled (120):   1
        Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (237):     0
        Device Accel Constant Deceleration (238):       1.000000
        Device Accel Adaptive Deceleration (239):       1.000000
        Device Accel Velocity Scaling (240):    10.000000
> xinput list-props 8
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'xwayland-pointer-gestures:17':
        Device Enabled (120):   1
        Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (237):     0
        Device Accel Constant Deceleration (238):       1.000000
        Device Accel Adaptive Deceleration (239):       1.000000
        Device Accel Velocity Scaling (240):    10.000000

Last edited by jenia (2024-04-14 19:49:30)

Offline

#2 2024-04-14 17:40:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,826

Re: [SOVLED] Mouse scrolling is slow after suspend laptop

xinput doesn't work on Wayland check your compositor settings

Online

#3 2024-04-14 17:51:23

jenia
Member
Registered: 2014-07-12
Posts: 43

Re: [SOVLED] Mouse scrolling is slow after suspend laptop

what is a compositor?

Offline

#4 2024-04-14 17:54:09

jenia
Member
Registered: 2014-07-12
Posts: 43

Re: [SOVLED] Mouse scrolling is slow after suspend laptop

I'm not using any compositor. I'm using Gnome

Offline

#5 2024-04-14 18:07:03

jenia
Member
Registered: 2014-07-12
Posts: 43

Re: [SOVLED] Mouse scrolling is slow after suspend laptop

I tried using imwheel:

> cat ~/.imwheelrc 
".*"
None,      Up,   Button4, 7
None,      Down, Button5, 7

Still did not work.

I tried setting the mouse speed in Gnome settings, didn't do anything.

If I restart the laptop, the mouse scroll speed goes back to normal.

Offline

#6 2024-04-14 18:10:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,826

Re: [SOVLED] Mouse scrolling is slow after suspend laptop

Gnome - or rather mutter - is your compositor, check it's settings.

Could also be a kernel bug, is the faulty behaviour replicated in sudo libinput debug-events , do you get less events after than before the suspend? Which mouse?

Online

#7 2024-04-14 19:34:01

seth
Member
Registered: 2012-09-03
Posts: 51,824

Re: [SOVLED] Mouse scrolling is slow after suspend laptop

Online

#8 2024-04-14 19:39:12

jenia
Member
Registered: 2014-07-12
Posts: 43

Re: [SOVLED] Mouse scrolling is slow after suspend laptop

Thanks for all the tips Seth and V1del.

With your help I found the original issue I think: https://github.com/bluez/bluez/issues/778

I downgraded bluez to 5.72 and will restart the OS now. Hope this will resolve the issue. Will keep you posted or whether it does or not.

Last edited by jenia (2024-04-14 19:50:18)

Offline

#9 2024-04-14 19:41:42

jenia
Member
Registered: 2014-07-12
Posts: 43

Re: [SOVLED] Mouse scrolling is slow after suspend laptop

It did smile I suspended my laptop after downgrading and restarting and the scrolling is normal smile smile thanks kindly!

Offline

Board footer

Powered by FluxBB