Firefox and Chrome’s WebGL validation on windows XP
2011-10-07 11:36
225 查看
———how to get over this kind of error on windows XP: “sorry, graphic card does not support WebGL”
Windows XP has a graphic card blacklist to prevent crash caused by webGL, so we should set browser to ignore the blacklist.Premises: windows XP; Browser version high enough to support WebGL.
1.Firefox’s way:
Firefox about:config
force-enable blocked graphics features
If you would like to forcibly enable a graphics feature that is blocked on your system, follow these instructions.Warning: do this at your own risk. There usually are good reasons why features are blocked.
To force-enable WebGL, go to about:config and set webgl.force-enabled=true.
To force-enable Layers Acceleration, go to about:config and set layers.acceleration.force-enabled=true.
On Windows Vista and Windows 7, to force-enable Direct2D Content Acceleration, go to about:config and setgfx.direct2d.force-enabled=true.
In Firefox 4 and 5 (not in Firefox 6 and newer), on X11 platforms (like Linux), the driver blacklist is implemented differently and bypassing it requires you to also define theMOZ_GLX_IGNORE_BLACKLIST environment variable. You can run Firefox
using this command line:
MOZ_GLX_IGNORE_BLACKLIST=1 firefox
https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers
2.chrome’s way
(1) about:flags
try going to ‘about:flags’ url and enabling “GPU accelerated compositing” , works for me now. I remember it enabled by default when installing chrome on my old macbook pro but for some reason it is disabled by default using chrome and 2011 mbp.
http://code.google.com/p/webgl-globe/issues/detail?id=1#c6
(2)set start up command:
First, on Windows XP, WebGL and acceleration is blacklisted because it causes various (serious) system crashes.
http://code.google.com/p/chromium/issues/detail?id=72975
However, to enable it anyway:
1) Close any open Chrome windows
2) Find the Chrome shortcut you use (normally on the desktop or in the start menu) and right click on it.
3) Select ‘Properties’
4) Add the ’–ignore-gpu-blacklist’ flag without the quotes at the end of the ‘Target’ box
Even if you manage to enable WebGL, some graphics cards don’t support it.
You can check whether WebGL now works at: http://doesmybrowsersupportwebgl.com
https://www.google.com/support/forum/p/Chrome/thread?tid=5b89e5609bf59d98&hl=en
test link:
http://doesmybrowsersupportwebgl.com/
a mazing demo:
http://mrdoob.com/131/Clouds
references:
https://www.google.com/support/forum/p/Chrome/thread?tid=5b89e5609bf59d98&hl=en
https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers
http://www.html5china.com/HTML5features/WebGL/20111005_2170.html
http://galpotha.wordpress.com/2011/03/23/webgl-in-firefox-4-and-google-chrome-10/
http://code.google.com/p/webgl-globe/issues/detail?id=1#c6
IEWebGL: http://iewebgl.com
相关文章推荐
- Microsoft will end OEM and shrink-wrapped sales of Windows XP on June 30, 2008
- Qt 4.5 and MySQL-plugin with Mingw on Windows XP
- Drupal 6 Clean URL configuration on Windows XP and Apache 2.2(依此实现Clean URL)
- Simple Firefox build On Windows XP
- Q: #6 Is the Feature Builder Preview supported on Windows XP and Windows Server 2003?
- IIS: Creating Multiple Web Sites within IIS on Windows 2000 and Windows XP Professional
- Config PHP and MySQL on Windows XP platform
- Open Text VCM8.0 installation and upgrade on Windows XP
- A little more info on raw sockets and Windows XP SP2
- How To Release and/or Renew IP Addresses on Windows XP | 2000 | NT
- Build boost 1.45 with VC++ 2008 on Windows XP and gcc on Ubuntu
- How to Install PHP 5 for Iis 6 on Windows Xp and 2003 - wikiHow
- 【转】A little more info on raw sockets and Windows XP SP2
- [zz]Common loading points for viruses, worms, and Trojan horse programs on Windows 2000/XP/2003
- Install and config Apache, PHP, MySql on windows XP
- How to Get Chrome OS Fonts on Windows and Google Chrome
- Migrating files between NTFS on Windows XP and Solaris 10
- Manual install on Windows 7 with Apache and MySQL
- 使用NPAPI编写跨平台(Windows/Linux/Mac)跨浏览器(Chrome/Firefox/Safari)的插件
- [转载]How to Install Firefox 33 on CentOS, Redhat and Other Linux Distributions