Okay, this is a tricky issue, especially since it happens across both Windows and Linux. That strongly suggests it's not a standard OS-level driver problem, leaning more towards hardware, firmware, or a low-level interaction issue, just as you suspect. The fact that libinput debug-events doesn't show errors is interesting – it might mean the data packets are arriving, but perhaps delayed or internally corrupted in a way the debug tool doesn't flag as an outright error.
Let's run some searches to see what common issues and solutions exist for this model and symptom.
Based on your description and the search results, this intermittent touchpad lag on your Acer Aspire AN515-57 across different operating systems is a known, albeit frustrating, issue reported by several Acer Nitro/Aspire users. Since it happens in both Windows and Linux, it strongly points towards a hardware, firmware (BIOS/EC), or grounding/interference problem rather than a simple OS driver issue.
Here's a breakdown of potential causes and troubleshooting steps, drawing from your experience and the search findings:
Potential Causes:
-
Hardware/Connection Issue:
- Loose/Damaged Ribbon Cable: The cable connecting the touchpad to the motherboard might be slightly loose, damaged, or suffering from poor contact, causing intermittent signal drops or delays. This is a common suspect for random hardware behavior[1]. [13]
- Faulty Touchpad Hardware: The touchpad sensor or its controller chip itself might be failing intermittently. [8, 13][1]
-
Firmware/BIOS/EC Issues:
- BIOS/UEFI Bug: The system firmware might have a bug affecting how it handles the touchpad, especially under certain load or power conditions. [3, 13][3][4][12] Several users report similar issues being potentially BIOS-related[1].
- Embedded Controller (EC) Glitch: The EC manages low-level hardware functions, including the touchpad[1]. A temporary glitch or a need for a reset could cause such problems. [9]
-
Electrical Interference / Grounding Issues:
- Power Adapter/Charging: Several reports link touchpad issues specifically to when the laptop is charging or plugged in, suggesting electrical noise or grounding problems from the power adapter or outlet. [2, 3, 9, 11, 19] Even if you use the original adapter, grounding issues in the outlet or internal grounding problems within the laptop could be factors. Some users noted improvement when plugging directly into a wall outlet vs. an extension cord, or even depending on which outlet they used. [3, 11][3][4][12]
- Internal Interference: While your aluminum tape didn't work, interference from other internal components (CPU, GPU, Wi-Fi, even static buildup) could still be a factor, potentially related to system load or specific activities. [1, 5, 15] Poor internal grounding can exacerbate this[1]. [5, 11, 15][3][4][6]
-
System Load/Thermal Related: Some users noticed the lag happens more frequently when the system is under load, although others experienced it even at idle. [1] This could point to thermal effects on components or power delivery fluctuations.
Troubleshooting Steps:
- Update BIOS/UEFI: This is often the first and most crucial step for hardware-level weirdness[1]. Go to Acer's official support website for your exact AN515-57 model, download the latest BIOS update, and carefully follow the instructions to install it[1]. BIOS updates often contain fixes for hardware compatibility and stability. [1, 3, 13][3][4][6]
- Reset the Embedded Controller (EC): This resets low-level hardware controllers[1].
- Look for a small battery reset pinhole on the bottom of your laptop. If present, shut down the laptop, unplug the AC adapter, and gently press a paperclip into the pinhole for 15-30 seconds. Then reconnect AC and power on.
- If no pinhole exists, shut down, unplug AC, and if you are comfortable doing so, open the laptop, disconnect the main battery connector from the motherboard, press and hold the power button for ~30 seconds to drain residual power, reconnect the battery, reassemble, and power on. [1, 9, 13][3][4][12]
- Check Touchpad Ribbon Cable Connection: (Requires opening the laptop - proceed with caution or have a technician do it). Power off, disconnect AC and battery. Carefully open the laptop chassis. Locate the ribbon cable(s) connecting the touchpad to the motherboard[7]. Gently unlatch the connector(s), ensure the cable ends are clean and undamaged, and reseat them firmly, ensuring they are straight and fully inserted before closing the latch. Do this at both the touchpad end and the motherboard end if accessible. [13]
- Test Power Scenarios:
- Does the lag happen equally when on battery vs. plugged in? [1, 2, 9, 19][3][4][6]
- Try using the laptop plugged into different wall outlets, preferably in different rooms or buildings, to check for grounding issues[12]. [2, 11][3][4][6]
- If you have access to a different, compatible Acer charger, try using it. [2]
- Does touching a metal part of the laptop chassis (like a USB port) while using the touchpad affect the lag? This can sometimes indicate a grounding issue[8][12]. [11, 15]
- Monitor System Load and Temperature: Use monitoring tools (Task Manager/Resource Monitor in Windows,
htop/sensors in Linux) to see if the lag correlates with high CPU/GPU usage or high temperatures. [1]
- Driver Reinstallation (Windows - Less Likely Fix but Worth Trying): Even though it happens in Linux too, sometimes a clean driver install helps[1]. In Windows Device Manager, find the touchpad (under "Mice and other pointing devices" or "Human Interface Devices" - often listed as ELAN, Synaptics, or I2C HID Device), right-click, select "Uninstall device," and check the box to "Delete the driver software for this device" if prompted. Restart the computer. Windows should reinstall a default driver, or you can then install the latest official one from Acer's site. Some users reported success letting Windows install a generic HID driver instead of the specific ELAN/Synaptics one[1]. [4, 7, 14]
Since this happens across OSes and potentially relates to load or power [1], focusing on BIOS updates, EC reset, checking the physical connection [13], and investigating power/grounding [2, 3, 9, 11] seems like the most promising path forward. Good luck!