Choppy trackpad/USB mouse behavior with oem-1023 or above kernel version

Bug #1964850 reported by You-Sheng Yang
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
linux (Ubuntu)
Fix Released
You-Sheng Yang
Fix Released
You-Sheng Yang
linux-oem-5.14 (Ubuntu)
Fix Released
You-Sheng Yang

Bug Description

[SRU Justfication]


Disjoint trackpad/mouse path found on PSR capable panels.


Two fixes from v5.17-rc6 that only turns off vblank IRQs when PSR is not
enabled, originally for commit f94cf1cb1796 ("drm/amdgpu/display: set
vblank_disable_immediate for DC") that was being backported to LTS stable
5.15.y, and therefore oem-5.14.

[Test Case]

Simply move the mouse around.

[Where problems could occur]

This follows for AMD platforms, the power-saving performance may not be
as good as before, but while we don't have such energy-saving
certificate program for AMD yet, this would become something to be fully
addressed in the future.

[Other Info]

These fixes have been applied to v5.15.27, and oem-5.14 currently has
v5.15.25 in -1028, therefore only oem-5.14 is nominated, but probably
they will still be included through stable patch backport in the next

========== original bug report ==========

Observed choppy issue for touchpad on HP Lockheed with OEM-1025 kernel, and can't smoothly drag USB mouse if connected.
Rolled back to OEM-1023 kernel and observed the same issues.
Can't reproduce the issue with OEM-1022 kernel.

Bisect identified the problematic commits below,
          021e2c1f6143 drm/amdgpu/display: set vblank_disable_immediate for DC
          1a4dd5a679da drm/amd/display: check top_pipe_to_program pointer

Reverting above 2 commits on the top of oem-5.14-5.14.0-1025.27, touchpad or USB mouse back to normal working behavior on HP Lockheed and we don't see choppy trackpad/mouse issue.

$ git log --oneline -5
62e596025e1e (HEAD -> fm_oem-5.14-next) Revert "drm/amd/display: check top_pipe_to_program pointer"
82cab088605f Revert "drm/amdgpu/display: set vblank_disable_immediate for DC"
165041ee003c (tag: Ubuntu-oem-5.14-5.14.0-1025.27, origin/oem-5.14-next) UBUNTU: Ubuntu-oem-5.14-5.14.0-1025.27
8bdd3e2ea820 UBUNTU: [Config] Update config to match upstream stable release
43f3b8b56abe UBUNTU: debian/dkms-versions -- update from kernel-versions (main/2022.02.21)

Revision history for this message
You-Sheng Yang (vicamo) wrote :

To resolve choppy touchpad/mouse issue, you need pull 2 additional commits below on the top of Ubuntu-oem-5.14-5.14.0-1025.27:
    708978487304 drm/amdgpu/display: Only set vblank_disable_immediate when PSR is not enabled
    4d22336f9039 drm/amd/display: For vblank_disable_immediate, check PSR is really used

tags: added: amd oem-priority originate-from-1962738
Changed in linux-oem-5.14 (Ubuntu Jammy):
status: New → Invalid
Changed in linux (Ubuntu Focal):
status: New → Invalid
Changed in linux (Ubuntu Jammy):
status: New → Triaged
Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Jammy):
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :

The two commits have been included in Ubuntu-5.15.0-23.23.

Changed in linux (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-5.14/5.14.0-1033.36 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

please verify this soon

Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-oem-5.14/focal-proposed version 5.14.0-1033.36.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (37.4 KiB)

This bug was fixed in the package linux-oem-5.14 - 5.14.0-1033.36

linux-oem-5.14 (5.14.0-1033.36) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1033.36 -proposed tracker (LP: #1967397)

  * Bolt doesn't work with native USB4 hosts (LP: #1962349)
    - thunderbolt: Retry DROM reads for more failure scenarios
    - thunderbolt: Do not resume routers if UID is not set
    - thunderbolt: Do not make DROM read success compulsory
    - PCI/ACPI: Allow D3 only if Root Port can signal and wake from D3

  * Fix non-working MT7921 BT after reboot (LP: #1966497)
    - Bluetooth: btusb: Enable MSFT extension for Mediatek Chip (MT7921)

  * alsa/sdw: Fix the audio issue on a Dell machine without internal mic
    (LP: #1966841)
    - ASoC: Intel: soc-acpi: add entries in ADL match table

  * Enable headset mic on Lenovo P360 (LP: #1967069)
    - ALSA: hda/realtek: Enable headset mic on Lenovo P360

  * WCN6856 BT keep in OFF state after coldboot system (LP: #1967067)
    - Bluetooth: btusb: Improve stability for QCA devices

  * Focal update: upstream stable patchset 2022-03-21 (LP: #1965737)
    - mm/filemap: Fix handling of THPs in generic_file_buffered_read()
    - cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    - cgroup-v1: Correct privileges check in release_agent writes
    - x86/ptrace: Fix xfpregs_set()'s incorrect xmm clearing
    - btrfs: tree-checker: check item_size for inode_item
    - btrfs: tree-checker: check item_size for dev_item
    - clk: jz4725b: fix mmc0 clock gating
    - io_uring: don't convert to jiffies for waiting on timeouts
    - io_uring: disallow modification of rsrc_data during quiesce
    - selinux: fix misuse of mutex_is_locked()
    - vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    - parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    - parisc/unaligned: Fix ldw() and stw() unalignment handlers
    - KVM: x86/mmu: make apf token non-zero to fix bug
    - drm/amd/display: Protect update_bw_bounding_box FPU code.
    - drm/amd/pm: fix some OEM SKU specific stability issues
    - drm/amdgpu: disable MMHUB PG for Picasso
    - drm/amdgpu: do not enable asic reset for raven2
    - drm/i915: Widen the QGV point mask
    - drm/i915: Correctly populate use_sagv_wm for all pipes
    - drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV
    - sr9700: sanity check for packet length
    - USB: zaurus: support another broken Zaurus
    - CDC-NCM: avoid overflow in sanity checking
    - netfilter: xt_socket: fix a typo in socket_mt_destroy()
    - netfilter: xt_socket: missing ifdef CONFIG_IP6_NF_IPTABLES dependency
    - tee: export teedev_open() and teedev_close_context()
    - optee: use driver internal tee_context for some rpc
    - ping: remove pr_err from ping_lookup
    - Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"
    - gpu: host1x: Always return syncpoint value when waiting
    - perf data: Fix double free in perf_session__delete()
    - mptcp: fix race in incoming ADD_ADDR option processing
    - mptcp: add mibs counter for ignored incoming options
    - selftests: mptcp: fix diag instability

Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
Changed in hwe-next:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers