From nobody Mon Dec 2 19:57:31 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y2F1m47Lsz5gLvf for ; Mon, 02 Dec 2024 19:57:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2F1m33Jhz4rrm for ; Mon, 2 Dec 2024 19:57:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733169452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JYdwAfJvgBw9DNuqmoTQZBM7k7u55bZJHg57mU6nuGE=; b=UESZvKgo+bqxaUAnplVEKbdDhydpZrVAEejARXvFROsZtAJel9VWCnY74poR7bceo2TzYc xnmjB/VTbSS1y6x+5L72vCZIBDwQeX1EG0HP4crttPXAx9oLEo1y99R+pJ/ubLUVAQ38PZ z5mH2eMZwO14dkq03lAVgZzyC9jIgUaN6V+e5r+SDXkdXeeRFO+glYSmvq1LXgIU67QE/c RwJuMnpSjBagVLY3EZGz7h9j4shUguD6uOGfqRU6kLp6dxsdKS1sbayCb729Ho0ycXTE+y mYYBB79Onb4qLQ+EDzuMsCVma4xd4gNXraJHzpWSKD+K1t/ugUSIfPrmjSVYFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733169452; a=rsa-sha256; cv=none; b=LoPB9pSZwaEE/K68ilUkMdsaXYT40Yj6IJPU7zG+ctvAbrcU6dI56GvSG39lIUqZvCWEql vkdto0i2/7mG612wLI7f09udAnJuRoMBb6HrRyuPpDVfrw7JYoJXlJVfnIh+Q6gUqyci3A u/a3e54SLoRQtdSf4xBeeBrb41pXLEeus3UyM5Dy+P5oOQE5tMoNuz18mU04kXxT7YrwI1 ILACcrMiZelzaRTBWTvjCk8HfYTcjmkz0D6CRVBcjK6ZAOTlSAMNO9YhtnR4RK/yWvEuKi g5X2kMhHr3BtmApLFHQs8tSYASgjB6x1AvLRWFkX1O3NDp0qL4NTzNY7VtAAUQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y2F1m2gP6zrMK for ; Mon, 2 Dec 2024 19:57:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4B2JvWCs049624 for ; Mon, 2 Dec 2024 19:57:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B2JvW4I049623 for bugs@FreeBSD.org; Mon, 2 Dec 2024 19:57:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262282] Framework laptop touchpad latency Date: Mon, 02 Dec 2024 19:57:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@darkain.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262282 --- Comment #12 from Vincent Milum Jr --- I think part of the issue is just FreeBSD's underlaying touchpad code, not = even specific to this exact touchpad. I have another laptop that has a 144Hz screen on it, but I noticed the touc= hpad in FreeBSD was only polling at ~60Hz. When there is such a large discrepancy between screen refresh rate and pointer polling, it becomes significantly m= ore noticeable. Latency issue or not (I don't remember if that machine also had that issue), due to the fact that there is mouse movement smoothing as well, multiple in= puts would need to be captured for the smoothing to kick in and then produce a response back to the rest of the stack and ultimately the cursor update on screen. So the first two things I'd suggest investigating is the polling frequency = and the code used for cursor smoothing. As an additional note: on that laptop with the 144Hz screen (some random De= ll I have), I tried tweeking the polling frequency directly in the driver it use= s. I could only push it as far as about 120Hz before input became entirely unsta= ble. I didn't really check into seeing if this was an issue with the hardware or somewhere in the driver/kernel. --=20 You are receiving this mail because: You are the assignee for the bug.=