Package Details: kwin-lowlatency 5.17.5-1

Git Clone URL: https://aur.archlinux.org/kwin-lowlatency.git (read-only, click to copy)
Package Base: kwin-lowlatency
Description: the compositor, with added stutter/latency reductions
Upstream URL: https://github.com/tildearrow/kwin-lowlatency
Licenses: LGPL
Groups: plasma
Conflicts: kwin
Provides: kwin
Submitter: tildearrow
Maintainer: tildearrow
Last Packager: tildearrow
Votes: 25
Popularity: 3.56
First Submitted: 2019-03-28 06:53
Last Updated: 2020-01-07 18:21

Required by (35)

Sources (1)

Pinned Comments

tildearrow commented on 2019-10-25 21:33

@mareex See https://github.com/tildearrow/kwin-lowlatency/issues/51 for details.

No need to cherry-pick. The change is now applied on git (commit bf1b5789). Will release 5.17.1-2 if it works well.

Latest Comments

1 2 3 4 Next › Last »

tildearrow commented on 2019-11-26 03:26

@Firstbober I'd prefer to let that be handled by the MAKEFLAGS.

Firstbober commented on 2019-11-25 17:01

I think you could add "-j$(nproc)" to "make" in PKGBUILD to use all the threads on your computer and speed up the compilation.

dferio commented on 2019-10-28 09:05

Works like a charm! I'm using it at this moment :)

tildearrow commented on 2019-10-25 21:33

@mareex See https://github.com/tildearrow/kwin-lowlatency/issues/51 for details.

No need to cherry-pick. The change is now applied on git (commit bf1b5789). Will release 5.17.1-2 if it works well.

mareex commented on 2019-10-25 18:04

EDIT: Or maybe this is just because of the updates pushed to libglvnd

https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/libglvnd&id=8d1741820154d07d0f179238791702e8361935c7

This modified PKGBUILD that is cherry picking a fix from upstream worked for me

https://cgit.kde.org/kwin.git/commit/?id=8e176c8b0d97e78e8b33fac3b5acded277bbcf4f

# Maintainer: tildearrow <tildearrow@protonmail.com>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=kwin-lowlatency
pkgver=5.17.1
pkgrel=1
pkgdesc='the compositor, with added stutter/latency reductions'
arch=(x86_64)
url='https://github.com/tildearrow/kwin-lowlatency'
license=(LGPL)
depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils breeze kinit qt5-sensors qt5-script)
makedepends=(git extra-cmake-modules qt5-tools kdoctools)
optdepends=('qt5-virtualkeyboard: virtual keyboard support for kwin-wayland')
provides=(kwin)
conflicts=(kwin)
groups=(plasma)
source=("git+https://github.com/tildearrow/kwin-lowlatency.git")
sha256sums=(SKIP)
install=$pkgname.install

prepare() {
  cd "$pkgname"
  git checkout v5.17.1
  git remote add upstream https://anongit.kde.org/kwin.git || true
  git fetch upstream
  git cherry-pick 8e176c8b0d97e78e8b33fac3b5acded277bbcf4f
  cd ..
  mkdir -p build
}

build() {
  cd build
  cmake ../$pkgname \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DCMAKE_INSTALL_LIBEXECDIR=lib \
    -DBUILD_TESTING=OFF
  make
}

package() {
  cd build
  make DESTDIR="$pkgdir" install
}

ganthore commented on 2019-10-24 18:17

I was experiencing the same errors being reported by others but I managed to make things go from bad to worse when I deleted my local copy of the repo and cloned a fresh copy. Running makepkg will throw many errors...

make[2]: [plugins/qpa/CMakeFiles/KWinQpaPlugin.dir/build.make:154: plugins/qpa/CMakeFiles/KWinQpaPlugin.dir/offscreensurface.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:8600: plugins/qpa/CMakeFiles/KWinQpaPlugin.dir/all] Error 2

All of the trouble here seems to be linked to how offscreensurface is being built.

noradtux commented on 2019-10-24 17:03

I think the root cause is in this message:

In file included from /usr/include/qt/QtGui/qsurface.h:46,
                 from /usr/include/qt/QtGui/5.13.1/QtGui/qpa/qplatformsurface.h:54,
                 from /usr/include/qt/QtGui/5.13.1/QtGui/qpa/qplatformoffscreensurface.h:53,
                 from /tmp/x/kwin-lowlatency/src/kwin-lowlatency/plugins/qpa/offscreensurface.h:27,
                 from /tmp/x/kwin-lowlatency/src/kwin-lowlatency/plugins/qpa/offscreensurface.cpp:21:
/usr/include/qt/QtCore/qmetatype.h:59:2: error: #error qmetatype.h must be included before any header file that defines Bool
   59 | #error qmetatype.h must be included before any header file that defines Bool
      |  ^~~~~

mareex commented on 2019-10-24 16:18

On the computer at my work I got the same error as on the one I use at home.

dferio commented on 2019-10-24 09:14

@tildearrow I did a makepkg -s and got the same result.

Btw, I uploaded to pastebin a pacman -Q of my system if it helps to solve this issue, https://pastebin.com/bfWtT3eY

mareex commented on 2019-10-23 22:24

With pure makepkg I get this error, too. I deleted kwin.lowlatency from makepkg source cache to be sure.