Created attachment 131925 [details] wayland-session.log SUMMARY I'm trying to run Plasma on a Wayland session using a NVIDIA GPU, but after I log in, I can barely move the mouse cursor around, due to the kwin_wayland process hogging the CPU. I have no idea how to debug this myself, but point me to the right direction and I'll gladly help! SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20200923 KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 Kernel Version: 5.8.10-1-default OS Type: 64-bit Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz Memory: 7,7 GiB of RAM Graphics Processor: GeForce GTX 660/PCIe/SSE2
Created attachment 131926 [details] kwin_wayland CPU usage It took me ages to take this screenshot.
sudo perf record --call-graph dwarf —p `pidof kwin_wayland` Record a snapshot for a few seconds and then see if we can open in hotspot
Created attachment 131928 [details] perf.data.tar.xz Thanks for the instructions! I recorded for about 3 seconds, so I hope it helps.
Actually, never mind. I found out what the problem was. I had `KWIN_DRM_USE_EGL_STREAMS=1` set in my ~/.pam_environment, but after a systemd update, a PAM config file (more specifically, /etc/pam.d/common-session) got overwritten and removed the `user_readenv=1` option I had added there, which functionality is to set environment variables globally. Long story short: The software rasterizer was being used instead of EGLStreams! I'm so sorry for wasting your guys' time.