You are not logged in.

#1 2022-08-30 06:05:56

niunara
Member
Registered: 2022-08-30
Posts: 2

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 and EndeavorOS
- 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?

Offline

#2 2022-08-31 01:16:48

niunara
Member
Registered: 2022-08-30
Posts: 2

Re: Intermittent Cursor Freezes

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/commi … 274dcbb796. I wonder why this issue is not more prevalent. Perhaps a problem with the panel on my model of laptop?

Offline

#3 2022-09-03 17:31:45

donaastor
Member
Registered: 2022-03-14
Posts: 68

Re: Intermittent Cursor Freezes

niunara wrote:

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/commi … 274dcbb796. I wonder why this issue is not more prevalent. Perhaps a problem with the panel on my model of laptop?

Hi! I tried this and it solved my problem with flickering! However, I noticed that after a suspention to RAM, flickering comes back. I see that you are more skillfull with kernel parameters than me, so please, do you know how to "track" these parameters or change then at runtime?

Here is my thread: https://bbs.archlinux.org/viewtopic.php?id=279300

Offline

#4 2022-09-03 21:17:47

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: Intermittent Cursor Freezes

"systool -vm amdgpu" - but I don't expect the parameter itself to change.
Did you rule out corectl?
Does the amdgpu module show up in the system journal around the S3 cycle?

Offline

Board footer

Powered by FluxBB