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

ubuntu 20.04 with node 16.13.0 lead to render error #180

Open
laoshaw opened this issue Nov 20, 2021 · 3 comments
Open

ubuntu 20.04 with node 16.13.0 lead to render error #180

laoshaw opened this issue Nov 20, 2021 · 3 comments

Comments

@laoshaw
Copy link

laoshaw commented Nov 20, 2021

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
@c6fc
Copy link

c6fc commented Dec 16, 2021

This also occurs in 17.0.1

@HenriqueAJNB
Copy link

Same here in Ubuntu 20.04

@Dofamin
Copy link

Dofamin commented May 10, 2022

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)

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

4 participants