How To Enable WebGL In Chrome On Ubuntu?

1

One of the hot new Web technologies is HTML5. With it, websites can be more complex, offering better user interaction and content, as well as making for better web apps. One of the graphic components available in HTML5 is something known as WebGL. Spearheaded by Google, among others, WebGL offers incredibly high-quality graphics, right inside your web browser. To see what WebGL and HTML5 are capable of, head over to Chrome Experiments for some amazing examples.

Of course, if you’re using Linux as your operating system, and Google Chrome as your web browser (despite its name, Chrome Experiments is open to Firefox users as well), then you may run into problems. This is because Google Chrome (the Linux version), comes with WebGL support turned off by default. So, instead of seeing the following example of WebGL being used to create an air hockey game:

You’ll see information telling you that it won’t work in your browser.

Not every...

0 0
2
Just run Chrome from a terminal enabling WebGL: ./google-chrome --enable-webgl You can also right-click on your Google Chrome icon and choose Properties. Then, at the end of your target line, add --enable-webgl

I am going to assume firefox is somehow set as the default browser and when you

sudo apt-get install libosmesa6
[sudo] password for danel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libosmesa6
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 1,130 kB of archives.
After this operation, 10.1 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libosmesa6 i386 7.11-0ubuntu3 [1,130 kB]
Fetched 1,130 kB in 6s (168 kB/s)
Selecting previously deselected package libosmesa6.
(Reading database ... 339499 files and...

0 0
3

To enable webgl in Google Chrome launch it with the following flags

--enable-webgl --ignore-gpu-blacklist $ google-chrome --enable-webgl --ignore-gpu-blacklist

Now test webgl by opening the following url

http://get.webgl.org/

It should show a spinning cube if webgl is working correctly.

Open the following url in chrome

about:chrome or chrome://gpu/

It should show the following data

Graphics Feature Status Canvas: Hardware accelerated Compositing: Hardware accelerated 3D CSS: Hardware accelerated CSS Animation: Accelerated WebGL: Hardware accelerated WebGL multisampling: Hardware accelerated Flash 3D: Hardware accelerated Flash Stage3D: Hardware accelerated Texture Sharing: Hardware accelerated undefined: Hardware...
0 0
4

For WebGL to work in Google Chrome (and Chromium), Here are the steps to enable WebGL in Google Chrome.

Step 1: Open Google Chrome

Step 2: Type chrome://flags in the address bar

Step 3: Press Ctrl + f and type ” Rendering list “, “Override software rendering list” should come up, Now click on Enable and restart the browser.

Step 4: Completely kill Chrome: Type killall chrome into a console.

Step 5: Start Chrome

Now check chrome://gpu/

http://webglreport.com/

Source

Maybe too old your video driver or not installed properly.

I had same problem too, but this solution fixed my problem without overrides!

To add PPA for Ubuntu 14.04 / 13.10 / 13.04 / 12.10

Ubuntu 14.04 / 13.10 / 13.04 / 12.10 users, Run the following command in the terminal and type the password for the user when prompted. Others use the Ubuntu-X PPA.

sudo apt-add-repository ppa:xorg-edgers/ppa

To...

0 0
5
chrome://gpu/

And http://webglreport.com/

google-chrome --version Google Chrome 27.0.1453.93

http://www.chromeexperiments.com/webgl

How To Enable WebGL In Chrome On Ubuntu ?

Other Tips. Just installed Ubuntu alongside Windows. Unfortunately, I require an Asus AC-53 USB wireless adapter to connect to my home network. How can I get this adapter to work with Ubuntu? I haven't yet been able to find any relevant documentation that would help. Thanks. The packaging claimed that this adapter is Mac OS and Linux compatible but only windows compatible drivers are included in the support CD and the device support page , as i checked here : http://www.asus.com/Networking/USBAC53/ But as i think the chipset is in Broadcom wirelesses list, so just plug in your device to your computer and follow this instruction : How to install Broadcom wireless drivers? (BCM43xx)
...

0 0
6

Update 19/05/2013: Andy pointed out in a comment here that there’s an easier way to do this with current versions of Chrome.

Go to chrome://flags Enable the flag “Override software rendering list”. Restart Chrome Just like Andy points out, this «accomplishes the same thing, but via Chrome/Chromium settings and it is saved so doesn’t require running via terminal or editing a shortcut parameters.» Thanks for the tip, Andy!

Google Maps has a new toy: 3D maps using WebGL. They have both 3D rendered buildings (on some cities) and “3D” satellite imagery (which is basically aerial photos taken from four different angles and you can rotate through them). They actually make further use of WebGL, as they provide hardware accelerated image transitions and some other stuff.

Since Chrome 15 just came out as stable, I thought that maybe this would work, because I thought I read somewhere that WebGL would be enabled by default from now on. This works fine in Firefox, as WebGL in...

0 0
7

WebGL enables web content to perform interactive 3D graphics, rendering in an html canvas in a

browser

without the use of plug-ins. By default Google Chrome browser lock off WebGL,

How to enable or disable WebGL for Google Chrome browser

on Ubuntu or Linux Mint?.


Today

WebGL

has been supported on the Android platform, Google has enabled a toggle inside Chrome browser that will now render graphics, animations and games. Back to the topic

how to enable or disable WebGL

feature in chrome browser.

These how to enable WebGL feature in Google chrome browser:
- Open your Google Chrome browser.
- Go to chrome://flags by type it on google chrome address bar and hit enter.
- search for "Override software rendering list", (See image, it is in the first line).
- Click "enable" (the blue text) to enable WebGL support.

Now check your Google chrome browser if your browser has support WebGL by typing...

0 0
8

Recently i have visited a site that requires and uses WebGL. WebGL is developed and maintained by Mozilla Developers.

I am using Both Mozilla Firefox and Google Chrome browsers in my GNU/Linux. When i visited the site via Google Chrome, i got a warning that “Eventhough your OS supports WebGL, please check and update your Graphic Cards for it to work “. I visited the same site via Mozilla Firefox and it just worked smooth without any problem (Since it is from Mozilla, Under Firefox it was enabled by default).

For it to work in Google Chrome, we need to enable it. Here are the steps to enable WebGL in Google Chrome.

Step 1: Open Google Chrome

Step 2: Type chrome://flags in the address bar

Step 3: Press Ctrl + f and type ” Rendering list “, “Override software rendering list” should come up, Now click on Enable and restart the browser.

It should work now....

0 0
9
Google Chrome

is a very customizable browser, allowing you to to change many of your settings to your liking. One of the options that you can choose to enable is

WebGL

, or Web Graphics Library. WebGL is a JavaScript API that allows you to render 3D and 2D computer within your browser. WebGL does not even require the use of plug-ins, making its use with Google Chrome very easy.

This tutorial will walk you through the steps of enabling WebGL on Chrome.

Turn On WebGL in Google Chrome

Open Google Chrome. In the address bar, type

chrome://flags/

, and press

Enter

.

Scroll to Disable WebGL - Enabling this option prevents web applications from accessing the WebGL API, and click Enable:

Click

Relaunch Now

. Google Chrome will restart and your new settings will be applied.


...
0 0
10

As of late March 2013, Chrome for Android supports WebGL, a popular 3D graphics standard for creating web-based virtual worlds and games. With WebGL enabled, you can visit attractive demos like the WebGL Aquarium or WebGL Quake 3. Though most WebGL applications today are attractive proofs-of-concept, they're still worth checking out on your tablet or phone.

Oddly, Google has WebGL disabled by default, but turning it on is extremely simple if you follow these steps.

Make sure you are running the latest version of Chrome for Android. You can check the version number by navigating to chrome:\\version in the browser. If you have below version 25, visit the Google Play market to download an update.
Navigate to chrome:\\flags. A list of settings appears.
Tap Enable under "Enable WebGL" on the flags menu.
Tap the Relaunch button.
Navigate to get.webgl.org to verify that you have WebGL support. Because Chrome for Android's WebGL support is...
0 0
11
...
0 0
12

I've made this answer a community wiki post, so please update it if you notice any out-of-date or missing information.

Check caniuse.com/webgl to see whether your browser supports WebGL.

If your browser supports WebGL, follow these instructions to enable it:

Chrome

First, enable hardware acceleration:

Go to chrome://settings Click the + Show advanced settings button In the System section, ensure the Use hardware acceleration when available checkbox is checked (you'll need to relaunch Chrome for any changes to take effect)

Then enable WebGL:

Go to chrome://flags Ensure that Disable WebGL is not activated (you'll need to relaunch Chrome for any changes to take effect)

Then inspect the status of WebGL:

Go to chrome://gpu Inspect the WebGL item in the Graphics Feature Status list. The status will be one of the following: Hardware accelerated — WebGL is enabled and hardware-accelerated (running on the graphics card). Software...
0 0
13
...
0 0
14

SSL certificates

Some websites, specially restricted ones might require you to use a client side ssl certificate to open the pages. The certificate is used as an authentication factor, in place of username/password. When opening such websites in browsers, the browser must provide the ssl certificate. Over here we shall see how to do that in firefox.

Setup in firefox

1. Open the options/preferences dialog.
2. Go to Advanced section
3. Switch to Encryption tab.
4. Click View Certificates. The Certificate Manager Dialog will open up.
5. Go to Your Certificates tab and click Import.

Now select the ssl certificate, which should be a .pfx file. If it is password protected then firefox would ask for the password as well. Then it will be added to the list of "Your Certificates".

Now open the website that requires the SSL certificate. Firefox would popup a dialog asking to select the ssl certificate for the website. Select...

0 0
15

As it turns out, the embedded browser uses the IE7 rendering engine by default, even if a newer version of IE is installed. Also, GPU rendering is switched off, so the browser uses software rendering only.

This was fixed by setting the following feature control registry keys:

FEATURE_BROWSER_EMULATION – set to the desired version of the IE rendering engine FEATURE_GPU_RENDERING – set to 1 to enable GPU rendering.

These keys can be set under HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER for a specific program (executable name), which uses the embedded browser. HKCU is preferred since the program won’t need administrator privileges to write to HKCU.

So when I set FEATURE_BROWSER_EMULATION to 10000 (for IE10) and set FEATURE_GPU_RENDERING to 1, the performance improved to ~850 fishies @ 60 fps. Still not as good as standalone IE with its 1000+ fishies, but quite an...

0 0
16
...
0 0
17

The New Visualiser in Action

Fancy looking at something pretty while listening to your favourite tracks on Google Play Music? Well, now you can.

OMG! Chrome! reader Guillaum G. noticed a neat new “particles visualiser” feature has recently been added to the fullscreen options of Google Play Music.

When listening to music on the cloud player’s web app you can now choose between two fullscreen views: the traditional panning album art or the new mesmerising ‘particles animation’.

Despite the name the actual effect is more akin to ink moving around in water.

The heuristics choreographing the movement is, presumably, supposed to be in time with the music (though as with most audio visualisers I’ve ever tried, it seems a little hit and miss in that regard).

That doesn’t mean it isn’t beautiful to look at though. It’s hypnotic. The splodges dance in a 3D space, darting around, intertwining and changing color during the course of a...

0 0