You are not logged in.
Hey everyone,
I'm new to the forums and really need help after struggling with this issue for two weeks. I'm experiencing input lag and sluggish movement on my touchpad compared to its precise and crisp performance on Windows. The issue occurs after using the touchpad for 30-60 seconds, often after opening applications like Firefox.
System Information
I'm using Gnome,
Laptop: 83ER IdeaPad Slim 3 15IAH8
uname -a:
Linux ideapad 6.9.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000 x86_64 GNU/Linux
dmesg | grep -i input:
[ 4.422097] input: ELAN06FA:00 04F3:32B9 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-15/i2c-ELAN06FA:00/0018:04F3:32B9.0001/input/input9
[ 4.422171] input: ELAN06FA:00 04F3:32B9 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-15/i2c-ELAN06FA:00/0018:04F3:32B9.0001/input/input11
libinput list-devices:
Device: ELAN06FA:00 04F3:32B9 Touchpad
Kernel: /dev/input/event7
Group: 4
Seat: seat0, default
Size: 101x68mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: [b]two-finger edge[/b]
Click methods: [b]button-areas clickfinger[/b]
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles: [b]flat adaptive custom[/b]
Rotation: n/a
lspci:
00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT1 [UHD Graphics] (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51be (rev 01)
00:1c.7 PCI bridge: Intel Corporation Alder Lake PCH-P PCI Express Root Port #9 (rev 01)
00:1e.0 Communication controller: Intel Corporation Alder Lake PCH UART #0 (rev 01)
00:1e.3 Serial bus controller: Intel Corporation Alder Lake SPI Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 Non-Volatile memory controller: Micron Technology Inc 2400 NVMe SSD (DRAM-less) (rev 03)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
Troubleshooting Steps Taken
- Tested Multiple Linux Distros: Tried various distributions (Ubuntu, Fedora, Debian) before settling on Arch Linux.
- Switched Display Servers: Tested both Wayland and X11 to rule out display server issues.
- Checked for Available Drivers: Unable to find specific drivers for my laptop model.
- Configurations: Created and modified configuration files for both libinput and synaptics drivers (specifically, I tried adjusting sensitivity, acceleration profiles, and tap-to-click settings).
- Disabled Power Management: Modified udev rules to disable power management for the touchpad.
- Kernel Parameters: Added i8042.nomux=1 i8042.reset to improve touchpad performance.
- Monitored System Logs: Noticed kernel message related to touchpad issues but couldn't find definitive solutions (kernel msg: event7 - ELAN06FA:00 04F3:32B9 Touchpad: kernel bug: Touch jump detected and discarded.).
The touchpad sometimes works perfectly after closing and reopening the laptop lid / rebooting the machine and even if I leave the touchpad for a bit it works for a couple of seconds but reverts to its sluggish state after a few seconds or after opening certain applications sometimes.
The touchpad works perfectly on Windows with no input lag or sluggish movements.
The issue seems to be related to software/driver/configuration settings rather than hardware.
It's important to note I have reversed any changes I made back to the original state before I tried to mess with any settings.
I'm seeking further advice or solutions from the community to address the touchpad input lag and achieve the same performance as on Windows. Any insights or additional troubleshooting steps would be greatly appreciated.
Last edited by benjamindesu (2024-06-25 19:39:16)
ArchPrincess
Offline
Hi, does your issue persists when laptop is unplugged?
Offline
Yes, even tried taking out the laptop outside to rule out any potential electrical interferences.
ArchPrincess
Offline
This certainly does seem like a sort of power-related issue. My next step would have been to disable power management entirely in kernel parameters, but doing some research led me to the following which you may have already seen:
https://bugzilla.kernel.org/show_bug.cgi?id=214597
https://gitlab.freedesktop.org/libinput … issues/618
Both threads (which overlap in content and the identity of the participants) are about occasional input lag on Elantech touchpads.
Offline
Unfortunately I had already tried disabling the power management thorough kernel but I forgot to write it so here is a summarized list of what I have tried so far.
Summary of Disabled Power Management Features
1. Disable CPU Power States:
- Modified the GRUB configuration to disable CPU power-saving states:
sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"/GRUB_CMDLINE_LINUX_DEFAULT="\1 intel_idle.max_cstate=1 processor.max_cstate=1"/' /etc/default/grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
2. Disable USB Autosuspend:
- Added kernel parameter to disable USB autosuspend:
sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"/GRUB_CMDLINE_LINUX_DEFAULT="\1 usbcore.autosuspend=-1"/' /etc/default/grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
3. Disable ASPM (Active State Power Management):
- Added kernel parameter to disable ASPM:
sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"/GRUB_CMDLINE_LINUX_DEFAULT="\1 pcie_aspm=off"/' /etc/default/grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
4. Disable SATA Link Power Management:
- Added kernel parameter to disable SATA link power management:
sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"/GRUB_CMDLINE_LINUX_DEFAULT="\1 libata.force=1.5Gbps,noncq"/' /etc/default/grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
5. Disable Intel P-State and Turbo Boost:
- Added kernel parameter to disable Intel P-State and Turbo Boost:
sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"/GRUB_CMDLINE_LINUX_DEFAULT="\1 intel_pstate=disable intel_idle.max_cstate=0"/' /etc/default/grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
NetworkManager Power Saving:
- Disabled Wi-Fi power saving:
echo -e "[connection]\nwifi.powersave = 2" | sudo tee /etc/NetworkManager/conf.d/disable-power-management.conf
Bluetooth Power Saving:
- Disabled Bluetooth power saving features:
echo -e "[General]\nDisablePlugins = pnat" | sudo tee /etc/bluetooth/main.conf
Ethernet Power Saving:
- Disabled Wake-on-LAN (WOL) and other power-saving features for Ethernet interfaces:
echo 'ACTION=="add", SUBSYSTEM=="net", KERNEL=="enp*", RUN+="/usr/bin/ethtool -s $name wol d"' | sudo tee /etc/udev/rules.d/10-network.rules
systemd Sleep Configuration:
- Disabled systemd sleep actions:
echo -e "# Empty file to disable systemd sleep actions\n" | sudo tee /etc/systemd/sleep.conf
Screen Blanking:
- Disabled screen blanking:
xset s off
Update:
After reverting the changes, I noticed something rather interesting. It seems that when my screen goes dim (before entering sleep mode) and I use the touchpad, it works fine for a couple of seconds and then returns to its original state. Note that this happens only sometimes, not all the time. This leads me to the same conclusion as you: it probably is a power issue. I’m going to install any firmware I can find for my laptop again, try reverting versions, and come back to update here.
Last edited by benjamindesu (2024-06-29 15:20:30)
ArchPrincess
Offline
After many tries to find anything related to it I stopped trying, would really be glad if someone has anything to try and solve this frustrating problem.
ArchPrincess
Offline
Your touchpad is connected via i2c controller on pci, can you try the following?
#!/bin/bash
parts=('/sys/devices/pci0000:00/0000:00:15.1' '/i2c_designware.1' '/i2c-15/i2c-ELAN06FA:00' '/0018:04F3:32B9.0001')
path=
for part in "${parts[@]}"; do
path="$path$part"
echo on > "$path"/power/control
done
Offline
Unfortunately it seems like it doesn't change a thing after applying the script...
It's so weird since sometimes it just works for a bit and then after using it more it stops and returns to it sluggish state.
ArchPrincess
Offline
Sorry about that. As far as I know, there's no power control for elan touchpads available, but just to be sure, try this:
ls /sys/bus/i2c/devices/i2c-15/power/
How is the overall system performance? Do you see anything strange in powertop when touchpad goes off?
Have you tried lts kernel?
Offline
I also have the same laptop and i tried live booting ubuntu, fedora but i am facing the same issue as you . Did you find any solution?
Offline
Do you mind sharing the output of the command I posted earlier?
Offline
Do you mind sharing the output of the command I posted earlier?
Currently I am using WIndows 11, I was planning to install linux but when i live booted fedora i saw that touchpad isn't working properly. That's why i didn't install linux (i also tried live booting arch based distro and ubuntu same issue)
Offline
Hey everyone,
I'm new to the forums and really need help after struggling with this issue for two weeks. I'm experiencing input lag and sluggish movement on my touchpad compared to its precise and crisp performance on Windows. The issue occurs after using the touchpad for 30-60 seconds, often after opening applications like Firefox.
System Information
I'm using Gnome,Laptop: 83ER IdeaPad Slim 3 15IAH8
uname -a:
Linux ideapad 6.9.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000 x86_64 GNU/Linux
dmesg | grep -i input:
[ 4.422097] input: ELAN06FA:00 04F3:32B9 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-15/i2c-ELAN06FA:00/0018:04F3:32B9.0001/input/input9 [ 4.422171] input: ELAN06FA:00 04F3:32B9 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-15/i2c-ELAN06FA:00/0018:04F3:32B9.0001/input/input11
libinput list-devices:
Device: ELAN06FA:00 04F3:32B9 Touchpad Kernel: /dev/input/event7 Group: 4 Seat: seat0, default Size: 101x68mm Capabilities: pointer gesture Tap-to-click: disabled Tap-and-drag: enabled Tap drag lock: disabled Left-handed: disabled Nat.scrolling: disabled Middle emulation: disabled Calibration: n/a Scroll methods: [b]two-finger edge[/b] Click methods: [b]button-areas clickfinger[/b] Disable-w-typing: enabled Disable-w-trackpointing: enabled Accel profiles: [b]flat adaptive custom[/b] Rotation: n/a
lspci:
00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT1 [UHD Graphics] (rev 0c) 00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02) 00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02) 00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02) 00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01) 00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02) 00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01) 00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01) 00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01) 00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01) 00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation Device 51be (rev 01) 00:1c.7 PCI bridge: Intel Corporation Alder Lake PCH-P PCI Express Root Port #9 (rev 01) 00:1e.0 Communication controller: Intel Corporation Alder Lake PCH UART #0 (rev 01) 00:1e.3 Serial bus controller: Intel Corporation Alder Lake SPI Controller (rev 01) 00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01) 00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01) 00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01) 00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01) 01:00.0 Non-Volatile memory controller: Micron Technology Inc 2400 NVMe SSD (DRAM-less) (rev 03) 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
Troubleshooting Steps Taken
- Tested Multiple Linux Distros: Tried various distributions (Ubuntu, Fedora, Debian) before settling on Arch Linux.
- Switched Display Servers: Tested both Wayland and X11 to rule out display server issues.
- Checked for Available Drivers: Unable to find specific drivers for my laptop model.
- Configurations: Created and modified configuration files for both libinput and synaptics drivers (specifically, I tried adjusting sensitivity, acceleration profiles, and tap-to-click settings).
- Disabled Power Management: Modified udev rules to disable power management for the touchpad.
- Kernel Parameters: Added i8042.nomux=1 i8042.reset to improve touchpad performance.
- Monitored System Logs: Noticed kernel message related to touchpad issues but couldn't find definitive solutions (kernel msg: event7 - ELAN06FA:00 04F3:32B9 Touchpad: kernel bug: Touch jump detected and discarded.).The touchpad sometimes works perfectly after closing and reopening the laptop lid / rebooting the machine and even if I leave the touchpad for a bit it works for a couple of seconds but reverts to its sluggish state after a few seconds or after opening certain applications sometimes.
The touchpad works perfectly on Windows with no input lag or sluggish movements.
The issue seems to be related to software/driver/configuration settings rather than hardware.It's important to note I have reversed any changes I made back to the original state before I tried to mess with any settings.
I'm seeking further advice or solutions from the community to address the touchpad input lag and achieve the same performance as on Windows. Any insights or additional troubleshooting steps would be greatly appreciated.
Have you got any solutions yet?
Offline
Sorry about that. As far as I know, there's no power control for elan touchpads available, but just to be sure, try this:
ls /sys/bus/i2c/devices/i2c-15/power/
How is the overall system performance? Do you see anything strange in powertop when touchpad goes off?
Have you tried lts kernel?
There is nothing in that directory
Offline