@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.
Search Criteria
Package Details: kwinft 6.0.0-3
Git Clone URL: | https://aur.archlinux.org/kwinft.git (read-only, click to copy) |
---|---|
Package Base: | kwinft |
Description: | Wayland and X11 Compositor for the KDE Plasma desktop (theseus-ship) |
Upstream URL: | https://github.com/winft/theseus-ship |
Keywords: | kwinft |
Licenses: | LGPL-2.1-only |
Conflicts: | theseus-ship |
Provides: | theseus-ship |
Submitter: | abelian424 |
Maintainer: | abelian424 (xiota) |
Last Packager: | xiota |
Votes: | 39 |
Popularity: | 0.188395 |
First Submitted: | 2020-07-11 03:54 (UTC) |
Last Updated: | 2024-03-13 10:50 (UTC) |
Dependencies (18)
- comoAUR (theseus-shipAUR)
- kcrash (kcrash-gitAUR)
- kdbusaddons (kdbusaddons-gitAUR)
- kdecoration (kdecoration-gitAUR)
- knewstuff (knewstuff-gitAUR)
- kscreenlocker (kscreenlocker-gitAUR)
- libepoxy (libepoxy-gitAUR, libepoxy-nodocs-gitAUR)
- pixman (pixman-gitAUR)
- qt6-multimedia
- qt6-tools
- wlroots (wlroots-gitAUR, wlroots-asan-gitAUR, wayfire-gitAUR, wlroots0.16-nvidiaAUR, wlroots-nvidiaAUR, wlroots-hidpi-xprop-gitAUR, wlroots-displaylink-gitAUR, wlroots-hidpi-xpropAUR)
- breeze (breeze-patchedAUR, breeze-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- git (git-gitAUR) (make)
- kdeclarative (kdeclarative-gitAUR) (make)
- microsoft-gsl (microsoft-gsl-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- qt6-virtualkeyboard (optional) – virtual keyboard support for kwin-wayland
Required by (0)
Sources (1)
abelian424 commented on 2021-10-03 16:09 (UTC)
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 https://invent.kde.org/plasma/kwin/-/commit/839710201c389b7f4ed248cb3818e755a37ce977
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 <vlad.zahorodnii@kde.org>
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;
--
GitLab
also
kwinft E: Dependency libqaccessibilityclient detected and not included (libraries ['usr/lib/libqaccessibilityclient-qt5.so.0'] needed in files ['usr/lib/libkwin4_effect_builtins.so.1.0.0'])
kwinft E: Dependency python detected and not included (programs ['python3', 'python'] needed in scripts ['usr/share/kconf_update/kwin-5.21-desktop-grid-click-behavior.py', 'usr/share/kconf_update/kwin-5.18-move-animspeed.py'])
greetings
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
Pinned Comments
gnlrdrvo commented on 2024-02-28 06:14 (UTC)
See also: https://www.phoronix.com/news/KWinFT-Rebrand-Theseus-Ship
aviallon commented on 2021-01-14 22:09 (UTC)
This seriously needs to be in community, awesome drop-in replacement for kwin.