You are not logged in.
I recently decided to try wayland on my KDE + Arch linux machine so I installed the `plasma-wayland-session` and `egl-wayland` package as suggested in the wiki. I use application dashboard and I see this weird box around my cursor that follows it around and vanishes everytime I press a button or focus on an icon.
Something else I am concerned about is, I tried to check which buffer API it uses and it outputs
slimshady@slimshady-desktop: ~$ journalctl -b 0 --grep "renderer for"
-- No entries --
I also tried
qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation #Needs qt5-tools
and I get this output
I forced `GBM_BACKEND=nvidia-drm` and `__GLX_VENDOR_LIBRARY_NAME=nvidia` in `/etc/profile` like it says in the wiki but I get the same output. My system also shuts down after a long time when I log into the wayland session.
System Information: Kernel: 6.1.9-arch1-1
CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz
GPU: NVIDIA GeForce GTX 1650
Nvidia Driver Version: 525.85.05
Please let me know if I need to provide any more information.
Offline
The long shutdown is due to a bug in sddm that's fixed in -git you can install sddm-git for that.
For your actual issue I doubt one can do much here and the answer will be the same as on the reddit thread, the KWin output shows your card is properly used. The only thing you could "immediately" test is whether it's a driver regression and e.g. downgrading to 525.75 though you'd have to install linux-headers and then relevantly downgrade the set of nvidia-dkms,{lib32-}nvidia-utils
FWIW something you could try that I'm just thinking of now, is disabling the HW cursor if that's the only real annoyance by exporting the environment variable KWIN_FORCE_SW_CURSOR=1 somewhere, e.g in ~/.config/plasma-workspace/env/forceSWcursor.sh and the content
!#/bin/sh
export KWIN_FORCE_SW_CURSOR=1
and doing a
chmod +x ~/.config/plasma-workspace/env/forceSWcursor.sh
Last edited by V1del (2023-02-04 15:52:10)
Offline
The reddit post is my own, haha.
In an attempt to fix I had reinstalled most of the graphical packages and now when I join the wayland session, the discord app goes not work as intended. It gives a blank window with only the titlebar. It is really annoying to try and address these issues.
I will attempt the HW cursor fix you have suggested and get back to you. Thanks a lot!
Offline
there is this https://bugs.kde.org/show_bug.cgi?id=455526 , and ive personally had issues if i set output scaling to anything but 100% looking somewhat like yours.
Offline
@aditya12398 did you find a solution to this?
I'm having exactly the same symptom. NVIDIA GeForce RTX 4080 with the proprietary driver. It seems like KWwin is using the EGL interface:
$ qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation | grep -i egl
OpenGL platform interface: EGL
I tried setting the environment variables as described in the wiki, but it didn't help.
Offline
Make sure it got picked up:
tr '\0' '\n' < /proc/$(pidof kwin_wayland)/environ | grep -i curs
Do you scale the output like gulafaran?
Does it go away if you disable the blur effect?
Online