[CRIU] Saving the state of Google Earth
Teresa e Junior
teresaejunior at gmail.com
Wed Apr 27 11:52:14 PDT 2016
Yesterday, I saw the page "Usage scenarios", where it talks about the
ability to save the state of games. Not exactly a game, but very
similar, sometimes Google Earth crashes, and we lose hours of work.
There is no auto-save feature, neither does it have a keyboard shortcut
to save, so we ended up with a shell script that watches for window
events, blocks all input, and runs with the keyboard to File » Save »
Save my places. It is somehow fast, but annoying and error prone,
frequently it ends up choosing undesired options from the menu.
Unfortunately, we don't have an open source alternative for this
particular work.
So based on CRIU's usage scenarios, yesterday we have recompiled the
Liquorix kernel with the needed kernel options (except
CONFIG_MEM_SOFT_DIRTY, which I thought I had set, but in the end I
didn't, but it seems to be optional). Trying to create a checkpoint for
Google Earth results in the following (Linux 4.5.2, Ubuntu 16.04):
$ sudo criu dump -D checkpoint -t "$(pidof googleearth-bin)"
Error (proc_parse.c:499): Can't handle non-regular mapping on 28567's
map 7f84d9a11000
Error (cr-dump.c:1201): Collect mappings (pid: 28567) failed with -1
Error (cr-dump.c:1600): Dumping FAILED.
We have tried researching about the possibility of saving the state of
Google Earth with CRIU, and there is the page https://criu.org/VNC that
talks about running graphical applications with VNC. We don't have much
experience with VNC, but I guess running a 3D application with VNC must
be a no-no?
On criu.org there is some stuff about Docker containers too, and we have
found this page about running 3D applications from Docker:
https://github.com/gklingler/docker3d
But what would be the recommended method for us to save the state of
Google Earth with CRIU? I guess it would be the same way as a game. I
think preserving things like the network connection are not really
needed, the only important thing for us is being able to reopen Google
Earth and saving the work if needed.
Thank you for your attention!
Teresa e Junior
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160427/4ac8cb36/attachment.sig>
More information about the CRIU
mailing list