Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plasma6] build error! I'm on OpenSUSE tumbleweed. #140

Open
anoraktrend opened this issue May 19, 2024 · 6 comments
Open

[plasma6] build error! I'm on OpenSUSE tumbleweed. #140

anoraktrend opened this issue May 19, 2024 · 6 comments

Comments

@anoraktrend
Copy link

anoraktrend commented May 19, 2024

I ran into this error with all dependencies installed. This error happened during compilation.

return effects->isOpenGLCompositing() && GLFramebuffer::supported();

@guiodic
Copy link

guiodic commented May 27, 2024

Same for me:

[ 83%] Building CXX object src/lightlyshaders/kcm/CMakeFiles/kwin_lightlyshaders_config.dir/lightlyshaders_config.cpp.o
/home/guido/.cache/pacaur/lightlyshaders-plasma6-git/src/LightlyShaders/src/lightlyshaders/lightlyshaders.cpp: In static member function ‘static bool KWin::LightlyShadersEffect::supported()’:
/home/guido/.cache/pacaur/lightlyshaders-plasma6-git/src/LightlyShaders/src/lightlyshaders/lightlyshaders.cpp:357:61: error: ‘supported’ is not a member of ‘KWin::GLFramebuffer’
357 | return effects->isOpenGLCompositing() && GLFramebuffer::supported();
| ^~~~~~~~~
[ 85%] Building CXX object src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/kwin_effect_lightlyshaders_autogen/EWIEGA46WW/qrc_lightlyshaders.cpp.o
/home/guido/.cache/pacaur/lightlyshaders-plasma6-git/src/LightlyShaders/src/blur/blur.cpp: In static member function ‘static bool KWin::BlurEffect::supported()’:
/home/guido/.cache/pacaur/lightlyshaders-plasma6-git/src/LightlyShaders/src/blur/blur.cpp:374:61: error: ‘supported’ is not a member of ‘KWin::GLFramebuffer’
374 | return effects->isOpenGLCompositing() && GLFramebuffer::supported() && GLFramebuffer::blitSupported();
| ^~~~~~~~~
/home/guido/.cache/pacaur/lightlyshaders-plasma6-git/src/LightlyShaders/src/blur/blur.cpp:374:91: error: ‘blitSupported’ is not a member of ‘KWin::GLFramebuffer’
374 | return effects->isOpenGLCompositing() && GLFramebuffer::supported() && GLFramebuffer::blitSupported();
| ^~~~~~~~~~~~~
[ 87%] Building CXX object src/lightlyshaders/kcm/CMakeFiles/kwin_lightlyshaders_config.dir/kwineffects_interface.cpp.o
/home/guido/.cache/pacaur/lightlyshaders-plasma6-git/src/LightlyShaders/src/blur/blur.cpp: In member function ‘void KWin::BlurEffect::blur(const KWin::RenderTarget&, const KWin::RenderViewport&, KWin::EffectWindow*, int, const QRegion&, KWin::WindowPaintData&)’:
/home/guido/.cache/pacaur/lightlyshaders-plasma6-git/src/LightlyShaders/src/blur/blur.cpp:783:33: error: ‘class KWin::WindowPaintData’ has no member named ‘projectionMatrix’
783 | projectionMatrix = data.projectionMatrix();
| ^~~~~~~~~~~~~~~~
/home/guido/.cache/pacaur/lightlyshaders-plasma6-git/src/LightlyShaders/src/blur/blur.cpp:825:48: error: ‘class KWin::WindowPaintData’ has no member named ‘projectionMatrix’
825 | QMatrix4x4 projectionMatrix = data.projectionMatrix();
| ^~~~~~~~~~~~~~~~
make[2]: *** [src/blur/CMakeFiles/lightlyshaders_blur.dir/build.make:120: src/blur/CMakeFiles/lightlyshaders_blur.dir/blur.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1028: src/blur/CMakeFiles/lightlyshaders_blur.dir/all] Error 2
make[1]: *** Attesa per i processi non terminati....
make[2]: *** [src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/build.make:114: src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/lightlyshaders.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:789: src/lightlyshaders/CMakeFiles/kwin_effect_lightlyshaders.dir/all] Error 2
[ 89%] Linking CXX shared module kwin_lightlyshaders_config.so
[ 91%] Built target kwin_lightlyshaders_config
make: *** [Makefile:146: all] Error 2

@0x4c756e61
Copy link

I stumbled on this issue and created a patch file you can apply to fix it, this issue originated because stuff were renamed and moved around in the kwin repo. It works on plasma6.1 beta, I haven't test on 6.0 but I don't see why it wouldn't.
lightlyPlasma6.1.txt

@guiodic
Copy link

guiodic commented Jun 2, 2024

I stumbled on this issue and created a patch file you can apply to fix it, this issue originated because stuff were renamed and moved around in the kwin repo. It works on plasma6.1 beta, I haven't test on 6.0 but I don't see why it wouldn't. lightlyPlasma6.1.txt

it builds but seems doesnt work.

@0x4c756e61
Copy link

I stumbled on this issue and created a patch file you can apply to fix it, this issue originated because stuff were renamed and moved around in the kwin repo. It works on plasma6.1 beta, I haven't test on 6.0 but I don't see why it wouldn't. lightlyPlasma6.1.txt

it builds but seems doesnt work.

It definitely works on my side, if I forget the fact that Klassy breaks with it, here's a screenshot, I set the corner radius really high to demonstrate it
image

@guiodic
Copy link

guiodic commented Jun 9, 2024

I tried again but it doesn't work. I'm on Arch with kde-unstable.

KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

@guiodic
Copy link

guiodic commented Jun 14, 2024

ok, I see what's going on. I use egl and O2ES (OpenGL ES) for Kwin. They are much better in terms of fluidity on X11, but some effects like this don't work. It would be nice if it could be ported to O2ES.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants