criu
PluginLoader
criu | PluginLoader | |
---|---|---|
14 | 39 | |
2,663 | 441 | |
1.7% | - | |
8.9 | 8.5 | |
10 days ago | almost 2 years ago | |
C | TypeScript | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
criu
-
When "letting it crash" is not enough
Checkpoint/Restore I feel is a bigger concept than just saving state. At the zeroth level it's a system that can correctly stop and serialize a running process (as criu https://github.com/checkpoint-restore/criu has shown is a huge pain in the ass to still not be perfect) in a way that can initiated from within the process itself.
The 1st level more-work-but-easier way to do this is to build or use a heavily constrained VM/language you run from within your main application that doesn't allow for most of the hard problems to even exist.
I can't find any ready-made tools to do this that I wouldn't consider an endeavor.
- CRIU – Checkpoint/restore Linux tasks
-
Live Switching Pods to another Node on Resource Limits
That being said the Checkpoint Restore In Userspace project has been around for a number of years and is the closest thing to what you are talking about: taking a linux process on one machine and moving it to another. It is messy but can be done in some cases. There are folks looking at how to integrate CRIU with k8s but it’s all research at this point.
- Criu: Checkpoint/Restore Functionality for Linux
- checkpoint-restore/criu: Checkpoint/Restore tool
- checkpoint-restore/criu: Linux Checkpoint/Restore tool
-
The intersection of shadow stacks and CRIU
I would love to make more use of CRIU. E.g. I considered to use CRIU for my Python preloaded logic (https://github.com/albertz/python-preloaded). Unfortunately, at that point in time, CRIU must be used with root access, which was not an option. However, I see that the PR was merged now, so maybe it works now? (https://github.com/checkpoint-restore/criu/pull/1930)
There is also DMTCP (https://github.com/dmtcp/dmtcp/) but this might have other problems for my use case.
My solution was to use a fork server instead, which works almost equally well. There are not really much downsides with this approach. And this is actually quite simple, and also quite cross-platform (except Windows).
-
Python Preloaded
CRIU currently needs root access for dump/restore. However, there is ongoing work to support a non-root option in https://github.com/checkpoint-restore/criu/pull/1930.
-
How-to "freeze" a process to disk?
There have been multiple checkpointing attempts over the years. Criu is the only one I know of that's still kicking. That's probably your best and only bet.
- I made a plugin to suspend games and apps similar to how consoles do (Deck Suspender)
PluginLoader
-
Enable Developer Mode, Install Plugin Loader & PowerTools On The Steam Deck | Disable SMT | Hack
Install steps for Decky are exactly the same, except you paste curl -L https://github.com/SteamDeckHomebrew/PluginLoader/raw/main/dist/install_prerelease.sh | sh into Konsole instead (note the "prerelease"). Further details are on the Decky Loader README if you need them.
-
How to install SDH-Cssloader?
, there are 3 different commands to use for different needs as explained on the github page https://github.com/SteamDeckHomebrew/PluginLoader/raw/legacy/dist/install_release.sh
-
Quick resume crashing steam deck
curl -L https://github.com/SteamDeckHomebrew/PluginLoader/raw/main/dist/uninstall.sh | sh
- Sometimes I just can't believe how much power I'm holding in my hands...
-
1st Day impression with my 512 GB
It's an plugin for Steam OS Plugin Loader. Unfortunately it's not a user friendly install.
-
Question regarding emulation
For emulation that’s bad as you mostly need one CPU core crunching as fast as it can. Go here https://deckbrew.xyz and then download PowerTools. Turn off SMT. Et voila, non choppy emulation.
-
I made a plugin to suspend games and apps similar to how consoles do (Deck Suspender)
Discussions about the issue on Plugin Loader’s gitHub for anyone interested.
-
10+ hours _actual_ battery life in VNs & turn based games by using PowerTools and setting GPU FastPPT Power=0, which forces 400mhz CPU. Can get lower than 4w consumed(!). Visual Novels work perfectly since FPS doesn't matter for them.
Main question: can anyone else reproduce these results? You'll need https://github.com/SteamDeckHomebrew/PluginLoader to use PowerTools
-
I'm working on a plugin to integrate TeamSpeak 3 into the quick access sidebar
Unfortunately there is no official API available. The way it is done as of today requires user to enable developer mode on their Deck. If you want to learn more, check out PluginLoader on GitHub.
- Help installing Plugins Loader
What are some alternatives?
nyrna - Suspend games and applications.
Steam-Deck-Guide - Steam Deck Guide. Learn all about the Tools, Accessories, Games, Emulators, and Gaming Tips that will make your Steam Deck an awesome Gaming Handheld or a Portable Computer Workstation.
FitM - FitM, the Fuzzer in the Middle, can fuzz client and server binaries at the same time using userspace snapshot-fuzzing and network emulation. It's fast and comparably easy to set up.
PowerTools - Moved to
Regshot-Advanced - This is a fork of Regshot (original found at https://sourceforge.net/projects/regshot/) with very enhanced functionality.
SDH-KeyboardTheme - Plugin that allows you to use any keyboard theme you want.
fpart - Sort files and pack them into partitions
SteamOS-Plugin-Manager - A plugin loader for the Steam Deck [Moved to: https://github.com/SteamDeckHomebrew/PluginLoader]
DashLoader - Launch at the speed of light.
SDH-ClassicTheme - Classic Steam theme (2004) for the SteamDeck
nginx-link-function - It is a NGINX module that provides dynamic linking to your application in server context and call the function of your application in location directive
steam-rom-manager - An app for managing ROMs in Steam