Yes, I am on 24.0.2.
╭─akat at nasa in ~ 24-06-19 - 16:39:39
╰─○ fastfetch
██████████████████ ████████ akat@nasa
██████████████████ ████████ ---------
██████████████████ ████████ OS: Manjaro Linux Wynsdey 24.0.2 x86_64
██████████████████ ████████ Host: MS-7D86 (1.0)
████████ ████████ Kernel: Linux 6.6.32-1-MANJARO
████████ ████████ ████████ Uptime: 3 days, 2 hours, 21 mins
████████ ████████ ████████ Packages: 2284 (pacman)[stable], 46 (nix-default), 8 (flatpak), 32 (brew)
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Display (Odyssey G8): 3840x2160 @ 240Hz
████████ ████████ ████████ Display (LEN P24h-20): 1440x2560 @ 75Hz [External]
████████ ████████ ████████ Display (LEN P24h-20): 1440x2560 @ 75Hz
████████ ████████ ████████ DE: KDE Plasma 6.0.5
████████ ████████ ████████ WM: KWin (Wayland)
████████ ████████ ████████ WM Theme: Breeze
Theme: Breeze (BreathDark) [QT], Breeze-Dark [GTK2], Breeze [GTK3]
Icons: breeze-dark [QT], breeze-dark [GTK2/3/4]
Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4]
Cursor: oreo_black (32px)
Terminal: kitty 0.35.1
Terminal Font: NotoSansMono-Regular (11pt)
CPU: 13th Gen Intel(R) Core(TM) i9-13900KF (32) @ 5.80 GHz
GPU: AMD Radeon RX 7900 XT @ 0.02 GHz [Discrete]
Memory: 11.89 GiB / 62.63 GiB (19%)
Swap: Disabled
Disk (/): 436.39 GiB / 931.21 GiB (47%) - btrfs
Disk (/data): 815.76 GiB / 1.82 TiB (44%) - btrfs
Disk (/steamdata): 3.13 TiB / 3.73 TiB (84%) - btrfs
Disk (/satadata): 1.08 TiB / 3.64 TiB (30%) - btrfs
Local IP (enp4s0): 192.168.2.106/24 *
Locale: en_US.UTF-8
I did try turning off bluetooth and only using the dongle and saw no change in behavior.
No worries. I also wondered if it had something to do with the AMDGPU driver, although that feels like a stretch.
Below is my gpu and driver details, it’s likely more than necessary but let me know if you see any similarities with your setup.
Detailed GPU Driver Info
╭─akat at nasa in ~ 24-06-19 - 17:08:57
╰─○ mhwd
> 0000:03:00.0 (0300:1002:744c) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2024.05.06 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
╭─akat at nasa in ~ 24-06-19 - 16:56:15
╰─○ lspci -k | grep -EA3 'VGA|3D|Display'
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] (rev cc)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 1002
Kernel driver in use: amdgpu
Kernel modules: amdgpu
╭─akat at nasa in ~ 24-06-19 - 16:56:47
╰─○ glxinfo | grep OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7900 XT (radeonsi, navi31, LLVM 17.0.6, DRM 3.54, 6.6.32-1-MANJARO)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.0.9-manjaro1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.0.9-manjaro1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.0.9-manjaro1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
╭─akat at nasa in ~ 24-06-19 - 17:05:30
╰─○ pamac search -i vulkan-radeon
lib32-vulkan-radeon 1:24.0.9-1 multilib
Open-source Vulkan driver for AMD GPUs - 32-bit
vulkan-radeon 1:24.0.9-1 extra
Open-source Vulkan driver for AMD GPUs
╭─akat at nasa in ~ 24-06-19 - 17:04:45
╰─○ pamac search -i mesa
libva-mesa-driver 1:24.0.9-1 extra
Open-source VA-API drivers
lib32-mesa-vdpau 1:24.0.9-1 multilib
Open-source VDPAU drivers - 32-bit
lib32-mesa-demos 9.0.0-1 multilib
Mesa demos (32-bit)
lib32-mesa 1:24.0.9-1 multilib
Open-source OpenGL drivers - 32-bit
lib32-libva-mesa-driver 1:24.0.9-1 multilib
Open-source VA-API drivers - 32-bit
mesa-vdpau 1:24.0.9-1 extra
Open-source VDPAU drivers
mesa-utils 9.0.0-4 extra
Essential Mesa utilities
mesa-demos 9.0.0-4 extra
Mesa demos
mesa 1:24.0.9-1 extra
Open-source OpenGL drivers
I coulda sworn I have amdgpu-pro installed, guess not.
╭─akat at nasa in ~ 24-06-19 - 17:08:53
╰─○ pamac search -i amdgpu
xf86-video-amdgpu 23.0.0-2 extra
X.org amdgpu video driver
mhwd-amdgpu 19.1.0-1 extra
MHWD module-ids for amdgpu
╭─akat at nasa in ~ 24-06-19 - 17:17:43
╰─○ sudo dmesg | grep amd
[sudo] password for akat:
[ 2.465957] [drm] amdgpu kernel modesetting enabled.
[ 2.466034] amdgpu: Virtual CRAT table created for CPU
[ 2.466039] amdgpu: Topology: Add CPU node
[ 2.466119] amdgpu 0000:03:00.0: enabling device (0006 -> 0007)
[ 2.469364] amdgpu 0000:03:00.0: amdgpu: Fetched VBIOS from VFCT
[ 2.469365] amdgpu: ATOM BIOS: 113-D70401-00
[ 2.470060] amdgpu 0000:03:00.0: amdgpu: CP RS64 enable
[ 2.470701] amdgpu 0000:03:00.0: [drm:jpeg_v4_0_early_init [amdgpu]] JPEG decode is enabled in VM mode
[ 2.514685] amdgpu 0000:03:00.0: vgaarb: deactivate vga console
[ 2.514695] amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 2.514740] amdgpu 0000:03:00.0: amdgpu: MEM ECC is not presented.
[ 2.514742] amdgpu 0000:03:00.0: amdgpu: SRAM ECC is not presented.
[ 2.514800] amdgpu 0000:03:00.0: amdgpu: VRAM: 20464M 0x0000008000000000 - 0x00000084FEFFFFFF (20464M used)
[ 2.514805] amdgpu 0000:03:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[ 2.514809] amdgpu 0000:03:00.0: amdgpu: AGP: 267878400M 0x0000008800000000 - 0x0000FFFFFFFFFFFF
[ 2.515345] [drm] amdgpu: 20464M of VRAM memory ready
[ 2.515351] [drm] amdgpu: 32067M of GTT memory ready.
[ 2.516741] amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware
[ 2.730805] amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
[ 2.730808] amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 2.730864] amdgpu 0000:03:00.0: amdgpu: smu driver if version = 0x0000003d, smu fw if version = 0x00000040, smu fw program = 0, smu fw version = 0x004e7d00 (78.125.0)
[ 2.730870] amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched
[ 2.896232] amdgpu 0000:03:00.0: amdgpu: SMU is initialized successfully!
[ 3.438999] amdgpu 0000:03:00.0: [drm:jpeg_v4_0_hw_init [amdgpu]] JPEG decode initialized successfully.
[ 3.500112] amdgpu: HMM registered 20464MB device memory
[ 3.501581] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[ 3.501589] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[ 3.501617] amdgpu: Virtual CRAT table created for GPU
[ 3.501701] amdgpu: Topology: Add dGPU node [0x744c:0x1002]
[ 3.501702] kfd kfd: amdgpu: added device 1002:744c
[ 3.501712] amdgpu 0000:03:00.0: amdgpu: SE 6, SH per SE 2, CU per SH 8, active_cu_number 84
[ 3.501873] amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 3.501874] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 3.501875] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 3.501875] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[ 3.501875] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[ 3.501876] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[ 3.501876] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[ 3.501876] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[ 3.501877] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[ 3.501877] amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[ 3.501878] amdgpu 0000:03:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
[ 3.501878] amdgpu 0000:03:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
[ 3.501878] amdgpu 0000:03:00.0: amdgpu: ring vcn_unified_1 uses VM inv eng 1 on hub 8
[ 3.501879] amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 4 on hub 8
[ 3.501879] amdgpu 0000:03:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 14 on hub 0
[ 3.504274] amdgpu 0000:03:00.0: amdgpu: Using BACO for runtime pm
[ 3.504413] [drm] Initialized amdgpu 3.54.0 20150101 for 0000:03:00.0 on minor 1
[ 3.518025] fbcon: amdgpudrmfb (fb0) is primary device
[ 3.518027] amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 9.797890] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 12.211885] amdgpu: manual fan speed control should be enabled first
╭─akat at nasa in ~ 24-06-19 - 17:21:03
╰─○ pamac search -i opencl
ocl-icd 2.3.2-1 extra
OpenCL ICD Bindings
rocm-opencl-runtime 6.0.2-1 extra
OpenCL implementation for AMD
opencl-headers 2:2024.05.08-1 extra
OpenCL (Open Computing Language) header files
Schitzo journal so I can keep track of where I've gone
I just realized it may be a KDE related bug, I can’t say I recall it doing this for the brief time I had it while I was on plasma 5.
I also found this KDE bug that essentially describes the effect of my issue, so it could be related:
466681 – Mouse is lagging/skipping frames when entering Task Manager area
Eventually, that led me to:
Mouse lags when CPU loads - #10 by nate - Plasma - EndeavourOS
That prompted me to panic check if somehow my drives had actually been corrupting themselves, and I got this little nugget:
╭─akat at nasa in ~ 24-06-19 - 17:40:33
╰─○ sudo dmesg | grep error
[ 14.880560] ucsi_ccg 0-0008: error -ETIMEDOUT: PPM init failed
Ah, finally an error! Which turns out means nothing lol:
Are boot time journalctl entries for "ucsi_ccg 0-0008: failed to get FW build information" something to fix or informational? - #2 by megavolt
Ok, back to the EndeavorOS forum, and then onto reddit:
https://www.reddit.com/r/linux_gaming/comments/163n4ey/desktop_lag_after_starting_steam/
Top comment led me here:
After latest Steam beta update (2021-09-29), Steam reinstalled all Proton versions into prefix with appid = 0 · Issue #8114 · ValveSoftware/steam-for-linux · GitHub
Well, I have steam installed, but that issue is not directly related. It did lead me to:
Stuttering when moving mouse with 4000hz polling rate · Issue #1279 · ValveSoftware/gamescope · GitHub
Which mentions:
Mouse polling rate - ArchWiki
So I tried:
╭─akat at nasa in ~ 24-06-19 - 17:56:42
╰─○ sudo evhz
Press CTRL-C to exit.
...
Logitech USB Receiver Mouse: Latest 124Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 142Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 125Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 142Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 125Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 142Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 125Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 142Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 125Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 142Hz, Average 133Hz
Logitech USB Receiver Mouse: Latest 124Hz, Average 133Hz
^C
Average for Logitech USB Receiver Mouse: 133Hz
Ok, now I might be onto something.
So I tried it with wired mouse I mentioned earlier:
...
Logitech G502 HERO Gaming Mouse: Latest 999Hz, Average 999Hz
Logitech G502 HERO Gaming Mouse: Latest 1001Hz, Average 999Hz
Logitech G502 HERO Gaming Mouse: Latest 1000Hz, Average 999Hz
Logitech G502 HERO Gaming Mouse: Latest 1000Hz, Average 999Hz
Logitech G502 HERO Gaming Mouse: Latest 998Hz, Average 999Hz
Logitech G502 HERO Gaming Mouse: Latest 1001Hz, Average 999Hz
Logitech G502 HERO Gaming Mouse: Latest 1001Hz, Average 999Hz
Logitech G502 HERO Gaming Mouse: Latest 999Hz, Average 999Hz
^C
Average for Logitech G502 HERO Gaming Mouse: 999Hz
So the tool for the one mouse did read the polling rate correctly.
MX Master 3s is supposed to have a polling rate of 125hz, so I’m not sure what the jumps from 124Hz to 142Hz and back is about.
Turns out, normal:
https://www.reddit.com/r/MouseReview/comments/vi4ujl/comment/jsbkams
People in that thread mention RF interference, makes sense. So I started reading up on that.
Came across this post:
Wireless mouse random hesitation, lag, and irritations ja-ja-ja-jitters... - #10 by ianadams2 - Hardware - Spiceworks Community
People in here are really confident it’s a RF issue.
So, I start looking around for a way to diagnose this. Surely, in some obscure corner of the internet someone has to have done that.
Of course, as all things do, it led me back to the Arch wiki forums.
How do I diagnose mouse lag/stuttering ? / Newbie Corner / Arch Linux Forums
One of the posts mentions hardware interference, so I looked around and found this:
[SOLVED] Laggy, sticky mouse input / Kernel & Hardware / Arch Linux Forums
Which mentions this:
Power management - ArchWiki
╭─akat at nasa in ~ 24-06-19 - 18:21:16
╰─○ systool -v -m usbcore
Module = "usbcore"
Attributes:
uevent = <store method only>
Parameters:
authorized_default = "-1"
autosuspend = "2"
...
Well, now I have something to try at least.
So I just read this
From the introduction:
The purpose of this document is to create an awareness of radio frequency
interference to wireless devices operating in the 2.4 GHz ISM band as a result of
certain USB 3.0* devices and cables. This is a guide to customers of the USB 3.0 RFI
mitigation options that are available.
From section 3.2:
In this paper, an example of a wireless mouse communicating to a notebook computer
through an associated USB2 wireless dongle is used to demonstrate the impact of the
USB 3.0 noise on wireless device performance. The test setup, shown in Figure 3-4,
was used. An external USB 3.0 hard drive was connected to the USB 3.0 port on the
notebook computer using a 3-foot USB 3.0 cable. On an adjacent USB2 port, the
wireless mouse dongle was connected.
I have a ****ton of USB3.0 crap near my dongle. I’ve also had USB3.0 devices near it at times as well.
And wouldn’t you know, Bolt (the BLE protocol Logitech uses for the MX Master 3S), uses the 2.4Ghz band.
For my setup, this seems really promising. I’ll muck around with this and see if I can do anything consistently. I can’t say for sure but I have a theory as to why it has only happened on Manjaro for me.
Does your laptop use any USBC/USB3.0 devices?
If not, does your laptop use 2.4 Ghz for wifi? Perhaps there’s something to look into there.
From the usb.org paper again:
As shown in Table 3-1, there is degradation in the performance of the wireless mouse
when a USB 3.0 device is connected to the notebook computer. At a distance of 3 feet
and greater away from the notebook computer, a significant lag was experienced in
the response of the mouse. The impact to mouse performance was found to be the
same whether the USB 3.0 peripheral device had data being actively written to it or if
it was merely connected to the notebook computer and the link to it established.
A similar impact to wireless mouse performance was noted if a USB 3.0 device, such
as a flash drive, was used. Since the noise from the USB 3.0 is broadband, it could
potentially impact any radio whose antenna is close by. Although the test results are
not shown in this paper, similar impact was seen to Bluetooth radio performance.