Giter Club home page Giter Club logo

Comments (8)

D3SOX avatar D3SOX commented on September 4, 2024 1

@kawazoe It is an issue on your side. You need to have base-devel installed to build packages

Also if you don't know this: You have to rebuild any compiled package (for example with paru -S --rebuild) if you update a dependency from the repos. That's just how Arch works.
A way to get notified of this is to use https://github.com/maximbaz/rebuild-detector

from kwin-effects-forceblur.

taj-ny avatar taj-ny commented on September 4, 2024 1

Looks like the Chaotic-AUR package was built for Plasma 6.0.1, so that's probably why it doesn't work.
https://builds.garudalinux.org/repos/chaotic-aur/logs/kwin-effects-forceblur.log

from kwin-effects-forceblur.

taj-ny avatar taj-ny commented on September 4, 2024

Works for me on Plasma 6.0.2. Does the stock blur effect also not show up when you exclude unsupported effects?

from kwin-effects-forceblur.

kawazoe avatar kawazoe commented on September 4, 2024

No, the stock blur is supported and works as expected.

from kwin-effects-forceblur.

taj-ny avatar taj-ny commented on September 4, 2024

I have no idea what could be the cause. I tested it on a fresh Arch installation in a VM and it worked. Maybe there's an issue with the KWin config? Rename ~/.config/kwinrc to something else and log out.

If that doesn't work, try building the develop branch. I made it so that BlurEffect::supported() always returns true.

EDIT: What happens if you just enable the effect even though it's unsupported? Does it work?

from kwin-effects-forceblur.

kawazoe avatar kawazoe commented on September 4, 2024

EDIT: What happens if you just enable the effect even though it's unsupported? Does it work?

Nah, nothing happens, though I can go into the config panel and change settings.

The dev build works just fine too. I wanted to check into the supported function. I'm not setup to debug C++ so I tried to use qCWarning to log the return value of the three function calls you do in the supported() method, but I can't see them in journalctl. Where do I need to go to check those logs?

EDIT: Scratch that... It looks like my new build isn't getting loaded without restaring the plasma workspace. I'll get back to you once I get that working.

EDIT2: Ok, I did not expect that:

kwin_wayland[7626]: kwin_effect_forceblur: GLFramebuffer::blitSupported() ->  true
kwin_wayland[7626]: kwin_effect_forceblur: GLFramebuffer::supported() ->  true
kwin_wayland[7626]: kwin_effect_forceblur: effects->isOpenGLCompositing() ->  true

And that build works.

Could there be an issue with the AUR package?

from kwin-effects-forceblur.

taj-ny avatar taj-ny commented on September 4, 2024

Try the AUR package again, maybe it was just necessary to rebuild the effect due to some package updates (if you updated the system after installing it). Make sure to force a rebuild, otherwise the package manager may just install the already built version.

from kwin-effects-forceblur.

kawazoe avatar kawazoe commented on September 4, 2024

Welp... Ok, I just learned a few things <_<

I'm on Garuda, which uses chaotic-aur. I don't know why I never noticed, by I was installing your package from the chaotic-aur repo instead of building it locally. Forcing paru to use the AUR package with paru -Sa kwin-effects-forceblur gives me a build error:

==> ERROR: Cannot find the debugedit binary required for including source files in debug packages.
error: failed to build 'kwin-effects-forceblur-1.1.1-2':
error: packages failed to build: kwin-effects-forceblur-1.1.1-2

Obviously I have all of the dependencies listed in the PKGBUILD, and I can build it manually. My best guess is that there's something wrong with the PKGBUILD, maybe some missing dependency that chaotic has by default on an older version in the container image they use to build packages. This could explain why they have a valid build, but it doesn't actually work when you install it.

Installing debugedit makes the AUR build pass, and the resulting package is working as expected.

from kwin-effects-forceblur.

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.