You are not logged in.
Pages: 1
Hello,
I am using wayland (KDE Plasma), and most of the applications run natively (such as firefox and zed editor).
Does it makes sense to install the drivers xf86-video-amdgpu? Do they have any impact on the applications running natively on wayland, or which uses xwayland?
# lspci -k -d ::03xx
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev d2)
Subsystem: Lenovo Device 5125
Kernel driver in use: amdgpu
Kernel modules: amdgpuOffline
It will only affect applications using xwayland .
There is very little xf86-video-amdgpu offers that isn't present in the xorg modesetting driver nowadays.
Try without and see if you notice issues.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Do they have any impact on the applications running natively on wayland
No.
or which uses xwayland?
Possibly, but I'd skip them unless you run into issues w/ xwayland clients and then you can test their impact on the specific situation.
Xwayland clients will still be accelerated via glamor.
Edit: F5ck
Last edited by seth (2025-12-24 09:52:27)
Offline
Thank you!
I've noticed some lag in applications, for example in ff when the cursor shape changes (e.g. hover a link), or in zed editor while scrolling.
That's why I was wondering if missing driver package could be the cause.
How can I verify that they're indeed running in native wayland? In ff about:support has been checked, but in general?
In "top" those applications are not part of the "xwayland tree" (actually there's none under xwayland tree, though xwayland seems to be running anyway).
Offline
Offline
Thank you seth!
I've checked with the command below and both ff and zed are running in wayland.
qdbus6 org.kde.KWin /KWin org.kde.KWin.showDebugConsoleThere's nothing running in X11, at this point I am wondering if I can disable/remove it entirely (or disable/remove xwayland).
I've noticed some lag in applications, for example in ff when the cursor shape changes (e.g. hover a link), or in zed editor while scrolling.
This is not related to drivers, must be something else then. Let me know if you have any ideas.
Offline
in ff when the cursor shape changes
How exactly does lag?
It takes a moment between you, hovering the link and the cursor shape to change(how long? 50ms, 250ms, 1s or 1m?) or are there side effects (the entire system starts to lag etc)?
Offline
It will only affect applications using xwayland .
No. xf86-video-amdgpu is a DDX driver for Xorg, not xwayland. You can look at the contents of the package: basically one Xorg driver and one Xorg config file.
Xwayland uses the Wayland API instead of interacting with the display card directly.
Offline
x-ref, https://bbs.archlinux.org/viewtopic.php?id=311247
Might be a KDE specific problem?
Offline
How exactly does lag?
It takes a moment between you, hovering the link and the cursor shape to change(how long? 50ms, 250ms, 1s or 1m?) or are there side effects (the entire system starts to lag etc)?
It's hard to measure, but nothing dramatic, you just see that the transition is not smooth.
No. xf86-video-amdgpu is a DDX driver for Xorg, not xwayland. You can look at the contents of the package: basically one Xorg driver and one Xorg config file.
Thanks!
I know it's off-topic but is it possible to remove/disable X11 (or xwayland) entirely?
Offline
I know it's off-topic but is it possible to remove/disable X11 (or xwayland) entirely?
Theoretically, but plasma-workspace specifically hard depends on xwayland, you might have to build your own KDE packages for that.
It's likely also not a good idea and SDDM still defaults to the X11 backend.
you just see that the transition is not smooth
No, /I/ don't ![]()
That's why we're gonna need some quantification of the problem to ballpark the cause.
Offline
I'd say 50ms, the instant when the cursor shapes changes to index finger.
Moving the cursor horizontally on the link is smooth.
So yeah it's probably related to KDE (scrolling code files in zed must be a different thing, maybe the video card is just not good enough to give a smooth rendering).
Offline
Moving the cursor horizontally on the link is smooth
You mean the problem is that the cursor briefly gets stuck when moving it onto a link (triggering the shape change)?
Does that only affect (specific) browsers or anything that alters the cursor shape (eg. into an i-beam should be easy enough to trigger)
Do you use
echo $KWIN_FORCE_SW_CURSOR ?
If not you could test to "export KWIN_FORCE_SW_CURSOR=1" and see whether that makes a difference.
Offline
You mean the problem is that the cursor briefly gets stuck when moving it onto a link (triggering the shape change)?
Yes. What's an i-beam?
I've just tried KWIN_FORCE_SW_CURSOR=1, seems better with it.
Offline
Yes. What's an i-beam?
You get that when hovering above any text input - looks like a capital I
So seems a problem w/ amdgpu if the software cursor renders fine.
Do you get this w/ the LTS kernel?
Offline
Yes, happens with i-beam too, and yes also with LTS kernel
Offline
Is a non-KDE compositor affected (weston, sway, labwc, hyprland, …)?
Offline
Does not happen with hyprland
Offline
Probably https://bugs.kde.org/show_bug.cgi?id=509669 ?
Offline
Dunno tbh, will probably find out once fixed... in the meantime I'll use the env var you suggested (unless there can be any issue which discourages daily usage)
Offline
After a deeper look I'd say it's very likely.
Offline
Pages: 1