terminalizer icon indicating copy to clipboard operation
terminalizer copied to clipboard

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

Open simonfontana opened this issue 2 years ago • 9 comments

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?

simonfontana avatar Oct 01 '22 20:10 simonfontana

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

archi avatar Oct 13 '22 19:10 archi

same issue on my ubuntu1804

zhijianli88 avatar Oct 14 '22 02:10 zhijianli88

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

mthbrown avatar Oct 16 '22 04:10 mthbrown

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 avatar Oct 16 '22 13:10 zhijianli88

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.

zhijianli88 avatar Oct 17 '22 00:10 zhijianli88

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

carlohamalainen avatar Oct 30 '22 09:10 carlohamalainen

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!

oatish avatar Dec 14 '22 17:12 oatish

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? :

  • https://github.com/faressoft/terminalizer/pull/97

mmontes11 avatar Dec 29 '22 15:12 mmontes11

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

ivanvmoreno avatar May 30 '23 15:05 ivanvmoreno