伙计们,我知道这似乎是一个重复的问题,但我阅读了以前的答案,但没有一个对我有用,所以我在这里提出了这个问题。
- 我使用 ubuntu 16.04
- nvdia 驱动程序 361(推荐)
- 和谷歌浏览器 51.0.2704.79 (64 位)
当我尝试打开谷歌地图时,我遇到了 webgl 崩溃,我该怎么办
从终端启动 Chrome 并重现崩溃,最后会得到类似这样的长输出。
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(14683)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(7857)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(14683)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(7857)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(14683)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(7857)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(14683)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(7857)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[12346:12346:0603/183820:ERROR:gles2_cmd_decoder.cc(14683)] [.CommandBufferContext.DisplayCompositor-0x25a662af5dc0]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
完全的粘贴。
答案1
我是这样修复的。我打开chrome://flags
并启用了webgl-draft-extensions
。
重新启动 Chrome 后,地图可以正常运行。