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

Compositor does not support the input inhibitor protocol, refusing to run insecurely #112

Open
rbroggi opened this issue Nov 25, 2023 · 11 comments

Comments

@rbroggi
Copy link

rbroggi commented Nov 25, 2023

swaylock-effects is not compatible with the latest wlroots. Here you can find more details. Any chance we can upgrade swaylock-effects to use the latest features of vanilla swaylock and use ext-session-lock-v1 protocol instead of the deprecated wlr-input-inhibitor-unstable-v1?

@mxaddict
Copy link

mxaddict commented Dec 6, 2023

I'm getting this same error, but regular swaylock works just fine.

[main.c:1824] Compositor does not support the input inhibitor protocol, refusing to run insecurely

I think upstream swaylock has updated to use the new protocol.

@mxaddict
Copy link

mxaddict commented Dec 6, 2023

swaylock-effects is not compatible with the latest wlroots. Here you can find more details. Any chance we can upgrade swaylock-effects to use the latest features of vanilla swaylock and use ext-session-lock-v1 protocol instead of the deprecated wlr-input-inhibitor-unstable-v1?

Hmm, after more testing, it seems that the aur package swaylock-effects is out of date

I installed swaylock-effects-git and this version works.

@AlifiChiganjati
Copy link

swaylock-effects is not compatible with the latest wlroots. Here you can find more details. Any chance we can upgrade swaylock-effects to use the latest features of vanilla swaylock and use ext-session-lock-v1 protocol instead of the deprecated wlr-input-inhibitor-unstable-v1?

Hmm, after more testing, it seems that the aur package swaylock-effects is out of date

I installed swaylock-effects-git and this version works.

cool thanks mate

@AyushmaanAggarwal
Copy link

#92 has more information about this issue, and how this project is no longer maintained

@ImDooMLorD
Copy link

somehow, reinstalling swaylock-effects clean using yay makes it work again for me yay -S swaylock-effects-git

@AyushmaanAggarwal
Copy link

The reason swaylock-effects-git works is because the upstream of swaylock-effects-git is NOT this package but the more up to date but not actively maintained repo here https://github.com/jirutka/swaylock-effects. More details are in #92

@githubkuyaya
Copy link

I get that error too, but moving to swaylock-effects-git is not really optimal too, as that fork somehow is a lot clunkier. I bounded a hotkey SUPER + l to execute swaylock with fade-in=0.1 in the config. Unfortunately, the animation takes about ~1 second to even start and the indicator appears instantly, and the animation being out of sync with the indicator looks ugly.
This repo seems to work more smoothly (as long as it was still working) :(

@TonyTwoStep
Copy link

TonyTwoStep commented May 6, 2024

Can confirm on OpenSUSE without a dedicated build in the repos, building from source using the more up-to-date https://github.com/jirutka/swaylock-effects, which @AyushmaanAggarwal mentioned is what the swaylock-effects-git AUR package is based on, fixes this issue for me.

@githubkuyaya
Copy link

I get that error too, but moving to swaylock-effects-git is not really optimal too, as that fork somehow is a lot clunkier. I bounded a hotkey SUPER + l to execute swaylock with fade-in=0.1 in the config. Unfortunately, the animation takes about ~1 second to even start and the indicator appears instantly, and the animation being out of sync with the indicator looks ugly. This repo seems to work more smoothly (as long as it was still working) :(

Update: Although the fade-in is still buggy for me in every repo I've tried, hyprlock was released 2 months ago with a lot more customization options. Additionally, the fade-in seems to work smooth there, just wanted to put this here for everyone else that didn't know about it :)

@mortie
Copy link
Owner

mortie commented May 16, 2024

So I'm using swaylock-effects from this repo (which indeed doesn't support the input inhibitor protocol), and I'm not seeing these issues... I'm running Fedora 40 with Sway, using swaylock-effects, and it still Just Works™. Ideally this repo should obviously be updated to support input-inhibitor, but I don't quite understand why it works for me but not others 🤔

@mxaddict
Copy link

So I'm using swaylock-effects from this repo (which indeed doesn't support the input inhibitor protocol), and I'm not seeing these issues... I'm running Fedora 40 with Sway, using swaylock-effects, and it still Just Works™. Ideally this repo should obviously be updated to support input-inhibitor, but I don't quite understand why it works for me but not others 🤔

I switched to hyprlock a few days ago, been loving it, maybe give it a shot.

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

8 participants