mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #305] Pause/Resume containers #407
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#407
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/wolf/pull/305
Author: @Murazaki
Created: 12/3/2025
Status: 🔄 Open
Base:
beta← Head:feature/pause_containers📝 Commits (3)
0c22537flake setup + fix shebang0623257WIP on adding resume and pause options19447c2Change pause/resume event from lobby to runner📊 Changes
24 files changed (+402 additions, -74 deletions)
View changed files
📝
.devcontainer/dev-setup.sh(+1 -1)➕
.envrc(+3 -0)➕
.envrc.local.sample(+1 -0)📝
.gitignore(+23 -8)📝
docker/gpu-drivers.Dockerfile(+2 -2)📝
docker/gstreamer.Dockerfile(+1 -1)📝
docker/startup.sh(+1 -1)📝
docker/wolf.Dockerfile(+1 -1)📝
docs/modules/dev/pages/manual_build.adoc(+1 -1)📝
docs/modules/dev/partials/spec.json(+100 -0)📝
docs/modules/user/pages/quickstart.adoc(+1 -1)➕
flake.lock(+27 -0)➕
flake.nix(+17 -0)➕
shell.nix(+9 -0)📝
src/core/src/core/docker.hpp(+14 -0)📝
src/core/src/platforms/all/docker/docker/docker.cpp(+32 -0)📝
src/moonlight-server/api/api.hpp(+7 -0)📝
src/moonlight-server/api/endpoints.cpp(+48 -2)📝
src/moonlight-server/api/unix_socket_server.cpp(+71 -46)📝
src/moonlight-server/events/events.hpp(+20 -4)...and 4 more files
📄 Description
Attempt at enabling pause/resume scheme from Wolf to Wolf UI.
As discussed on Discord, this might not work perfectly has pausing containers doesn't free GPU VRAM, since there's no cgroup freeze method available to do so by default. There is hope that we could do it with some research, and it might come to the kernel in the next years, but for now we have to try without. This might end up creating crashes though.
I'm still not sure of the return values that
Resumeshould give. I kept it as a separated action fromJoinfor now, but maybe the scheme would be better if we could directly join ?I also might have connected pause and resume stream events to pause/resume container, which depending on how this works might not be a good idea.
Linked to https://github.com/games-on-whales/wolf-ui/pull/10
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.