Closed GamePlayer-8 closed 3 months ago
@GamePlayer-8 Hello, the black lockscreen is actually due to an error from Plasma6 itself. This needs to be merged to be resolved: https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/218
Some of them work though, like PS3Menu
.
As for your port of plasmawaves, follow the dev guide (tbh I recommend the manual process since the automated one isn't smart at all)
so I'll wait for the screen locker pr to be merged.
I've patched the shader for Qt, although I had an issue with finding a solution for
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
since Vulkan refuses non-opaque uniforms outside a block although those variables are needed for other GLSL apps.
@GamePlayer-8
vec3 iResolution = ubuf.iResolution;
vec4 iMouse = ubuf.iMouse
You mean this doesn't work? (After defining the ubuf block above that like in the dev guide)
ubuf
declaration in the tutorial works only for Qt, but not in the standard GLSL.
At least all variables in ubuf
are undeclared when using GLSLViewer, GLSLEditor.
after updating the Qt version to the latest one, the issue with uniform variables is gone.
@GamePlayer-8 which version is that? Do you mean from Qt5 to Qt6?
I'm using Qt 6 since the beginning. Current version on which the issue went away is 6.7.1
Sorry for interrupting, it looks like the Dev merged it. https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/218
@toboil-features thank you for notifying me! I had not noticed. Will install plasma 6.1 and see how it behaves now. Might still need some patches from my side.
@toboil-features so i had to switch to unstable branch to try it, but so far all the shaders i've tried worked just fine. I believe this is fixed.
Make sure to use plasma 6.1!
Good morning,
I've got a problem with the plugin for Plasma 6 screen lock.
When I'm trying to use whatever shader, I'm either getting blank screen or one color slowly changing screen.
SDDM wayland log prints:
I've also tried porting the Plasma waves shader but gives the same result. (modified source code).
Is there any way to resolve this?