GithubHelp home page GithubHelp logo

Add patch files about kwin-lowlatency HOT 11 CLOSED

tildearrow avatar tildearrow commented on May 30, 2024
Add patch files

from kwin-lowlatency.

Comments (11)

tildearrow avatar tildearrow commented on May 30, 2024 1

I have released kwin-lowlatency 5.15.5 now. May you please test the following patchset?
http://tildearrow.zapto.org/storage/kwin-lowlatency/kwin-lowlatency-5.15.5.patch

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

Thank you for the suggestion. This was actually the original planned distribution method, but I changed that idea on the last minute and decided to publish the whole repository instead.

from kwin-lowlatency.

agates avatar agates commented on May 30, 2024

I mention it because I'd like to include the patches in a gentoo ebuild to include kwin-lowlatency as my main kwin package.

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

I see. Isn't it possible to use git clone followed by git checkout in the ebuild instead? (I still plan to distribute this program in patch format, however)

from kwin-lowlatency.

agates avatar agates commented on May 30, 2024

At first inspection it didn't seem straightforward to me, but I'll take a closer look.

KDE ebuilds source a kde5.eclass which automatically configure some of the repository cloning logic behind the scenes, based on the version number -- I didn't look into it until now. Looks like I can probably override that behavior. Will see if I can provide a new ebuild.

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

I'm still waiting for KWin 5.15.5 to get released before I can begin distributing this project in patch format since I have prepared a number of changes since the release of 5.15.4, including the NVIDIA fix, latency control options, close option in Present Windows, and possibly even unredirect which I haven't put in the AUR since I don't want to break upstream's versioning (I could use pkgrel but NVIDIA fixing is a major change which begs a version bump); and I don't want to pack 5.15.4 as a patch already since it doesn't have the NVIDIA fixes.

from kwin-lowlatency.

agates avatar agates commented on May 30, 2024

The patch files will allow putting the lowlatency patch set behind a USE flag. I'm just speculating, but we might be able to push to adding that to the official Gentoo package ebuild, if only disabled by default.

In the mean time, here is an ebuild for kwin-5.15.49.9999.ebuild which clones this repository directly. I recommend using it with the kde overlay. I had to mask all kde-plasma and kde-frameworks -9999 packages in order to get the build working, but I'm running it right now.

kwin-5.15.49.9999.ebuild

from kwin-lowlatency.

agates avatar agates commented on May 30, 2024

I have it building on Gentoo behind a USE flag. My work is here. Still need to test it though.

https://github.com/agates/kwin-lowlatency-gentoo

In the patch file, I removed the change to CMakeLists.txt which was causing a problem during patching, though not sure why. It seems to build fine without it.

The patch also included a reference to create itself, like patchception, which I removed.

from kwin-lowlatency.

agates avatar agates commented on May 30, 2024

This is running for me, however window title bars are not appearing -- though I can interact with them, so they at least exist in some manner. Might this be a result of one of my changes?

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

I have updated patch.sh to disable modification of CMakeLists.txt and prevent patch-ception. Please test again and tell me if it works (notes: 1. you may want to remove *.patch before running patch.sh. 2. the patch is now generated outside the repo directory (to prevent patch-ception).).

Also, did you test without using an ebuild? (building from inside the repository, e.g. mkdir build; cd build; cmake ..; make; QT_PLUGIN_PATH="$PWD/bin" ./bin/kwin_x11 --replace)
If so, and if it still reproduces, may you tell me your system's specs? (CPU, GPU, driver (glxinfo | grep OpenGL) and DDX driver (e.g. amdgpu, modesetting, etc.))

from kwin-lowlatency.

agates avatar agates commented on May 30, 2024

Looks like it's an issue with my ebuild install, however I don't think it's patch related. Going to test different compiler settings I have with gentoo LTO first.

Thanks for getting this out!

from kwin-lowlatency.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.