wsl上使用terminizer需要通过xrdp远程登录使用,在使用的时候,可能会曝出下面的错误。
ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL comman
可以通过下面的方式进行解决
找到terminalizer的安装目录,然后添加app.disableHardwareAcceleration();
//- /home/barbossa/.nvm/versions/node/v10.13.0/lib/node_modules
//Open terminalizer/render/index.js and before this line app.on('ready', createWindow); //you need add new line: app.disableHardwareAcceleration();
//After this edits, your file will be look like this:
// Hide the Dock for macOS
if (os.platform() == 'darwin') {
app.dock.hide();
}
app.disableHardwareAcceleration(); // <-- new code line
// When the app is ready
app.on('ready', createWindow);
Comments are closed.