Bug 159893 - Upgrade to Kernel 6.5.0 (from 5.15) produces unreliable Mouse Behavior in Calc
Summary: Upgrade to Kernel 6.5.0 (from 5.15) produces unreliable Mouse Behavior in Calc
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-26 07:30 UTC by CP
Modified: 2024-04-24 18:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CP 2024-02-26 07:30:29 UTC
Bug Summary: After upgrading from Linux Kernel 5.15 to 6.5.0 (initially 6.5.0-18, currently 6.5.0-21) my mouse scroll wheel has become unreliable, but only when attempting to scroll "down" and only in LibreOffice Calc... On screen the behavior is indistinguishable from, say, a sticking mouse wheel sensor. 

Apps tested include:-
1. With Issue:-
LibreOffice Calc [Version 7.3.7.2]

2. Without Issue: (basically everything else I've tested, including):-
Bluefish Editor 2.2.12
Cinnamon Desktop [i.e. by selecting "All Applications" and scrolling up and down]
Claws-Mail 4.0.0
FireFox 123.0
GIMP 2.10.36
Google Earth 7.3.6.9750 [64-bit]
GThumb 3.12.0
LibreOffice Writer 7.3.7.2
Software Manager 21.3
Xed 3.4.5

Symptoms are that scrolling "up" a spreadsheet tab works as expected, but when trying to scroll "down" (i.e. pulling the top of the mouse wheel towards you) results in an irregular or "jammed" scrolling of the display on screen. So far, this symptom has only been observed in LibreOffice Calc. It is not visible in LibreOffice Writer or any of the apps listed above. It is very apparent. I'm a heavy user of Calc and was using the application either side of the kernel switch, which made the issue very obvious.

Rebooting makes no difference. This hardware platform dual-boots with Windows 11/64-Bit/Pro - and to date zero issues have been observed with any peripherals or apps on Windows.

Intend to report this to LibreOffice and potentially to downgrade back to 5.15, but wanted to report here in case it was some kind of odd signalling or hardware interface problem. It has definitely been induced by the kernel change. Hardware details are:-

inxi -F
System:
Host: Fanless Kernel: 6.5.0-21-generic x86_64 bits: 64
Desktop: Cinnamon 6.0.4 Distro: Linux Mint 21.3 Virginia
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial:
Mobo: ASUSTeK model: ROG STRIX B760-I GAMING WIFI v: Rev 1.xx
serial: UEFI: American Megatrends v: 1604
date: 12/15/2023
Battery:
ID-1: hidpp_battery_0 charge: 100% condition: N/A
CPU:
Info: 24-core (8-mt/16-st) model: Intel Core i9-14900T bits: 64
type: MST AMCP cache: L2: 32 MiB
Speed (MHz): avg: 809 min/max: 800/5100:5500:4000 cores: 1: 800 2: 800
3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 1100 11: 800 12: 800
13: 800 14: 800 15: 800 16: 800 17: 800 18: 800 19: 800 20: 800 21: 800
22: 800 23: 800 24: 800 25: 800 26: 800 27: 800 28: 800 29: 800 30: 800
31: 800 32: 800
Graphics:
Device-1: NVIDIA TU117GL [T600] driver: nvidia v: 535.154.05
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia resolution:
1: 4096x230460Hz 2: 4096x230460Hz 3: 4096x2304~60Hz {{ Note - this is wrong, actual res is 2560x1440 }}}
OpenGL: renderer: NVIDIA T600/PCIe/SSE2 v: 4.6.0 NVIDIA 535.154.05
Audio:
Device-1: Intel driver: snd_hda_intel
Device-2: NVIDIA driver: snd_hda_intel
Sound Server-1: ALSA v: k6.5.0-21-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel driver: iwlwifi
IF: wlp0s20f3 state: down mac: xxxxxxxxxxxxxxxxxx
Device-2: Intel driver: igc
IF: enp5s0 state: up speed: 2500 Mbps duplex: full mac: xxxxxxxxxxxxxxxxxx
Bluetooth:
Device-1: Intel type: USB driver: btusb
Report: hciconfig ID: hci0 state: up address: xxxxxxxxxxxxxxxxxx
RAID:
Hardware-1: Intel Device driver: vmd
Drives:
Local Storage: total: 7.28 TiB used: 179.93 GiB (2.4%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 4TB size: 3.64 TiB
ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 990 PRO 4TB size: 3.64 TiB
Partition:
ID-1: / size: 59.78 GiB used: 752.1 MiB (1.2%) fs: ext4 dev: /dev/nvme0n1p4
ID-2: /boot/efi size: 96 MiB used: 32.3 MiB (33.6%) fs: vfat
dev: /dev/nvme0n1p1
ID-3: /home size: 59.78 GiB used: 1.77 GiB (3.0%) fs: ext4
dev: /dev/nvme0n1p8
ID-4: /tmp size: 29.87 GiB used: 1.5 MiB (0.0%) fs: ext4
dev: /dev/nvme0n1p10
ID-5: /usr size: 59.78 GiB used: 12.42 GiB (20.8%) fs: ext4
dev: /dev/nvme0n1p7
ID-6: /var size: 59.78 GiB used: 4.56 GiB (7.6%) fs: ext4
dev: /dev/nvme0n1p9
Swap:
ID-1: swap-1 type: partition size: 61.04 GiB used: 0 KiB (0.0%)
dev: /dev/nvme0n1p6
Sensors:
System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 40 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 551 Uptime: 40m Memory: 62.53 GiB used: 3.84 GiB (6.1%)
Shell: Bash inxi: 3.3.13

Mouse is Logitech G903 Lightspeed - issue exists whether connected wirelessly or tethered
Keyboard is Logitech G916 - no issues observed either wirelessly or tethered

Steps to reproduce
Upgrade from kernel 5.15 to 6.5.0... Launch LibreOffice Calc, attempt to scroll and observe failure for display to move when scrolling down.

Expected behavior
Smooth scrolling driven by the mouse wheel, in either direction, in all applications.

Very happy to gather more data if required.
Comment 1 CP 2024-02-28 07:22:13 UTC
I am not sure if the following helps, or if it is sufficient, but here's an excerpt from my /var/log/syslog file, showing the kernel detecting my mouse and keyboard hardware. Note that this hardware setup has been in use for years without issue.


Feb 28 06:27:51 Fanless kernel: [    3.410565] usb 1-6.1: Product: USB Receiver
Feb 28 06:27:51 Fanless kernel: [    3.420484] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1:1.0/0003:046D:C539.0002/input/input3
Feb 28 06:27:51 Fanless kernel: [    3.478447] hid-generic 0003:046D:C539.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-6.1/input0
Feb 28 06:27:51 Fanless kernel: [    3.481160] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:046D:C539.0003/input/input4
Feb 28 06:27:51 Fanless kernel: [    3.481519] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:046D:C539.0003/input/input5
Feb 28 06:27:51 Fanless kernel: [    3.538415] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:046D:C539.0003/input/input6
Feb 28 06:27:51 Fanless kernel: [    3.538712] hid-generic 0003:046D:C539.0003: input,hiddev1,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-6.1/input1
Feb 28 06:27:51 Fanless kernel: [    3.541127] hid-generic 0003:046D:C539.0004: hiddev2,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-6.1/input2
Feb 28 06:27:51 Fanless kernel: [    3.602673] logitech-djreceiver 0003:046D:C539.0002: hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-6.1/input0
Feb 28 06:27:51 Fanless kernel: [    3.618281] usb 1-6.2: new full-speed USB device number 9 using xhci_hcd
Feb 28 06:27:51 Fanless kernel: [    3.721561] usb 1-6.2: New USB device found, idVendor=046d, idProduct=c541, bcdDevice= 1.02
Feb 28 06:27:51 Fanless kernel: [    3.721564] usb 1-6.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 28 06:27:51 Fanless kernel: [    3.721566] usb 1-6.2: Product: USB Receiver
Feb 28 06:27:51 Fanless kernel: [    3.730282] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.2/1-6.2:1.0/0003:046D:C541.0005/input/input8
Feb 28 06:27:51 Fanless kernel: [    3.834857] hid-generic 0003:046D:C541.0005: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-6.2/input0
Feb 28 06:27:51 Fanless kernel: [    3.835012] logitech-djreceiver 0003:046D:C539.0003: hiddev1,hidraw4: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-6.1/input1
Feb 28 06:27:51 Fanless kernel: [    3.835966] input: Logitech USB Receiver Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.2/1-6.2:1.1/0003:046D:C541.0006/input/input9
Feb 28 06:27:51 Fanless kernel: [    3.894583] hid-generic 0003:046D:C541.0006: input,hidraw5: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-6.2/input1
Feb 28 06:27:51 Fanless kernel: [    3.895096] logitech-djreceiver 0003:046D:C539.0004: hiddev2,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-6.1/input2
Feb 28 06:27:51 Fanless kernel: [    3.895744] hid-generic 0003:046D:C541.0007: hiddev3,hidraw6: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-6.2/input2
Feb 28 06:27:51 Fanless kernel: [    3.956666] hid-generic 0003:046D:4087.0008: input,hidraw7: USB HID v1.11 Keyboard [Logitech Wireless Mouse PID:4087] on usb-0000:00:14.0-6.1/input2:1
Feb 28 06:27:51 Fanless kernel: [    4.085719] logitech-hidpp-device 0003:046D:4087.0008: input,hidraw7: USB HID v1.11 Keyboard [Logitech G903 LS] on usb-0000:00:14.0-6.1/input2:1
Comment 2 Buovjaga 2024-04-24 15:43:29 UTC
As 7.3 is quite old, could you test with 24.2? It is possible to quickly test by using an appimage: https://www.libreoffice.org/download/appimage/
Comment 3 CP 2024-04-24 18:25:16 UTC
Tested as requested and can confirm that the issue is not present with AppImage 24.2. 

On this basis I would be happy to close this ticket - with my thanks for your suggestion. 

I will return to the Mint Forum and post an update and see if I can nudge Clem and the Team to move to later App versions. (One of the oddities of Mint is that they refresh some desktop apps - like Firefox, but not others - like LibreOffice). 

Really appreciate your response. 

Thank you. 



***Issue fixed with later release. ***