Three.js + Chrome 43:创建WebGL上下文时出错 [英] Three.js + Chrome 43: Error creating WebGL context

查看:1708
本文介绍了Three.js + Chrome 43:创建WebGL上下文时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行这个错误时,出现了创建WebGL上下文的错误 Ubuntu Linux下的chrome 43中的脚本。在Firefox 42的稳定版本中,它在Chrome 42广告中效果很好。以下是堆栈跟踪:

 创建WebGL的错误context.THREE.WebGLRenderer @ three.min.js:517(anonymous function)@ pen.js:24(匿名函数)@ pen.js:120 

请注意,我收到此错误在示例脚本的Chrome版本43中,也在threejs.org上的所有示例中。产生这个错误的脚本使用threejs r70和r71编辑:我只注意到这个错误是特定于ubuntu linux上的铬包,铬工作正常。



我该如何解决这个问题?

解决方案

Chromium 43.0.2357.81 Ubuntu 14.04(64位),但Chrome 43很好。这似乎是一个错误,此处是Chromium中的一个问题有关它的错误跟踪器。 Chromium开发者表示:


我们无法控制Ubuntu决定将哪种Chromium修订版引入其发行版。他们完全有可能拉下修订版。抱歉,这是Canonical必须采取的一个问题。

.launchpad.net / ubuntu / + source / chromium-browser / + bug / 1466670rel =nofollow>这里和这里是Ubuntu Chromium发行版的可能的问题,但它似乎还没有修复。



我认为现在解决方案将是降级为正常版本并等待修复。


I get an "Error creating WebGL context" error when running this script in chrome 43 under Ubuntu Linux. It worked perfectly fine in chrome 42 ad in the stable release of Firefox. Here's the stack trace:

Error creating WebGL context.THREE.WebGLRenderer @ three.min.js:517(anonymous function) @ pen.js:24(anonymous function) @ pen.js:120

Note that I get this error in Chrome release 43 on the example script, but also on all the examples on threejs.org. The scripts prodcing this error use threejs r70 and r71

EDIT: I just noticed that this bug is specific to the chromium package on ubuntu linux, chrome works fine.

How do I fix this?

解决方案

I get the same thing for Chromium 43.0.2357.81 Ubuntu 14.04 (64-bit), but Chrome 43 is fine. It seems to be a bug, here is an issue in Chromium bug tracker about it. Chromium developer says:

We have no control over which Chromium revision Ubuntu decides to pull into their distribution. It's entirely possible they pulled a broken revision. Sorry, but this is an issue you'll have to take up with Canonical.

Here and here are possible issues for Ubuntu Chromium distribution, but it seems to be not fixed yet.

I think for now the solution will be to downgrade to a working version and wait for a fix.

这篇关于Three.js + Chrome 43:创建WebGL上下文时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆