Intermittent Cursor Freezes

Very much appreciate any help here. I’ve just received a new Asus Zephyrus G14 (GA402RK) laptop and noticed immediately after installing linux, that my cursor will seemingly randomly freeze in place and then appear where it should have been after about 0.5 - 3.0 seconds.

I’ve been trying to isolate the issue to figure out what may be causing it.

  • No problems in stock Windows 11
  • Running latest BIOS version 313
  • Installed patched kernel from asus-linux.org; did not fix the issue
  • Laptop is full AMD; running in balanced performance mode with hybrid graphics setting; changing these don’t seem to fix it
  • Appears in both KDE Plasma and Qtile environments; I’m thinking it’s not DE related
  • No difference between using a mouse or a trackpad
  • 32 GB of RAM, so probably not a swap issue
  • No new messages in journalctl -b after freeze
  • Does not occur when running a continuous output program like glxgears or watching a youtube video in firefox
  • Sometimes, not always, I can reproduce it by sitting still in an empty desktop for 10-15 seconds and then attempting to move the cursor; if i continuously move the cursor it will freeze up at least twice per minute
  • alt-tabbing or typing into a terminal immediately un-freezes the cursor

I’m thinking that it may be some sort of power saving setting that I can potentially turn off. Arch wiki mentions kernel param amdgpu.runpm; setting it to 0 yielded no improvement. Next closest thing I found was the intel kernel param enable_psr from this thread: https://bbs.archlinux.org/viewtopic.php?id=265061.

Any ideas?

There are some specific kernels:

[linuxkernels]
Server = http://nhameh.ovh/$repo/$arch
SigLevel = Optional TrustAll

then:

yay -S linux-amd

Other than that, no ideas, post full hardware and check your logs.

1 Like

Thank you for responding. I appreciate any help I can get as I’m not a very experienced linux user.

It looks like that repo you noted is dead?

error: GPGME error: No data
error: database 'linuxkernels' is not valid (invalid or corrupted database (PGP signature))
 -> error installing repo packages

I found https://aur.archlinux.org/packages/linux-amd but the ETA for installation was way too long (100 hrs?).

In terms of specs:

  • Model: Asus Zephyrus G14 GA402-L8150W
  • CPU: AMD Ryzen™ 9 6900HS Mobile Processor (8-core/16-thread, 16MB cache, up to 4.9 GHz max boost)
  • GPU: AMD Radeon™ RX 6800S
    ROG Boost: up to 105W(SmartShift)
    8GB GDDR6
  • Display: ROG Nebula Display 14-inch QHD+ 16:10 (2560 x 1600, WQXGA) 120Hz 3ms
  • Memory: 16GB DDR5 on board + 16GB DDR5-4800 SO-DIMM
  • Storage: 1TB PCIe® 4.0 NVMe™ M.2 SSD
  • Network: MediaTek Wi-Fi 6E(802.11ax) (Triple band) 2*2 + Bluetooth 5.2

I checked my journalctl -b before and after a freeze and saw nothing change. Not sure what other logs I could check.

Did you do a sudo pacman -Syyu after adding to your pacman.conf ?

I was able to fix the issue by disabling PSR with kernel parameter amdgpu.dcdebugmask=0x10

Looks like PSR was enabled by default on AMD systems last year: https://github.com/torvalds/linux/commit/9470620e99e90999dc367bdcccc7e1274dcbb796. I wonder why this issue is not more prevalent. Perhaps a problem with the panel on my model of laptop?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.