Bug 262282 - Framework laptop touchpad latency
Summary: Framework laptop touchpad latency
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: frameworklaptop
  Show dependency treegraph
 
Reported: 2022-03-01 20:09 UTC by Ed Maste
Modified: 2024-05-14 22:51 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2022-03-01 20:09:19 UTC
There is observable latency between certain touchpad actions and mouse movement.

In the vt(4) console with moused running if I start without touching the touchpad, then touch and immediately move my finger there seems to be a delay of about 3/4 of a second before the cursor starts moving. If I place my finger on the touchpad but wait at least a second before moving there is a short (just barely perceptible) delay before the cursor moves.

There is little delay while in X - seems to be barely perceptible if starting without touching the touchpad, and imperceptible if starting with a finger on the touchpad.

FreeBSD main and drm-kmod master as of Feb 24 2022.
Comment 1 Vincent Milum Jr 2022-03-01 22:11:40 UTC
In my particular case, the latency even in xorg is still very noticeable. It isn't the full ~1s delay as seen on the console, but it is probably somewhere in the neighborhood of 100ms. This delay is NOT seen when using Windows on the same laptop, and makes it a little frustrating to actually use with FreeBSD, as a user who is extremely sensitive to latency. The latency on FreeBSD isn't just the initial movement, it is continual throughout the entirety of moving the cursor on the screen, the feedback is always ~100ms behind the actual input being given. This same latency is NOT seen when using an external USB mouse on the same machine.
Comment 2 Ed Maste freebsd_committer freebsd_triage 2024-05-01 19:59:01 UTC
In BIOS PS/2 Emulation was set to "Auto". Changing it to "Disabled" addresses vt(4) latency (because the trackpad no longer moves the cursor at all). In X the trackpad seems fine.

Vince, can you check the state of the BIOS setting, and if currently set to Auto retry with it set to Disabled?