Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Build failling to launch on Ubuntu 22.04 if you don't specify --no-sandbox #294

Open
SimonDeplat opened this issue Oct 4, 2023 · 2 comments

Comments

@SimonDeplat
Copy link

SimonDeplat commented Oct 4, 2023

Steps to reproduce

  • Download the Linux Build from itch.io
  • Unzip
  • cd /path/to/orca-linux-64
  • ./Orca

This outputs the following error :
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 [8154:1004/152039.422234:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye. Trappe pour point d'arrêt et de trace (core dumped)

I think the only issue is :
[8154:1004/152039.422234:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye.

This might be related to the fact that I have a discrete GPU card, or that it is a NVIDIA card.

After a quick search about it, I found out that it was a common issue with AppImages.
Launching Orca with this command solves the problem :

./Orca --no-sandbox

@dokutan
Copy link

dokutan commented Nov 4, 2023

Thanks a lot for opening this issue, at least i know of a a workaround now. I have the same issue on Arch Linux with an AMD gpu, which makes it seem likely that the cause is not the gpu vendor.

@SimonDeplat
Copy link
Author

This is an issue related to electron : https://www.electronjs.org/docs/latest/tutorial/sandbox

By default, Orca isn't allowed to communicate with the GPU for security reasons, unless you specify it using --no-sandbox (though it doesn't seem to be true on all distros ?).

This is up to the devs, but I think disabling sandboxing on the Orca build would make it easier to distribute to people who can't easily figure out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants