getsolus / packages

Solus Package Monorepo & Issue Tracker
51 stars 68 forks source link

KDE Plasma Wayland session using software rendering and is slow #1742

Open TraceyC77 opened 4 months ago

TraceyC77 commented 4 months ago

Please confirm there isn't an existing open bug report

Summary

When logged into Plasma Wayland, rendering is slow. It is unusable with an external monitor. There is a warning in the system tray that software rendering is in use

Steps to reproduce

Log into KDE Plasma with Wayland

Expected result

System is as responsive as with X11

Actual result

System is laggy, more so with an external monitor in use (laptop)

Environment

Repo

Unstable

Desktop Environment

Plasma

System details

Operating System: Solus 4.5 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Kernel Version: 6.6.17-277.current (64-bit) Graphics Platform: X11 Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz Memory: 62.5 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 Manufacturer: Dell Inc. Product Name: XPS 17 9710

Other comments

Plasma Wayland had been very usable up until around June 2023. After an update, it became laggy. I hadn't reported this before because I had been doing testing of VAAPI / Firefox with Reilly and thought that might have affected things. Even after removing the vaapi package, however, the performance is still slow.

As a workaround I tried setting KWIN_DRM_USE_MODIFIERS=0 in /etc/environment as well as KWIN_DRM_USE_MODIFIERS=1 but saw no change in performance.

Possibly useful logs attached

logs_wayland_compositing.txt

Conan-Kudo commented 3 months ago

These issues sound like a variety of issues that were resolved as part of Plasma 6.0.

Another thing that could also help is turning on NVK in Mesa (with updating to Mesa 24) and setting DRM_NOUVEAU_GSP_DEFAULT=y in linux-current when you upgrade to 6.8. As long as you have the latest linux-firmware along for the ride, you can completely remove the need for the NVIDIA proprietary driver for NVIDIA Turing and newer GPUs.

Conan-Kudo commented 3 months ago

(Blame @EbonJaeger for me commenting there 😜 )

TraceyC77 commented 3 months ago

Update: Problem persists after updating to Plasma 6 via regular updates with the unstable repo