[FEATURE]: limit the FPS (frames per second) target rate, useful for remote work #9451

Open
opened 2026-02-16 18:12:29 -05:00 by yindo · 1 comment
Owner

Originally created by @CoolCold on GitHub (Feb 16, 2026).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Gist

When working on powerful remote machine over RDP (XRDP) I could see that it become laggy and xrdp consumes CPU. After some back and forth, I've assumed it may be to high refresh rate and it seems to be so - once I've set rps to 5, xrdp CPU consumption became much lower.

As well, when working over ssh - which is a quite standard thing too, having high FPS doesn't make much sense, i.e. over 250-300 ms link, what kind of FPS/RPS you may expect :)

I've build local package, enabled debug information ( Ctrl+P -> Toggle Debug ) , watched FPS is limited while producing some output. In the other terminal, I was watching top for xrdp.

"classical" situation:

Image
Originally created by @CoolCold on GitHub (Feb 16, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request # Gist When working on powerful remote machine over RDP (XRDP) I could see that it become laggy and xrdp consumes CPU. After some back and forth, I've assumed it may be to high refresh rate and it seems to be so - once I've set rps to 5, xrdp CPU consumption became much lower. As well, when working over ssh - which is a quite standard thing too, having high FPS doesn't make much sense, i.e. over 250-300 ms link, what kind of FPS/RPS you may expect :) I've build local package, enabled debug information ( Ctrl+P -> Toggle Debug ) , watched FPS is limited while producing some output. In the other terminal, I was watching `top` for xrdp. "classical" situation: <img width="1547" height="187" alt="Image" src="https://github.com/user-attachments/assets/82e6017a-43e4-41cb-b25e-b36b39d7b311" />
yindo added the opentuidiscussionperf labels 2026-02-16 18:12:29 -05:00
Author
Owner

@jmagder commented on GitHub (Feb 16, 2026):

Its your lucky day! I just opened a PR to do just this because I was annoyed my CPU fan was too loud. :D You can check it out here:

https://github.com/anomalyco/opencode/pull/13901

Please let me know if it helps you! Hopefully it'll be merged before you see this. :D

@jmagder commented on GitHub (Feb 16, 2026): Its your lucky day! I just opened a PR to do just this because I was annoyed my CPU fan was too loud. :D You can check it out here: https://github.com/anomalyco/opencode/pull/13901 Please let me know if it helps you! Hopefully it'll be merged before you see this. :D
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9451