KDE and video freezing and lagging from notifications and popup hovers

From the first boot and even after the balancing I have noticed some lag on screen when notifications occur or if I hover my mouse over the various status tray icons. Especially if I am watching a youtube video and move the mouse over the various status icons it basically freezes the video because its so much lag. I did a variety of searches on the forum to see what the solution might be, but the most I could find is maybe a driver issue, but I have proprietary nvidia drivers installed, not sure what else I could do to make it better. I have an RTX 3070. Thanks.

SystemSpec:

System:    Kernel: 5.13.12-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen 
           root=UUID=6b01d9a0-f1d5-4fcc-a164-83a5dd0cab3b rw rootflags=subvol=@ quiet 
           cryptdevice=UUID=2aed9b51-5839-4dc7-b7fd-626b0a957268:luks-2aed9b51-5839-4dc7-b7fd-626b0a957268 
           root=/dev/mapper/luks-2aed9b51-5839-4dc7-b7fd-626b0a957268 splash 
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 
           resume=/dev/mapper/luks-4f21562b-460c-422e-838e-008dcae4276e loglevel=3 
           Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM 
           Distro: Garuda Linux base: Arch Linux 
Machine:   Type: Desktop Mobo: ASRock model: Z590 Steel Legend WiFi 6E serial: <filter> 
           UEFI: American Megatrends LLC. v: P1.60 date: 06/16/2021 
Battery:   Device-1: hidpp_battery_0 model: Logitech M570 serial: <filter> charge: 95% 
           rechargeable: yes status: N/A 
           Device-2: hidpp_battery_1 model: Logitech Wireless All-in-One Keyboard TK820 
           serial: <filter> charge: 50% (should be ignored) rechargeable: yes status: N/A 
CPU:       Info: 8-Core model: 11th Gen Intel Core i9-11900K bits: 64 type: MT MCP 
           arch: Rocket Lake family: 6 model-id: A7 (167) stepping: 1 microcode: 40 cache: 
           L2: 16 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 112128 
           Speed: 4224 MHz min/max: 800/5100 MHz Core speeds (MHz): 1: 4224 2: 4776 3: 5091 
           4: 4854 5: 5015 6: 4871 7: 4991 8: 4889 9: 4863 10: 4882 11: 4982 12: 4918 13: 4868 
           14: 4895 15: 3618 16: 4669 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: ASUSTeK driver: nvidia v: 470.63.01 
           alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:2484 class-ID: 0300 
           Device-2: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo 
           bus-ID: 1-6.4:8 chip-ID: 046d:082d class-ID: 0102 serial: <filter> 
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: nvidia 
           display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1921x2160 s-dpi: 101 s-size: 483x544mm (19.0x21.4") 
           s-diag: 727mm (28.6") 
           Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 30 size: 1600x900mm (63.0x35.4") 
           diag: 1836mm (72.3") 
           Monitor-2: HDMI-1 res: 1920x1080 hz: 60 dpi: 102 size: 476x268mm (18.7x10.6") 
           diag: 546mm (21.5") 
           OpenGL: renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2 v: 4.6.0 NVIDIA 470.63.01 
           direct render: Yes 
Audio:     Device-1: Intel Tiger Lake-H HD Audio vendor: ASRock driver: snd_hda_intel v: kernel 
           alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0403 
           Device-2: NVIDIA GA104 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403 
           Device-3: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo 
           bus-ID: 1-6.4:8 chip-ID: 046d:082d class-ID: 0102 serial: <filter> 
           Sound Server-1: ALSA v: k5.13.12-zen1-1-zen running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.33 running: yes 
Network:   Device-1: Realtek RTL8125 2.5GbE vendor: ASRock driver: r8169 v: kernel port: 3000 
           bus-ID: 02:00.0 chip-ID: 10ec:8125 class-ID: 0200 
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel port: 3000 
           bus-ID: 03:00.0 chip-ID: 8086:2725 class-ID: 0280 
           IF: wlp3s0 state: up mac: <filter> 
           IF-ID-1: anbox0 state: down mac: <filter> 
Bluetooth: Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-14:12 
           chip-ID: 8087:0032 class-ID: e001 
           Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: N/A 
Drives:    Local Storage: total: 4.55 TiB used: 7.53 TiB (165.6%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WDS100T2B0C-00PXH0 
           size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: 211210WD temp: 36.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WDS100T2B0A-00SM50 
           size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD 
           serial: <filter> rev: 20WD scheme: GPT 
           ID-3: /dev/sdd maj-min: 8:48 type: USB vendor: Seagate model: ST3000DM001-1CH166 
           size: 2.73 TiB block-size: physical: 4096 B logical: 4096 B type: HDD rpm: 7200 
           serial: <filter> rev: 0503 scheme: MBR 
Partition: ID-1: / raw-size: 862.32 GiB size: 862.32 GiB (100.00%) used: 204.76 GiB (23.7%) 
           fs: btrfs dev: /dev/dm-0 maj-min: 254:0 
           mapped: luks-2aed9b51-5839-4dc7-b7fd-626b0a957268 
           ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 707 KiB (0.3%) fs: vfat 
           dev: /dev/nvme0n1p1 maj-min: 259:1 
           ID-3: /home raw-size: 862.32 GiB size: 862.32 GiB (100.00%) used: 204.76 GiB (23.7%) 
           fs: btrfs dev: /dev/dm-0 maj-min: 254:0 
           mapped: luks-2aed9b51-5839-4dc7-b7fd-626b0a957268 
           ID-4: /var/log raw-size: 862.32 GiB size: 862.32 GiB (100.00%) used: 204.76 GiB (23.7%) 
           fs: btrfs dev: /dev/dm-0 maj-min: 254:0 
           mapped: luks-2aed9b51-5839-4dc7-b7fd-626b0a957268 
           ID-5: /var/tmp raw-size: 862.32 GiB size: 862.32 GiB (100.00%) used: 204.76 GiB (23.7%) 
           fs: btrfs dev: /dev/dm-0 maj-min: 254:0 
           mapped: luks-2aed9b51-5839-4dc7-b7fd-626b0a957268 
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: zram size: 62.66 GiB used: 3.59 GiB (5.7%) priority: 100 
           dev: /dev/zram0 
           ID-2: swap-2 type: partition size: 68.93 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/dm-1 maj-min: 254:1 mapped: luks-4f21562b-460c-422e-838e-008dcae4276e 
Sensors:   System Temperatures: cpu: 42.0 C mobo: N/A gpu: nvidia temp: 34 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 100% 
Info:      Processes: 446 Uptime: 3d 5h 23m wakeups: 57 Memory: 62.66 GiB used: 11.18 GiB (17.8%) 
           Init: systemd v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: 
           pacman: 2010 lib: 559 flatpak: 0 Client: Unknown Client: garuda-assistant inxi: 3.3.06 

I forgot to add that I have the garuda kde gamer edition.

Have you come across this one?
Same recent driver.
Check if the solution (free driver) or any of the other suggestions help…

1 Like

I have not tried all of the things listed there, but will test them, and see. I dont really want to use the open source drivers for nvidia, since I need the performance of the proprietary one, but I can try testing it though to see if it has the lag. I will go through the suggestions though and see what results I get and post that when I can. Thanks.

1 Like

Well based on the other article I saw these options:

1: Balance the btrfs filesystem from Garuda assistant, then reboot
2: Install ananicy-cpp from assistant and enable it, then reboot
3: Try a different kernel (tried zen and standard linux)
4: Install open source drivers via "Hardware Configuration", then reboot
5: Try using gamemode (if this means performance mode I am already in that mode)
6: Disable kde blur

I tried all those options, and none of them improved or changed the lag. The only other thing I tried was quitting latte and adding a default kde panel, but it had the same lag. So unless there is another option I should try. I am not sure what else to test at the moment.

Try changing your compositor settings (or disable as a test).

3 Likes

I did the shortcut of alt+shift+F12 to turn it off and that fixed the lag! So it is something with those settings. I will have to test other settings to see if I can do it with the compositing on. Is the compositing just for kde effects? or does it effect other programs too? Meaning is it fine to just leave it off, or would there be issues leaving it off in certain programs?

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