Package Details: kwinft 5.25.0-1

Git Clone URL: (read-only, click to copy)
Package Base: kwinft
Description: Wayland compositor and X11 window manager
Upstream URL:
Licenses: LGPL
Conflicts: kwin
Provides: kwin
Submitter: abelian424
Maintainer: abelian424
Last Packager: abelian424
Votes: 30
Popularity: 2.22
First Submitted: 2020-07-11 03:54 (UTC)
Last Updated: 2022-06-16 15:26 (UTC)

Sources (1)

Pinned Comments

aviallon commented on 2021-01-14 22:09 (UTC)

This seriously needs to be in community, awesome drop-in replacement for kwin.

Latest Comments

randomnerd commented on 2022-04-23 12:01 (UTC)

Why does this package not directly depend on {wrapland,disman,kdisplay}-kwinft instead?

cnNLJoEjpDbCdNKQ commented on 2022-02-06 14:08 (UTC)

Pls update to version kwinft@5.24.0-beta.0.

modnoob commented on 2022-01-09 11:29 (UTC)

For me the build fails with this error message

[ 25%] Linking CXX shared module ../bin/
/usr/bin/ld: CMakeFiles/kcm_kwin4_genericscripted.dir/genericscriptedconfig.cpp.o: in function `KWin::GenericScriptedConfig::createUi()':
genericscriptedconfig.cpp:(.text+0xd23): undefined reference to `QUiLoader::QUiLoader(QObject*)'
/usr/bin/ld: genericscriptedconfig.cpp:(.text+0xd31): undefined reference to `QUiLoader::setLanguageChangeEnabled(bool)'
/usr/bin/ld: genericscriptedconfig.cpp:(.text+0xf2c): undefined reference to `QUiLoader::load(QIODevice*, QWidget*)'
/usr/bin/ld: CMakeFiles/kcm_kwin4_genericscripted.dir/genericscriptedconfig.cpp.o: in function `KWin::GenericScriptedConfig::createUi() [clone .constprop.0]':
genericscriptedconfig.cpp:(.text+0x15db): undefined reference to `QUiLoader::QUiLoader(QObject*)'
/usr/bin/ld: genericscriptedconfig.cpp:(.text+0x15f1): undefined reference to `QUiLoader::setLanguageChangeEnabled(bool)'
/usr/bin/ld: genericscriptedconfig.cpp:(.text+0x17d9): undefined reference to `QUiLoader::load(QIODevice*, QWidget*)'
/usr/bin/ld: CMakeFiles/kcm_kwin4_genericscripted.dir/genericscriptedconfig.cpp.o: in function `KWin::GenericScriptedConfig::createUi() [clone .constprop.1]':
genericscriptedconfig.cpp:(.text+0x1f3b): undefined reference to `QUiLoader::QUiLoader(QObject*)'
/usr/bin/ld: genericscriptedconfig.cpp:(.text+0x1f51): undefined reference to `QUiLoader::setLanguageChangeEnabled(bool)'
/usr/bin/ld: genericscriptedconfig.cpp:(.text+0x2139): undefined reference to `QUiLoader::load(QIODevice*, QWidget*)'
collect2: error: ld returned 1 exit status
make[2]: *** [scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/build.make:149: bin/] Error 1
make[1]: *** [CMakeFiles/Makefile2:5922: scripting/CMakeFiles/kcm_kwin4_genericscripted.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 25%] Building CXX object plugins/kdecorations/aurorae/themes/plastik/code/CMakeFiles/plastikplugin.dir/plastikplugin.cpp.o
[ 25%] Linking CXX shared module ../../../bin/kpackage/packagestructure/
[ 25%] Built target kwin_packagestructure_effect
[ 25%] Linking CXX shared module ../../../bin/kpackage/packagestructure/
[ 25%] Building CXX object plugins/kdecorations/aurorae/src/CMakeFiles/decorationplugin.dir/colorhelper.cpp.o
[ 25%] Built target kwin_packagestructure_scripts
[ 25%] Building CXX object plugins/kdecorations/aurorae/src/CMakeFiles/decorationplugin.dir/decorationoptions.cpp.o
[ 25%] Linking CXX static library ../../lib/libKWinRulesObjects.a
[ 25%] Built target KWinRulesObjects
[ 25%] Building CXX object plugins/kdecorations/aurorae/src/CMakeFiles/decorationplugin.dir/decorationplugin.cpp.o
[ 25%] Linking CXX shared module ../../../bin/kpackage/packagestructure/
[ 25%] Built target kwin_packagestructure_windowswitcher
[ 25%] Linking CXX shared library ../../../../../../bin/org/kde/kwin/decorations/plastik/
[ 25%] Built target plastikplugin
[ 25%] Linking CXX shared library ../../../../bin/org/kde/kwin/decoration/
[ 25%] Built target decorationplugin
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
 -> error making: kwinft

precrisk commented on 2021-12-09 11:55 (UTC)

For some reason, volume and brightness OSD appears in top left corner, and nobody has created issue for this upstream. should i create an issue there or is it some packaging issue?

reeeeeeeeeeelity commented on 2021-12-02 05:47 (UTC)

This package seems to be broken on chaotic-aur for a while, it looks like it's from the wrapland-kwinft name change, defaulting to git version? can you take a look?

rpi2 commented on 2021-12-01 02:05 (UTC)

@abelian424, qt.qpa.xcb could not connect to display...

abelian424 commented on 2021-11-03 02:01 (UTC)

@rpi2 Press alt+F2 to enter terminal, and then check the output of dismanctl -i and dismanctl -o

rpi2 commented on 2021-11-03 00:42 (UTC) (edited on 2021-11-03 00:42 (UTC) by rpi2)

can not login from sddm ever palsma is 5.23, btw, how to set disman? there is no kwinft wiki page.

abelian424 commented on 2021-10-27 06:57 (UTC)

@veganvelociraptr If all kde packages are updated to 5.23 then kwinft should work properly. Are you trying to use KWayland on Nvidia? Try to check the output of dismanctl -i or dismanctl -o

veganvelociraptr commented on 2021-10-27 05:24 (UTC)

My arch system is fully is updated, including kdecoration (no, not git). Yet I've not been able to get kwinft to work after its latest update. After logging in thru sddm, everything crashes.

sl1pkn07 commented on 2021-10-17 19:12 (UTC) (edited on 2021-10-17 19:17 (UTC) by sl1pkn07)

anyone abre to run kwinft with wayland with the new nvidia 495 drivers?


abelian424 commented on 2021-10-17 09:14 (UTC)

@IncredibleLaser I changed my mind in between my reply and yours and went along with your suggestion. It will inconvenience new downloaders of kwinft until 5.23 hits [extra] or until the maintainer of kdecoration-git modifies their PKGBUILD. If you don't mind, I'm going to add your suggestion as a comment on that AUR page.

IncredibleLaser commented on 2021-10-17 09:06 (UTC) (edited on 2021-10-17 09:07 (UTC) by IncredibleLaser)

Forgot about that as well, but if don't add the version in the provides entry, version checks such as this one fail. check the note. So I think a provides=("${pkgname%-git}=$pkgver") in the kdecoration-git PKGBUILD should do it

IncredibleLaser commented on 2021-10-16 18:05 (UTC)

@abellan424, this in my opinion is the wrong way to tackle the problem. kdecoration is on 5.23 since 9 days, though in [testing]. Same for the rest of the suite.

So if you want to use this as a drop-in for kwin, you need to have [testing] enabled anyways (I guess). A better solution would be to have kdecoration>=${pkgver} in the depends array. kdecoration-git provides kdecoration and is versioned correctly so it would still work if people want, but at the same time would allow this to be build against the packages in [testing].

abelian424 commented on 2021-10-03 16:09 (UTC)

@sl1pkn07 - thanks for the fix. it's been added to the PKGBUILD. i apologize for the late addition, as i had hoped that the problem would fix itself, but it's been long enough.

dreieck commented on 2021-09-30 18:04 (UTC)

Can you please add =${pkgver} to the kwin-entry in the provides array?

Thanks for maintaining!

sl1pkn07 commented on 2021-09-19 15:57 (UTC) (edited on 2021-09-19 22:08 (UTC) by sl1pkn07)

finded the problem

fails build with libglvnd from [testing]

patch here

but idk if needs adapt to kwinft

EDIT the patch adapted to kwinft

From 839710201c389b7f4ed248cb3818e755a37ce977 Mon Sep 17 00:00:00 2001
From: Vlad Zahorodnii <>
Date: Fri, 10 Sep 2021 13:36:04 +0300
Subject: [PATCH] x11: Fix build with EGL_NO_PLATFORM_SPECIFIC_TYPES

eglCreateWindowSurface() wants a Window (unsigned long), but with
EGL_NO_PLATFORM_SPECIFIC_TYPES, EGLNativeWindowType is defined as an
opaque pointer, i.e. void*.

BUG: 440372
 plugins/platforms/x11/windowed/egl_x11_backend.cpp | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/plugins/platforms/x11/windowed/egl_x11_backend.cpp b/plugins/platforms/x11/windowed/egl_x11_backend.cpp
index c62ec170d..d2900c7c3 100644
--- a/plugins/platforms/x11/windowed/egl_x11_backend.cpp
+++ b/plugins/platforms/x11/windowed/egl_x11_backend.cpp
@@ -238,15 +238,16 @@ EGLSurface EglX11Backend::createSurface(xcb_window_t window)
         return EGL_NO_SURFACE;

+    // Window is 64 bits on a 64-bit architecture whereas xcb_window_t is always 32 bits.
+    unsigned long nativeWindow = window;
     EGLSurface surface = EGL_NO_SURFACE;
     if (m_havePlatformBase) {
-        // Note: Window is 64 bits on a 64-bit architecture whereas xcb_window_t is
-        //       always 32 bits. eglCreatePlatformWindowSurfaceEXT() expects the
-        //       native_window parameter to be pointer to a Window, so this variable
-        //       cannot be an xcb_window_t.
-        surface = eglCreatePlatformWindowSurfaceEXT(eglDisplay(), config(), (void *) &window, nullptr);
+        // eglCreatePlatformWindowSurfaceEXT() expects a pointer to the Window.
+        surface = eglCreatePlatformWindowSurfaceEXT(eglDisplay(), config(), (void *) &nativeWindow, nullptr);
     } else {
-        surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr);
+        // eglCreateWindowSurface() expects a Window, not a pointer to the Window.
+        surface = eglCreateWindowSurface(eglDisplay(), config(), reinterpret_cast<EGLNativeWindowType>(nativeWindow), nullptr);

     return surface;


kwinft E: Dependency libqaccessibilityclient detected and not included (libraries ['usr/lib/'] needed in files ['usr/lib/'])
kwinft E: Dependency python detected and not included (programs ['python3', 'python'] needed in scripts ['usr/share/kconf_update/', 'usr/share/kconf_update/'])


sl1pkn07 commented on 2021-09-19 14:43 (UTC) (edited on 2021-09-19 15:39 (UTC) by sl1pkn07)

seems failed with new kdecoration [kde-unstable]

[ 14%] Building CXX object kcmkwin/kwinrules/CMakeFiles/KWinRulesObjects.dir/__/__/plugins/platforms/x11/standalone/x11cursor.cpp.o
En el fichero incluido desde /tmp/makepkg/kwinft/src/kwinft-kwinft@5.22.0/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp:20:
/tmp/makepkg/kwinft/src/kwinft-kwinft@5.22.0/kcmkwin/kwindecoration/declarative-plugin/previewbridge.h:52:10: error: ‘void KDecoration2::Preview::PreviewBridge::update(KDecoration2::Decoration*, const QRect&)’ se marca como ‘override’, pero no hace override
   52 |     void update(Decoration* decoration, const QRect& geometry) override;
      |          ^~~~~~

also, if revert to [extra], get

[ 99%] Built target kwin_wayland
/tmp/makepkg/kwinft/src/kwinft-kwinft@5.22.0/plugins/platforms/x11/windowed/egl_x11_backend.cpp: In member function 'void* KWin::EglX11Backend::createSurface(xcb_window_t)':
/tmp/makepkg/kwinft/src/kwinft-kwinft@5.22.0/plugins/platforms/x11/windowed/egl_x11_backend.cpp:249:66: error: invalid conversion from 'xcb_window_t' {aka 'unsigned int'} to 'EGLNativeWindowType' {aka 'void*'} [-fpermissive]
  249 |         surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr);
      |                                                                  ^~~~~~
      |                                                                  |
      |                                                                  xcb_window_t {aka unsigned int}
make[2]: *** [plugins/platforms/x11/windowed/CMakeFiles/KWinWaylandX11Backend.dir/build.make:90: plugins/platforms/x11/windowed/CMakeFiles/KWinWaylandX11Backend.dir/egl_x11_backend.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6729: plugins/platforms/x11/windowed/CMakeFiles/KWinWaylandX11Backend.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

abelian424 commented on 2021-06-25 14:27 (UTC)

@kodatarule You need to have wrapland installed in order to build kwinft. I've updated the package to include it as a build dependency on top of being a normal package dependency.

kodatarule commented on 2021-06-24 04:52 (UTC) (edited on 2021-06-24 04:54 (UTC) by kodatarule)

Hello, I am unable to build the latest package:

[ 29%] Building CXX object CMakeFiles/kwin.dir/wayland_server.cpp.o In file included from /home/kodatarule/.cache/yay/kwinft/src/kwinft-kwinft@5.22.0/wayland_server.cpp:28: /home/kodatarule/.cache/yay/kwinft/src/kwinft-kwinft@5.22.0/win/wayland/layer_shell.h:19:10: fatal error: Wrapland/Server/layer_shell_v1.h: No such file or directory 19 | #include <Wrapland/Server/layer_shell_v1.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: [CMakeFiles/kwin.dir/build.make:1863: CMakeFiles/kwin.dir/wayland_server.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:1959: CMakeFiles/kwin.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: kwinft

abelian424 commented on 2021-04-13 06:23 (UTC) (edited on 2021-04-13 06:23 (UTC) by abelian424)

@keren_sky I suggest posting the output of dismanctl -i and dismanctl -o, also the names of the processes with high cpu usage

keren_sky commented on 2021-04-12 20:01 (UTC) (edited on 2021-05-07 16:29 (UTC) by keren_sky)

Hi, does this need some further configuration after install ? I install this package, then start Plasma + Wayland as per the archlinux wiki. The login period is extended compared w/ an x11 session and everything is slow. Mouse movements, etc. In htop there are four kwin_wayland processes with near 100% CPU usage. Thanks.

edit: I'll reinstall the package and run those commands suggested by abelian424

damentz commented on 2021-02-15 19:51 (UTC)

@abelian424, thanks for reverting back to the latest stable version.

abelian424 commented on 2021-02-15 15:10 (UTC) (edited on 2021-02-15 15:18 (UTC) by abelian424)

@dementz Huge miscalculation on my part. I reverted, but it won't auto-update for those who already installed unless if I put in a goofy non-existent higher version number. Also, need to run pacman -Rdd kdecoration-git for those who already installed, and replace with stable kdecoration. If anyone wants to try the beta, you'll have to edit the PKGBUILD and also install kdecoration-git.

damentz commented on 2021-02-14 17:37 (UTC)

Is there a reason this package and its dependencies randomly began tracking beta branches? KwinFT beta is unusable, so I just had to uninstall it and use alternatives like kwin-lowlatency or kwin beta for 5.21.

It's unfortunate this will be the perception users get with kwinft for a few weeks since the latest stable for version 5.20 is excellent.

undu commented on 2021-02-10 19:25 (UTC)

The current version shouldn't be 5.21.0-1, 5.21.0.beta-0 would work with arch's version numbers and would closely reflect the original version.

I'm unable to compile the package as well:

kwinft-kwinft@5.21.0-beta.0/decorations/decoratedclient.h:87:10: error: ‘void KWin::Decoration::DecoratedClientImpl::requestShowWindowMenu(const QRect&)’ marked ‘override’, but does not override

theriddick commented on 2021-02-05 03:16 (UTC)

@abelian424 I'll try it again sometime later today since now I moved back to non-git version of plasma.

abelian424 commented on 2021-02-05 03:12 (UTC)

theriddick, can you post the dismanctl readout?

theriddick commented on 2021-02-04 07:13 (UTC)

this kwinft doesn't even work for me in X11 or Wayland. Just fails to load completely.

PedroHLC commented on 2021-01-25 13:11 (UTC)

Missing kidletime, kscreenlocker to build in a clean chroot:

CMake Error at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find KF5 (missing: IdleTime) (found suitable version "5.78.0",
  minimum required is "5.74.0")
CMake Error at CMakeLists.txt:123 (find_package):
  Could not find a package configuration file provided by "KScreenLocker"
  with any of the following names

abelian424 commented on 2021-01-24 06:08 (UTC)

Is there an easy fix beyond updating kwinft or downgrading kdecorations?

sl1pkn07 commented on 2021-01-23 10:01 (UTC)

fils build with recent kdecorations update

[ 19%] Building CXX object kcmkwin/kwinrules/CMakeFiles/KWinRulesObjects.dir/rulesettings.cpp.o
/tmp/makepkg/kwinft/src/kwinft-kwinft@5.20.0/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp: En la función miembro ‘virtual std::unique_ptr<KDecoration2::DecoratedClientPrivate> KDecoration2::Preview::PreviewBridge::createClient(KDecoration2::DecoratedClient*, KDecoration2::Decoration*)’:
/tmp/makepkg/kwinft/src/kwinft-kwinft@5.20.0/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp:65:83: error: invalid new-expression of abstract class type ‘KDecoration2::Preview::PreviewClient’
   65 |     auto ptr = std::unique_ptr<PreviewClient>(new PreviewClient(client, decoration));

aviallon commented on 2021-01-14 22:09 (UTC)

This seriously needs to be in community, awesome drop-in replacement for kwin.