faressoft / terminalizer

🦄 Record your terminal and generate animated gif images or share a web player
https://terminalizer.com
MIT License
15.16k stars 494 forks source link

Error GL_INVALID_OPERATION #150

Open aahnik opened 3 years ago

aahnik commented 3 years ago
❯ terminalizer render demo -o a.gif
Error: 
  Error: [113284:1230/232508.543647:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

Hint:
  Use the --help option to get help about the usage
pwndumb commented 3 years ago

I have same erro. terminalizer render demo
Error: Error: [4924:0111/144853.171579:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

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

jbomanson commented 3 years ago

I have the same error as well. I am trying to use terminalizer 0.7.2.

> terminalizer render demo
Error: 
  Error: [2235715:0117/185217.025029:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

Hint:
  Use the --help option to get help about the usage
HolzCode commented 3 years ago

Jup, exact same error, too! Error: [3023851:0128/033224.340292:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

I could really use this tool for a project. But neither on my arch machine, nor my Ubuntu VM does it run. Pls fix this guys.

alexcg1 commented 3 years ago

I'm seeing the exact same error. Running Gnome on Wayland on Manjaro Linux. Retrying in Openbox in Xorg gave same error.

Tried in xfce-terminal with tmux, and bare xterm (I doubt that makes a difference, but including just in case)

m5lk3n commented 3 years ago

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: https://github.com/electron/electron/issues/20702#issuecomment-582587510

m5lk3n commented 3 years ago

Related PR: https://github.com/faressoft/terminalizer/pull/134/commits/0caba5083ddd31f4210ea61fa30934e7201ceb1c