-
Notifications
You must be signed in to change notification settings - Fork 16
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
No longer seems to work with games #16
Comments
Having the same issue but with firefox, it reports running but idle is not inhibited. I am running it on qtile-wayland though, maybe that could be causing some conflicts. The run command I use for swayidle: Any help is much appreciated |
Same issue on fedora39-sway. App: Firefox. While running video on Firefox, |
Same issue on Arch with qtile, with librewolf and brave. I don't know if |
Only Wayland compositor are supported... |
qtile wayland is wayland compositor I suppose? DWL works as intended. |
Oh my bad... |
It's hard to sus out precisely which actor is the culprit here, but I've observed the following while running sway-audio-idle-inhibit against swayidle built with systemd support, on hyprland (pipewire for audio):
sway-audio-idle-inhibit --dry-print-both
reportsRUNNING
, and swayidle is inhibited as expected when not using the flag.sway-audio-idle-inhibit --dry-print-both
still reportsRUNNING
, but idle is not inhibited as expected without the dry-run.I've always had intermittent issues with idle in general, but I think this is the first time I've observed unwanted behavior that I can actually pin down and reproduce.
I may be doing something wrong, or making some incorrect assumptions about how the underlying mechanism works (It's probably not as simple as "if any audio stream is playing, block swayidle"). So I'm wondering if there is a concrete list of requirements that the audio stream needs to have such that it will be picked up by the inhibitor.
Edit: Here's some extra info I just observed:
While running a game, I can "cajole" the inhibitor into working by adjusting the volume. After doing so, swayidle is successfully blocked. But interestingly, after closing the game, the inhibitor does not release until I poke it again with another volume adjustment.
The text was updated successfully, but these errors were encountered: