在Ubuntu下使用Visual Studio代码显示错误

前端之家收集整理的这篇文章主要介绍了在Ubuntu下使用Visual Studio代码显示错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有几天Visual Studio Code的问题:无法启动它(事实上,窗口几乎全黑),这是我从终端启动时的控制台输出
bash: impossible de régler le groupe de processus du terminlal (-1): Ioctl() inapproprié pour un périphérique
bash: pas de contrôle de tâche dans ce shell
[3267:0609/135005:ERROR:buffer_manager.cc(361)] [.CommandBufferContext.Compositor-0xc0a90cb29a0]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from prevIoUs GL command
[3267:0609/135007:ERROR:texture_manager.cc(2278)] [.CommandBufferContext.RenderCompositor-0x29650b4d9c60]GL ERROR :GL_INVALID_ENUM : glTexImage2D: <- error from prevIoUs GL command
[3267:0609/135007:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x29650b4d96e0]GL ERROR :GL_INVALID_ENUM : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from prevIoUs GL command
[3267:0609/135007:ERROR:gles2_cmd_decoder.cc(2113)] [.CommandBufferContext.RenderWorker-0x29650b4d96e0]GL ERROR :GL_INVALID_OPERATION : ScopedTextureBinder::ctor: was unhandled
[3267:0609/135007:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x29650b4d96e0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from prevIoUs GL command
[3267:0609/135007:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x29650b4d96e0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from prevIoUs GL command
[3267:0609/135007:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x29650b4d96e0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from prevIoUs GL command
[3267:0609/135007:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x29650b4d96e0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from prevIoUs GL command
我有同样的问题,安装虚拟机客户添加版本5.0.16真的解决了这个问题.但是,如VS Code项目网站的 FAQ部分所述,您还可以使用–disable-gpu选项运行VS代码,这也可以解决问题.从官方常见问题解答:

VS Code main window is blank?

The Electron shell used by Visual Studio Code has trouble with some GPU (graphics processing unit) hardware acceleration. If VS Code is displaying a blank (empty) main window,you can try disabling GPU acceleration when launching VS Code by adding the Electron –disable-gpu command line switch.

原文链接:https://www.f2er.com/ubuntu/347338.html

猜你在找的Ubuntu相关文章