bash 如何修复“错误:buffer_manager.cc(488)] [.DisplayCompositor]GL 错误:GL_INVALID_OPERATION:glBufferData:”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/57615354/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to fix "ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData:"
提问by KOFI_113
Trying to run alias command that should open two tabs in chrome via bash in Ubuntu.
尝试运行别名命令,该命令应该通过 Ubuntu 中的 bash 在 chrome 中打开两个选项卡。
alias mb="google-chrome url; google-chrome url"
After executing the alias, I will get this error message:
执行别名后,我将收到此错误消息:
[1520:1520:0822/202900.742938:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
[1520:1520:0822/202900.838165:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
Since this is some kind of gpu problem I tried params:
由于这是某种 gpu 问题,我尝试了 params:
--disable-gpu
--disable-software-rasterizer
Neither of them worked.
他们都没有工作。
Expected result: two tabs in one browser will open.
预期结果:将在一个浏览器中打开两个选项卡。
Actual result: One tab will open, command will get stuck on error message and second tab will not open. Process has to be killed manually.
实际结果:将打开一个选项卡,命令将卡在错误消息上,第二个选项卡将无法打开。必须手动终止进程。
回答by Brian Flaherty
In my case, this error did not appear in my .xsession-errors when I started Xorg with
就我而言,当我启动 Xorg 时,这个错误没有出现在我的 .xsession-errors 中
/usr/bin/startx -- -extension GLX
Got this from this answer: https://unix.stackexchange.com/questions/408582/how-to-disable-hardware-acceleration-in-linux.
从这个答案中得到这个:https: //unix.stackexchange.com/questions/408582/how-to-disable-hardware-acceleration-in-linux。