Tried running the OpenSpace AppImage on a fresh Ubuntu VM running atop Virtualbox.
Error - error while loading shared libraries: libjack.so.0: cannot open shared object file
sudo apt install libjack0
solved that issue.
But then,
(D) CefHost Remote WebBrowser debugging available on http://localhost:8088
[0408/141049.216978:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_OpenSpHMdIhf/home/runner/source/OpenSpace/build/modules/webbrowser/ext/cef/cef_binary_102.0.10+gf249b2e+chromium-102.0.5005.115_linux64/Release/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)
Tried running the AppImage as as root, could not connect to display - (should probably have tried pkexec as mentioned in a previous post, but instead, I tried to solve the appimage issue.)
Looks like this is due to apparmor - a bug report - https://askubuntu.com/questions/1512287/obsidian-appimage-the-suid-sandbox-helper-binary-was-found-but-is-not-configu
The --no-sandbox or --disable-setuid-sandbox methods did not work. But the apparmor method worked -
Created a file /etc/apparmor.d/openspaceappimage with the following content:
# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile openspaceappimage /path/to/OpenSpace-0.20.1-1-x86_64.AppImage flags=(default_allow) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/openspaceappimage>
}
Rebooted the VM, then the appimage ran. But then, blank screen after loading etc.
The web-ui at http://localhost:4680 works.
OnlyEarth profile loads, but only at 0.2 fps. But that seems to be due to 3d acceleration not being enabled on the VM's display. For that, I suppose guest additions are needed? Anyway, shut down the VM, changed display RAM to 128 MB, enabled the 3d acceleration checkbox in Virtualbox VM settings, (I see that I had done so in an earlier post), booted up the VM, changed display resoltuion inside the VM by right-clicking on the desktop to 1920x1080, then ran OpenSpace, mostly OK.
Takes a minute or two to initialize GL, then load assets, till then black screen for OS.
The default display configuration doesn't seem to work - black screen. But gui portrait, single fisheye gui etc worked fine. With OnlyEarth profile - 100 fps average with occasional stuttering.
Tried the default profile also later - it took around 2 hours to download all the 'sync' files - and ran very very slow, not usable.
No comments:
Post a Comment