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

InitializeSandbox() called with multiple threads in process gpu-process #201

Open
simonfontana opened this issue Oct 1, 2022 · 9 comments

Comments

@simonfontana
Copy link

First time using this project. Unfortunately I get an error when rendering the video.

$ terminalizer render demo
Error: 
  Error: [1874161:1001/223018.440808:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.


Hint:
  Use the --help option to get help about the usage

Google tells me to try disable GPU rendering, but I can't find an option for that.

System:
HP EliteBook 840 Aero G8
11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GH with integrated GPU.

Any suggestions?

@archi
Copy link

archi commented Oct 13, 2022

Same issue here on a i7-1185G7 with Arch Linux.

@zhijianli88
Copy link

same issue on my ubuntu1804

@mthbrown
Copy link

mthbrown commented Oct 16, 2022

I ran into this. A solution that I tried and worked is to overwrite the current commads/render.js with this file: https://raw.githubusercontent.com/faressoft/terminalizer/d2d5ff1c23c4ecf785b29435335b73515d83c2db/commands/render.js After that, it worked fine. This file from a PR that is meant to address this but hasn't been merged

@zhijianli88
Copy link

I tried this just now, but it didn't work for me.

terminalizer render xxx
Error:
  Error: Rendering exited with code null

Hint:
  Use the --help option to get help about the usage

@zhijianli88
Copy link

I tried this just now, but it didn't work for me.

terminalizer render xxx
Error:
  Error: Rendering exited with code null

Hint:
  Use the --help option to get help about the usage

well, my fault, this works for me.

@carlohamalainen
Copy link

Thanks @mthbrown , that worked for me. Debian Bullseye on my old Lenovo X1 Carbon laptop.

@oatish
Copy link

oatish commented Dec 14, 2022

I ran into this. A solution that I tried and worked is to overwrite the current commads/render.js with this file: https://raw.githubusercontent.com/faressoft/terminalizer/d2d5ff1c23c4ecf785b29435335b73515d83c2db/commands/render.js After that, it worked fine. This file from a PR that is meant to address this but hasn't been merged

This solved it for me. Ubuntu 22.10 on a ThinkPad T560 with i7-6600U & integrated GPU.

Thank you so much!

@mmontes11
Copy link

mmontes11 commented Dec 29, 2022

Hey @faressoft ! First of all, thank you so much for this amazing tool!

I ran into this. A solution that I tried and worked is to overwrite the current commads/render.js with this file: https://raw.githubusercontent.com/faressoft/terminalizer/d2d5ff1c23c4ecf785b29435335b73515d83c2db/commands/render.js After that, it worked fine. This file from a PR that is meant to address this but hasn't been merged

This worked for me as well, but having to modify the code doesn't seem like a final solution. Could you pleasee take a look at the PR that contains the fix for the render.js? :

mmontes11 added a commit to mmontes11/terminalizer that referenced this issue Dec 29, 2022
faressoft#201
faressoft#97

Support for speed factor in render. See:
faressoft#137
@ivanvmoreno
Copy link

ivanvmoreno commented May 30, 2023

Facing the same problem on Fedora 38 on the current release. Verified that it is indeed solved with the shared @mthbrown fix

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

8 participants