terminalizer icon indicating copy to clipboard operation
terminalizer copied to clipboard

ubuntu 20.04 with node 16.13.0 lead to render error

Open laoshaw opened this issue 2 years ago • 3 comments

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

laoshaw avatar Nov 20 '21 21:11 laoshaw

This also occurs in 17.0.1

c6fc avatar Dec 16 '21 18:12 c6fc

Same here in Ubuntu 20.04

HenriqueAJNB avatar Apr 16 '22 15:04 HenriqueAJNB

Fix Path for ubuntu:

/usr/local/lib/node_modules 

Same here.

In render/index.js, after the var 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)

Dofamin avatar May 10 '22 13:05 Dofamin