You are not logged in.

#1 2025-03-02 05:47:50

Serena1432
Member
Registered: 2025-03-02
Posts: 2

KDE Plasma 6 stuttering when switching from X11 to Wayland

I'm using Arch Linux with KDE Plasma 6.3.2 (latest) as the Desktop Environment. I've been using X11 for a long time, but recently due to the issue with NVIDIA's latest driver version, I decided to switch to Wayland.

The initial setup was a success aside from the serious stuttering and framedrops, especially during general usage (without heavy gaming) and watching YouTube on Firefox, even though I'm using a decent laptop. For example, the frame drops in the image below is notorious even when I leave the screen idle without switching to another tab or application. I'm playing a 1080p60 video, which didn't have any frame drops when I was still in X11.

Rs1NLFo.png

I've tried these things but nothing really helped:

  • I disabled the GSP firmware in the NVIDIA driver, because some people told that disabling it can help fixing the issue. When I use nvidia-smi -q | grep GSP, it already outputs GSP Firmware Version: N/A.

  • For Firefox-specific issue, I tried enabling gfx.webrenderer.all, gfx.webrenderer.compositor, widget.dmabuf.force-enabled and other things related to hardware acceleration.

  • I also found a site saying that I should set KWIN_TRIPLE_BUFFER=0, but I haven't tried it because I don't know what will this variable do.

journalctl -f didn't output anything when the stuttering happens. I'll also be very happy if anyone can tell me other ways to do a proper logging for this specific issue.

The issue only often happen during general usage. It's less likely to happen when I'm playing games, even Wine games don't have that issue.

I also have some other issues when switching to Wayland:

  • Vietnamese input (using fcitx) doesn't work on Wine applications. I tried setting fcitx-related variables in ~/.profile but it didn't help.

  • When I play games remotely using Steam Remote Play, it throws a bunch of popups require me to allow it, but everytime I reboot these popups appear again. There's no "Allow restoring in future sessions" option. I can temporarily uninstall xdg-desktop-portal-kde to get rid of these popups, but then I can't record the screen using OBS anymore.

  • The CopyQ hotkeys that I set doesn't work on Wayland. It helped so much on saving clipboard history, but now I have to open it manually.

At this point I'm really stuck. I've tried searching Google and asking AI applications but nothing helped with my specific issue. If anyone can give me a solution, I'll be very glad since Linux is currently my daily driver. I just don't want to use other OSes.

inxi Output

System:
 Host: the-firefly-project Kernel: 6.13.5-arch1-1 arch: x86_64 bits: 64  
 Desktop: KDE Plasma v: ERR-101 Distro: Arch Linux  
Machine:
 Type: Laptop System: Acer product: Nitro AN515-57 v: V1.20  
   serial: (redacted)
 Mobo: TGL model: Scala_TLS v: V1.20 serial: (redacted)
   UEFI: Insyde v: 1.20 date: 07/06/2023  
Battery:
 ID-1: BAT1 charge: 36.9 Wh (100.0%) condition: 36.9/58.8 Wh (62.9%)  
CPU:
 Info: 6-core model: 11th Gen Intel Core i5-11400H bits: 64 type: MT MCP  
   cache: L2: 7.5 MiB  
 Speed (MHz): avg: 3750 min/max: 800/4500 cores: 1: 3750 2: 3750 3: 3750  
   4: 3750 5: 3750 6: 3750 7: 3750 8: 3750 9: 3750 10: 3750 11: 3750 12: 3750  
Graphics:
 Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel  
 Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia  
   v: 570.124.04  
 Device-3: Quanta HD User Facing driver: uvcvideo type: USB  
 Display: unspecified server: X.Org v: 24.1.6 with: Xwayland v: 24.1.6  
   driver: X: loaded: modesetting,nvidia unloaded: vesa dri: iris gpu: i915  
   resolution: 1920x1080~144Hz  
 API: EGL v: 1.5 drivers: iris,nvidia platforms: x11,surfaceless,device  
 API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: intel mesa v: 24.3.4-arch1.1  
   renderer: Mesa Intel UHD Graphics (TGL GT1)  
 API: Vulkan v: 1.4.304 drivers: N/A surfaces: xcb,xlib  
 Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo  
   de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi  
   wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr  
Audio:
 Device-1: Intel Tiger Lake-H HD Audio driver: snd_hda_intel  
 Device-2: NVIDIA driver: snd_hda_intel  
 API: ALSA v: k6.13.5-arch1-1 status: kernel-api  
Network:
 Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi  
 IF: wlp0s20f3 state: up mac: f4:7b:09:69:e4:f7  
 Device-2: Realtek Killer E2600 GbE driver: r8169  
 IF: enp3s0 state: down mac: 08:8f:c3:2c:5f:77  
 IF-ID-1: CloudflareWARP state: unknown speed: 10000 Mbps duplex: full  
   mac: N/A  
 IF-ID-2: virbr0 state: down mac: 52:54:00:30:87:cd  
Bluetooth:
 Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb  
   type: USB  
 Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running  
   rfk-block: hardware: no software: no address: 00:1A:7D:DA:71:13 bt-v: 4.0  
 Device-2: Intel AX201 Bluetooth driver: btusb type: USB  
 Report: ID: hci1 state: up address: F4:7B:09:69:E4:FB bt-v: 5.2  
Drives:
 Local Storage: total: 1.38 TiB used: 980.06 GiB (69.3%)  
 ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 238.47 GiB  
 ID-2: /dev/nvme1n1 vendor: SK Hynix model: HFM512GD3JX016N  
   size: 476.94 GiB  
 ID-3: /dev/sda vendor: Western Digital model: WD7500BPVX-75JC3T0  
   size: 698.64 GiB  
Partition:
 ID-1: / size: 358.2 GiB used: 191.97 GiB (53.6%) fs: ext4  
   dev: /dev/nvme1n1p3  
Swap:
 ID-1: swap-1 type: partition size: 8 GiB used: 7.8 MiB (0.1%)  
   dev: /dev/nvme1n1p2  
Sensors:
 System Temperatures: cpu: 35.0 C mobo: N/A  
 Fan Speeds (rpm): N/A  
Info:
 Memory: total: 16 GiB available: 15.4 GiB used: 8.7 GiB (56.5%) igpu: 64 MiB  
 Processes: 354 Uptime: 2h 12m Shell: Sudo inxi: 3.3.37  

Offline

#2 2025-03-02 06:02:22

Serena1432
Member
Registered: 2025-03-02
Posts: 2

Re: KDE Plasma 6 stuttering when switching from X11 to Wayland

I'm not sure if I should go back to X11 or try to fix the issue in Wayland.

When I upgrade the NVIDIA driver to the latest version in X11, the games I usually play constantly crashes upon starting, sometimes it can crash the entire computer and I have to force restart.

Of course I've solved that issue by downgrading the NVIDIA driver to 555.58.02, but now that driver and the Linux kernel it requires are much outdated, so I prefer switching to Wayland and use the latest version instead of doing partial update like before.
I don't know if there's also any fix for that specific issue for the latest NVIDIA driver version, but now I'm just don't know what to do.

Last edited by Serena1432 (2025-03-02 06:02:39)

Offline

Board footer

Powered by FluxBB