Announcement

Collapse
No announcement yet.

Did anyone of you manage to install kwin-lowlatency?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Did anyone of you manage to install kwin-lowlatency?

    Hello,

    I found this interesting patch for Kwin:

    https://github.com/tildearrow/kwin-lowlatency

    Who installed it says it is quite a nice patch!
    It solves all the stuttering, tearing, slow desktop effects issues.

    However, I was not able to install it. I followed step by step the installation guide written by the developer himself:

    1) Patch format

    download stock KWin source and patch file:

    $ wget https://download.kde.org/stable/plas...-5.17.0.tar.xz
    $ wget http://tildearrow.zapto.org/storage/...y-5.17.0.patch
    extract:

    $ tar -xvf kwin-5.17.0.tar.xz
    patch:

    $ cd kwin-5.17.0
    $ patch -p1 < ../kwin-lowlatency-5.17.0.patch

    2)Building

    Ubuntu

    Ubuntu uses a different library path, which means you'll have to tweak the library dir:

    $ mkdir build
    $ cd build
    $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_INSTALL_LIBEXECDIR=lib/x86_64-linux-gnu -DBUILD_TESTING=OFF ..
    $ make

    Everything is fine till I launch
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_INSTALL_LIBEXECDIR=lib/x86_64-linux-gnu -DBUILD_TESTING=OFF ..

    When I run this command I get:

    -- The C compiler identification is GNU 9.2.1
    -- The CXX compiler identification is GNU 9.2.1
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Installing in the same prefix as Qt, adopting their path scheme.
    -- Looking for __GLIBC__
    -- Looking for __GLIBC__ - found
    -- Performing Test _OFFT_IS_64BIT
    -- Performing Test _OFFT_IS_64BIT - Success
    -- Performing Test HAVE_DATE_TIME
    -- Performing Test HAVE_DATE_TIME - Success
    -- Could NOT find KF5Config (missing: KF5Config_DIR)
    -- Could NOT find KF5Config: found neither KF5ConfigConfig.cmake nor kf5config-config.cmake
    -- Could NOT find KF5ConfigWidgets (missing: KF5ConfigWidgets_DIR)
    -- Could NOT find KF5ConfigWidgets: found neither KF5ConfigWidgetsConfig.cmake nor kf5configwidgets-config.cmake
    -- Could NOT find KF5CoreAddons (missing: KF5CoreAddons_DIR)
    -- Could NOT find KF5CoreAddons: found neither KF5CoreAddonsConfig.cmake nor kf5coreaddons-config.cmake
    -- Could NOT find KF5Crash (missing: KF5Crash_DIR)
    -- Could NOT find KF5Crash: found neither KF5CrashConfig.cmake nor kf5crash-config.cmake
    -- Could NOT find KF5GlobalAccel (missing: KF5GlobalAccel_DIR)
    -- Could NOT find KF5GlobalAccel: found neither KF5GlobalAccelConfig.cmake nor kf5globalaccel-config.cmake
    -- Could NOT find KF5I18n (missing: KF5I18n_DIR)
    -- Could NOT find KF5I18n: found neither KF5I18nConfig.cmake nor kf5i18n-config.cmake
    -- Could NOT find KF5IconThemes (missing: KF5IconThemes_DIR)
    -- Could NOT find KF5IconThemes: found neither KF5IconThemesConfig.cmake nor kf5iconthemes-config.cmake
    -- Could NOT find KF5IdleTime (missing: KF5IdleTime_DIR)
    -- Could NOT find KF5IdleTime: found neither KF5IdleTimeConfig.cmake nor kf5idletime-config.cmake
    -- Could NOT find KF5Init (missing: KF5Init_DIR)
    -- Could NOT find KF5Init: found neither KF5InitConfig.cmake nor kf5init-config.cmake
    -- Could NOT find KF5Notifications (missing: KF5Notifications_DIR)
    -- Could NOT find KF5Notifications: found neither KF5NotificationsConfig.cmake nor kf5notifications-config.cmake
    -- Could NOT find KF5Package (missing: KF5Package_DIR)
    -- Could NOT find KF5Package: found neither KF5PackageConfig.cmake nor kf5package-config.cmake
    -- Could NOT find KF5Plasma (missing: KF5Plasma_DIR)
    -- Could NOT find KF5Plasma: found neither KF5PlasmaConfig.cmake nor kf5plasma-config.cmake
    -- Could NOT find KF5Wayland (missing: KF5Wayland_DIR)
    -- Could NOT find KF5Wayland: found neither KF5WaylandConfig.cmake nor kf5wayland-config.cmake
    -- Could NOT find KF5WidgetsAddons (missing: KF5WidgetsAddons_DIR)
    -- Could NOT find KF5WidgetsAddons: found neither KF5WidgetsAddonsConfig.cmake nor kf5widgetsaddons-config.cmake
    -- Could NOT find KF5WindowSystem (missing: KF5WindowSystem_DIR)
    -- Could NOT find KF5WindowSystem: found neither KF5WindowSystemConfig.cmake nor kf5windowsystem-config.cmake
    CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
    Could NOT find KF5 (missing: Config ConfigWidgets CoreAddons Crash
    GlobalAccel I18n IconThemes IdleTime Init Notifications Package Plasma
    Wayland WidgetsAddons WindowSystem) (Required is at least version "5.62.0")
    Call Stack (most recent call first):
    /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
    CMakeLists.txt:63 (find_package)

    -- Configuring incomplete, errors occurred!
    See also "/home/usr/kwin-5.17.0/build/CMakeFiles/CMakeOutput.log".

    #2
    it looks like you did not install the dependency's for the build , and I did not see where a list of just the ones you need were , that said you can look through this list and install the obvious ones (from your error list) rerun the build and see whats left

    like where your error list said "Could NOT find KF5Config " install the "libkf5config-dev" from the list below .

    disclaimer: this list was generated from the example at the bottom of this page https://community.kde.org/Guidelines...e_dependencies that was linked to in your "patch"page under "installing dependency's"

    Code:
    vinny@vinny-Bonobo-Extreme:~$ apt-cache search -n "libkf5.*-dev" | sed 's/ - .*//' | sed '/libkf5example1-dev/d' | sed '/libkf5example2-dev/d'
    libkf5activities-dev
    libkf5activitiesstats-dev
    libkf5akonadi-dev
    libkf5akonadi-dev-bin
    libkf5akonadicalendar-dev
    libkf5akonadicontact-dev
    libkf5akonadinotes-dev
    libkf5akonadisearch-dev
    libkf5akonadiserver-dev
    libkf5alarmcalendar-dev
    libkf5archive-dev
    libkf5attica-dev
    libkf5auth-bin-dev
    libkf5auth-dev
    libkf5baloowidgets-dev
    libkf5blog-dev
    libkf5bluezqt-dev
    libkf5bookmarks-dev
    libkf5calendarcore-dev
    libkf5calendarsupport-dev
    libkf5calendarutils-dev
    libkf5cddb-dev
    libkf5codecs-dev
    libkf5compactdisc-dev
    libkf5completion-dev
    libkf5config-bin-dev
    libkf5config-dev
    libkf5configwidgets-dev
    libkf5contacts-dev
    libkf5coreaddons-dev
    libkf5coreaddons-dev-bin
    libkf5crash-dev
    libkf5dbusaddons-dev
    libkf5declarative-dev
    libkf5dnssd-dev
    libkf5doctools-dev
    libkf5emoticons-dev
    libkf5eventviews-dev
    libkf5filemetadata-dev
    libkf5followupreminder-dev
    libkf5globalaccel-dev
    libkf5grantleetheme-dev
    libkf5gravatar-dev
    libkf5guiaddons-dev
    libkf5holidays-dev
    libkf5i18n-dev
    libkf5iconthemes-dev
    libkf5identitymanagement-dev
    libkf5idletime-dev
    libkf5imap-dev
    libkf5incidenceeditor-dev
    libkf5itemmodels-dev
    libkf5itemviews-dev
    libkf5jobwidgets-dev
    libkf5jsembed-dev
    libkf5kaddressbookgrantlee-dev
    libkf5kaddressbookimportexport-dev
    libkf5kcmutils-dev
    libkf5kdcraw-dev
    libkf5kdegames-dev
    libkf5kdelibs4support-dev
    libkf5kdepimdbusinterfaces-dev
    libkf5kexiv2-dev
    libkf5kgeomap-dev
    libkf5khtml-dev
    libkf5kjs-dev
    libkf5kmahjongglib-dev
    libkf5konq-dev
    libkf5kontactinterface-dev
    libkf5ldap-dev
    libkf5libkdepim-dev
    libkf5libkleo-dev
    libkf5mailcommon-dev
    libkf5mailimporter-dev
    libkf5mailtransport-dev
    libkf5mbox-dev
    libkf5mediaplayer-dev
    libkf5messagecomposer-dev
    libkf5messagecore-dev
    libkf5messagelist-dev
    libkf5messageviewer-dev
    libkf5mime-dev
    libkf5mimetreeparser-dev
    libkf5networkmanagerqt-dev
    libkf5newstuff-dev
    libkf5notifications-dev
    libkf5notifyconfig-dev
    libkf5package-dev
    libkf5parts-dev
    libkf5people-dev
    libkf5pimcommon-dev
    libkf5pimtextedit-dev
    libkf5plasma-dev
    libkf5plotting-dev
    libkf5prison-dev
    libkf5pty-dev
    libkf5purpose-dev
    libkf5qqc2desktopstyle-dev
    libkf5sane-dev
    libkf5screen-dev
    libkf5sendlater-dev
    libkf5service-dev
    libkf5solid-dev
    libkf5sonnet-dev
    libkf5sonnet-dev-bin
    libkf5style-dev
    libkf5su-dev
    libkf5syndication-dev
    libkf5syntaxhighlighting-dev
    libkf5sysguard-dev
    libkf5templateparser-dev
    libkf5texteditor-dev
    libkf5textwidgets-dev
    libkf5tnef-dev
    libkf5unitconversion-dev
    libkf5wallet-dev
    libkf5wayland-dev
    libkf5webengineviewer-dev
    libkf5webkit-dev
    libkf5widgetsaddons-dev
    libkf5windowsystem-dev
    libkf5xmlgui-dev
    libkf5xmlrpcclient-dev
    libkf5akonadi-dev-bin-dbgsym
    libkf5akonadi-dev-dbgsym
    libkf5akonadimime-dev
    libkf5akonadisocialutils-dev
    libkf5atcore-dev
    libkf5auth-dev-bin
    libkf5auth-dev-bin-dbgsym
    libkf5completion-dev-dbgsym
    libkf5config-dev-bin
    libkf5config-dev-bin-dbgsym
    libkf5configwidgets-dev-dbgsym
    libkf5contacteditor-dev
    libkf5contacteditor-dev-dbgsym
    libkf5coreaddons-dev-bin-dbgsym
    libkf5iconthemes-dev-dbgsym
    libkf5itemviews-dev-dbgsym
    libkf5jsembed-dev-dbgsym
    libkf5kio-dev
    libkf5kio-dev-dbgsym
    libkf5kipi-dev
    libkf5kjs-dev-dbgsym
    libkf5ksieve-dev
    libkf5mediawiki-dev
    libkf5plotting-dev-dbgsym
    libkf5runner-dev
    libkf5sonnet-dev-bin-dbgsym
    libkf5sonnet-dev-dbgsym
    libkf5textwidgets-dev-dbgsym
    libkf5threadweaver-dev
    libkf5vkontakte-dev
    libkf5wayland-dev-dbgsym
    libkf5webkit-dev-dbgsym
    libkf5widgetsaddons-dev-dbgsym
    libkf5xmlgui-dev-dbgsym
    you might first try the suggestions in this thread https://www.kubuntuforums.net/showth...l=1#post369780 post #1 plasma5 section , you do not half to use "kdesudo" with kate anymore and just save the files to the location indicated , as we cant run Dolphin as root anymore either.

    all that said , I do not have the problems you seem to be suggesting you do , <sigh>

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      -- Could NOT find KF5CoreAddons: found neither KF5CoreAddonsConfig.cmake nor kf5coreaddons-config.cmake
      Also, you may have to search for all the related -dev packages that provide one of these pairs of files, for each of the lines in your error output.. There may be one development package that pulls in most of the missing bits, but I cannot recall what those may be.

      You may be relegated to searching for them. packages.ubuntu.com has a search function that is easy to use to search package contents to find them. it will be a bit tedious, but not difficult.

      Comment

      Working...
      X