-
-
Notifications
You must be signed in to change notification settings - Fork 579
feat: force render #2609
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
base: main
Are you sure you want to change the base?
feat: force render #2609
Conversation
|
For screencast it should work out of the box; but why would this be needed outside a screencast? |
Iirc Yalter said that clients should expect this and handle it properly instead. |
Hyprland also offers a similar feature. I think providing a special solution to address this issue is also acceptable. If you don’t use it, it’s equivalent to not running this logic. |
|
Yeah. That's how it works on GNOME etc |
|
Nevertheless, in some retro games where game/network logic is bound to its fps, it'd be nice to have this window rule. |
|
Oh I really need it lol |
I have faced the same issue in several games before, and would really appreciate an option like this window rule. Not sure if there is a better solution, but I personally like the window rule approach here. |
|
My use case is FfXIV an mmo where you can sit for hours in a party finder and need to hear the game sounds to know when its filled. But ths game speed is messed up when on another workspace. Leading to missed sounds, jarring bgm, broken autowalk etc |
|
How do they work on gnome, kde, sway? |
KDE works the same way as Niri currently, if a window (game) is on another workspace it will render at very low FPS/freeze |
|
For me with FFXIV on another workspace: |
|
@ToxicMushroom With Niri, have you tried with the window in floating mode? Does it make a difference? |
I believe this isn't true for windows that are a dynamic screencast target. I just tested this out, and whenever the target of the dynamic screen cast is off-screen, the frames drop significantly. |
It isn't because it currently doesn't work (for screencasts). |
|
Perhaps I should reiterate that this feature for screencasts does not require explicit configuration and it's worked. The frame rate drop could be due to a graphics card issue,idk. 2025-11-01_16-54-49.mp4 |
Yes, that is how it is supposed to work and how this PR already does it. I was just clarifying for @phisch who misinterpreted my previous comment. |
|
Oh, I see. Sorry for misinterpreting! Very happy to see this in niri soon! |



Allows the user to force a window to render even when it is offscreen or being captured by a screencast.
This behavior is controlled by the following window rule:
2025-10-16_19-54-04.mp4