terminalizer
terminalizer copied to clipboard
ubuntu 20.04 with node 16.13.0 lead to render error
a very quick test on ubuntu 20.04 with node 16.13.0 with terminalizer record demo
then terminalizer render demo
it reports:
Error:
Error: [926145:1120/150937.722877:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
This also occurs in 17.0.1
Same here in Ubuntu 20.04
Fix Path for ubuntu:
/usr/local/lib/node_modules
Same here.
In
render/index.js
, after thevar
declaration block, I added the following which did the trick for me:app.disableHardwareAcceleration(); app.commandLine.appendSwitch("disable-software-rasterizer");
Credits: electron/electron#20702 (comment)