nelsonjchen / op-replay-clipper

📽 Capture and develop clips of openpilot. UI optional. Already deployed on Replicate.com for YOUR immediate use!
https://replicate.com/nelsonjchen/op-replay-clipper
MIT License
86 stars 13 forks source link

Try to limit framerate to see if that helps performance #44

Closed nelsonjchen closed 1 year ago

nelsonjchen commented 1 year ago

Maybe too much FPS means too much CPU and then drops? WSL2 kinda naturally limits to 300FPS. 6000FPS would kill.

nelsonjchen commented 1 year ago

https://www.reddit.com/r/IntelligentGaming2020/comments/t2s888/how_to_limit_a_games_framerate_on_linux_using/

use libstrangle

nelsonjchen commented 1 year ago

What would libstrangle do with faketime 🤨

nelsonjchen commented 1 year ago

Implemented https://github.com/nelsonjchen/op-replay-clipper/commit/3f5ec706d30af57a6aebd5b757156c164f92c429

But it still jitters. Seems less though?