7 karma · joined Aug 2, 2022 (4y ago) · 16 submissions
comment 2w ago · link · parent
comment 1mo ago · link · parent
I've personally run Unreal Tournament 2004 at 40fps on my laptop, with pure software-rendered OpenGL a few years ago (GPU support wasn't there at the time).
5.
GVisor is being donated to CNCF(gvisor.dev ↗)
7 points · by eperot · 1mo ago · discuss
comment 4mo ago · link · parent
gVisor's `runsc checkpoint` subcommand supports a `--save-restore-exec-argv` which lets you specify a program to execute before gVisor starts taking the process snapshot.
You can fill in the blanks from there.
comment 4mo ago · link · parent
My goal was for the sandbox to only have access to a single dumb playback sink and no other access by default, and to gate any further access (e.g. microphone access) in something the out-of-sandbox software can catch and ask the user about before it is granted to the sandbox.
comment 5mo ago · link · parent
comment 5mo ago · link · parent
The tty issue is known, should be fixed soon too, though contributions welcome as it sounds like it should be simple fix and we love more contributions :)
FWIW, X11 apps work well, I have a personal hacky project in which I've been running Librewolf in gVisor, with the window being reflected as a native Wayland window. It uses `Xvfb -fbdir` aimed at a bound tmpfs mount to get a shared memory region containing the window's pixel data which can be read directly from out of the sandbox, has Pulseaudio audio passthrough, and a socket server passing through mouse/keyboard events to make the window interactive. Works smoothly even for YouTube playback, and I successfully played a game of Unreal Tournament 2004 at 24fps in it, with no noticeable mouse/keyboard latency :) We're basically making baby steps to get there less hackily.
Thanks for the feedback!
comment 5mo ago · link · parent
13.
Magi: Multi-Agent GVisor Isolation(gvisor.dev ↗)
7 points · by eperot · 7mo ago · 1 comment
comment 2y ago · link · parent