Visual artifacts and lags on external monitor

Hey, there.
Since I installed the 6.2 update, I have visual artifacts and lags on my external monitor (when I shake the mouse and it gets bigger, or grab and shake windows, everything starts to stutter.
It works fine on the laptop monitor.

Don’t know where to deposit, because it just came up with this recent plasma update, but might be wayland, fedora or nvidia drivers (dunno).

I can confirm this happens to me too. The HDMI port is hardwired to the dGPU, while the primary graphics is the Intel iGPU.

Seems a lot of people with hybrid graphics have the same problem, where there are glitches on window animations and even stuttering or lag on some.

These glitches happen on the external monitor. The internal monitor does not have these problems.

If you shake your cursor (making it big), does it stutter?

What are your specs? It would be good to know laptop model, kernel version , NVIDIA version and KDE version.

1 Like

Hey.
Yeah, using hybrids graphics AMD/NVIDIA.
Yes, it starts to stutter when the mouse gets bigger.
And it just occured with last update to 6.2.

Here is filtered system information:

System:
  Kernel: 6.10.12-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.10.12-200.fc40.x86_64
    root=UUID=b013282f-85a8-4ce9-b227-981b77f0b7ca ro rootflags=subvol=root
    resume=UUID=8f301543-8ba6-49c3-98b9-3fc8cfb5fd73 rhgb quiet
    initcall_blacklist=simpledrm_platform_driver_init
    rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
  Desktop: KDE Plasma v: 6.2.0 tk: Qt v: N/A info: frameworks v: 6.6.0
    wm: kwin_wayland vt: 2 dm: SDDM Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Laptop System: SLIMBOOK product: TITAN v: Standard
    serial: <superuser required>
  Mobo: SLIMBOOK model: TITAN v: Standard serial: <superuser required>
    part-nu: 0001 uuid: <superuser required> UEFI: American Megatrends LLC.
    v: N.1.24GRU05 date: 08/31/2021
Battery:
  ID-1: BAT0 charge: 75.8 Wh (95.0%) condition: 79.8/93.5 Wh (85.4%)
    volts: 12.1 min: 11.4 model: standard type: Li-ion serial: <filter>
    status: not charging
CPU:
  Info: model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 1331 high: 3579 min/max: 400/4680 scaling:
    driver: amd-pstate-epp governor: performance cores: 1: 3305 2: 400 3: 400
    4: 400 5: 3274 6: 400 7: 400 8: 400 9: 400 10: 400 11: 3443 12: 400
    13: 3299 14: 400 15: 400 16: 3579 bogomips: 105401
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q]
    vendor: AIstone Global driver: nvidia v: 560.35.03
    alternate: nouveau,nvidia_drm non-free: 550.xx+ status: current (as of
    2024-04; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-2023 pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: none off: HDMI-A-1
    empty: DP-1,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:249d class-ID: 0300
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: AIstone Global driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: none off: eDP-1 empty: none
    bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 48.0 C
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.3
    compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv dri: radeonsi
    gpu: nvidia,amdgpu display-ID: 0
  Monitor-1: HDMI-A-1 res: 2560x1440 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: nvidia wayland: drv: nvidia x11:
    drv: nvidia inactive: device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3070 Laptop
    GPU/PCIe/SSE2 memory: 7.81 GiB display-ID: :0.0
  API: Vulkan v: 1.3.290 layers: 8 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3070 Laptop GPU driver: N/A device-ID: 10de:249d
    surfaces: xcb,xlib,wayland device: 1 type: integrated-gpu name: AMD Radeon
    Graphics (RADV RENOIR) driver: N/A device-ID: 1002:1638
    surfaces: xcb,xlib,wayland device: 2 type: cpu name: llvmpipe (LLVM 18.1.6
    256 bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: AIstone Global driver: r8169
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 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 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IF-ID-1: enp6s0f4u1u2i5 state: down mac: <filter>
  Info: services: NetworkManager, smbd, wpa_supplicant
Drives:
  Local Storage: total: 931.51 GiB used: 754.2 GiB (81.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 3B2QEXM7 temp: 25.9 C scheme: GPT
Info:
  Memory: total: 16 GiB note: est. available: 15.02 GiB used: 5.56 GiB (37.0%)
  Processes: 522 Power: uptime: 3m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 5.97 GiB services: org_kde_powerdevil, power-profiles-daemon,
    upowerd Init: systemd v: 255 target: graphical (5) default: graphical
    tool: systemctl
  Packages: pm: dpkg pkgs: 0 pm: flatpak pkgs: 41 Compilers: gcc: 14.2.1
    Shell: Bash v: 5.2.26 running-in: konsole inxi: 3.3.34

Hello there,

I can confirm this behavior too. Using Fedora 40 an a ThinkPad P1 Gen6 with wayland with external Display.

Here are my stats

OS: Fedora Linux 40 (KDE Plasma) x86_64 
Host: ThinkPad P1 Gen 6 
Kernel: 6.10.12-200.fc40.x86_64 
Uptime: 2 hours, 5 mins 
Shell: zsh 5.9 
Resolution: 1920x1200, 2560x1440 
DE: Plasma 6.2.0 
WM: KWin 
Theme: Breeze-Dark [GTK2], Breeze [GTK3] 
Icons: breeze-dark [GTK2/3] 
Terminal: konsole 
CPU: 13th Gen Intel i7-13700H (20) @ 4.800GHz 
GPU: Intel Raptor Lake-P [Iris Xe Graphics] 
GPU: NVIDIA RTX A1000 6GB Laptop GPU 
Memory: 6758MiB / 63963MiB 

Use wayland they said! Everything works now they said! This is my second serious attempt with wayland. So I came up with the following solution:

sudo dnf install plasma-workspace-x11

Now everything is fine! :woozy_face:

To close this thread.

In the meantime, I switched to Arch.
still had this issue with artifacts and saw, that there where already similiar bug repots open: as seen in Severe lag on wayland. GPU utilisation @ 100% when moving mouse cursor / Kernel & Hardware / Arch Linux Forums

but the update to the 6.11.3 kernel and the most recent plasma-workspace 6.2.1.1-1 update (I guess it was related to workspace) brought the fix.

Thanks for your posts :slight_smile: