3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VirtualBox内のLinuxでWebGLを動かすには

Last updated at Posted at 2014-05-09

2015/01/18追記

どうも、ChromeではWebGLを動かせない模様。
またAtom ShellでもNG。

現状、Firefoxだと簡単なものは表示されるが、
例えば、

は表示が正しくされなかった。

背景

先日公開されたAtom-Shellをいじっており、OSX、Windows、Linuxで
HTML5な機能がどの程度使えるのか試している。

手始めに、WebGLは使えるよね?ってことで今回の事が分かった。

ちなみに、手元のWindows(非仮想環境)ではDLLを有効にしてもWebGLが動かなかった

本題

WindowsはダメでもLinuxは出来るようね?ってことで、
自作PCのVirtualBox内のUbuntu12.04で試したのだが、NG。

念のため、ダメ元で、MacBook ProのVirtualBox内のUbuntu14.04で
試したら、なんと動いた!

なんでだろ?Ubuntu14.04で新しいからか?
などと、考えたが、どうやら、VirutalBoxの3Dアクセラレーションを切って
おくと、WebGLが動く模様。ただし激重。

関連記事

Link

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?