EDIT (Solution): Thanks to @Kobold for mentioning multimonitor issues, I was able to fix this issue by disabling VBlank and allow flipping in nvidia settings. Seems what I was mistaking for system lag was my monitors reverting to the lowest refresh rate during the animations I mentioned I had trouble with.
I’m a newbie to Manjaro and linux as a whole, and just a week ago installed Manjaro KDE with proprietary drivers and X11 as the WM as my new daily driver. While I’ve gotten most everything functioning fine with great performance today I noticed many animations cause a lot of system lag (mouse and keyboard input locking up visually but catching up after the lagspike, system hangups during these animations). I’ve noticed it most with the following: maximizing windows, firefox video playback (especially PiP), opening a new application, the Clion code suggestions popping up, and probably more hat I’m forgetting off the top of my head.
I have tried a few options to fix this including: switching firefox to webrender (specifically for video playback issues), changing Powermizer in nvidia settings to prefer max performance, changing my CPU governor to performance mode, reinstalling nvidia proprietary drivers, and will be setting up a swap partition right after posting this. (will add edit at the top of this post with the outcome of setting up swap, just posting this now because I know I’ll get distracted if I don’t now).
I’ve included System information at the bottom of the post.
It’s worth mentioning that every game I’ve tried runs great (using proton) and experiences none of these issues, games tested include: Heavily modded minecraft, Street Fighter 6, Guilty Gear Strive, Deus Ex (original).
How would I go about troubleshooting this issue?
System:
Kernel: 6.9.0-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64
root=UUID=5737cc19-fddb-4acf-ae99-2dc4f774da33 rw quiet splash
udev.log_priority=3
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.1.0
wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX B350-F GAMING v: Rev X.0x
serial: <superuser required> part-nu: SKU uuid: <superuser required>
UEFI: American Megatrends v: 5603 date: 07/28/2020
CPU:
Info: model: AMD Ryzen 7 1700X bits: 64 type: MT MCP arch: Zen level: v3
note: check built: 2017-19 process: GF 14nm family: 0x17 (23) model-id: 1
stepping: 1 microcode: 0x8001138
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 768 KiB desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
desc: 2x8 MiB
Speed (MHz): avg: 2111 high: 2200 min/max: 2200/3400 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2193 2: 2194
3: 2177 4: 2200 5: 1991 6: 2188 7: 1963 8: 1990 9: 2200 10: 2193 11: 2195
12: 2192 13: 2055 14: 2200 15: 1971 16: 1883 bogomips: 108627
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: reg_file_data_sampling status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT vulnerable
Type: spec_rstack_overflow mitigation: Safe RET
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP:
disabled; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1660] vendor: Micro-Star MSI
driver: nvidia v: 550.78 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-04; EOL~2026-12-xx) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-2022 pcie: gen: 3 speed: 8 GT/s lanes: 16
ports: active: none off: DP-2,DP-3,HDMI-A-1 empty: DP-1 bus-ID: 08:00.0
chip-ID: 10de:2184 class-ID: 0300
Device-2: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:2
chip-ID: 046d:085c class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_x11 driver: X: loaded: N/A failed: nvidia
gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 5760x1561 s-dpi: 91 s-size: 1605x435mm (63.19x17.13")
s-diag: 1663mm (65.47")
Monitor-1: DP-3 pos: top-right res: 1920x1080 hz: 60 dpi: 37
size: 1328x747mm (52.28x29.41") diag: 1524mm (59.99") modes: N/A
Monitor-2: DP-4 pos: primary,bottom-l res: 1920x1080 dpi: 92
size: 531x298mm (20.91x11.73") diag: 609mm (23.97") modes: N/A
Monitor-3: HDMI-0 pos: bottom-c res: 1920x1080 dpi: 102
size: 480x270mm (18.9x10.63") diag: 551mm (21.68") modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.78 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce GTX 1660/PCIe/SSE2
memory: 5.86 GiB
API: Vulkan v: 1.3.279 layers: 10 device: 0 type: discrete-gpu
name: NVIDIA GeForce GTX 1660 driver: nvidia v: 550.78 device-ID: 10de:2184
surfaces: xcb,xlib
Audio:
Device-1: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 08:00.1 chip-ID: 10de:1aeb class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 0a:00.3
chip-ID: 1022:1457 class-ID: 0403
Device-3: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:2
chip-ID: 046d:085c class-ID: 0102 serial: <filter>
API: ALSA v: k6.9.0-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: JACK v: 1.9.22 status: off tools: N/A
Server-3: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 07:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp7s0 state: down mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:3 chip-ID: 8087:0029
class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
Local Storage: total: 2.27 TiB used: 387 GiB (16.6%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WDBNCE5000PNC
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 20RL scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WDS100T2B0A-00SM50 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 20WD
scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD10SDRW-11A0XS0 size: 931.48 GiB block-size: physical: 512 B
logical: 512 B type: USB rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
tech: HDD rpm: 5400 serial: <filter> fw-rev: 1034 scheme: GPT
Partition:
ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%) used: 387 GiB (42.3%)
fs: ext4 dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 296 KiB (0.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
compressor: zstd max-pool: 20%
ID-1: swap-1 type: partition size: 546 MiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 38.4 C mobo: N/A gpu: nvidia temp: 40 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 45%
Info:
Memory: total: 28 GiB available: 27.34 GiB used: 6.33 GiB (23.1%)
Processes: 387 Power: uptime: 31m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 10.91 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: 1553 pm: pacman pkgs: 1544 libs: 482 tools: pamac pm: flatpak
pkgs: 9 Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9 default: Bash
v: 5.2.26 running-in: konsole inxi: 3.3.34