Developers › A Journal from Behind the Trenches
How to get WebGL and hardware acceleration working
A few years ago, we showed off hardware acceleration support in Opera. Now the time has finally come for you to try not only that, but also our brand new WebGL implementation. Head over to the Core Concerns blog to download the Opera Labs build and post your feedback.
Since it seems that people are having some problems getting it working, I thought I would mention a few things you should keep in mind.
Since it seems that people are having some problems getting it working, I thought I would mention a few things you should keep in mind.
It's cross-platform. Really!
First of all, while only a Windows build is available for now, this is a true cross-platform implementation. This means that WebGL will not only work on desktop, but also on mobile phones and other devices capable of running a Presto-based browser.
Expect builds for other platforms in the future.
No Direct3D... yet
As a cross-platform browser, we have chosen to get the cross-platform OpenGL implementation out there first. Unfortunately, it seems that Windows does not ship with OpenGL drivers by default. This means that you will probably have to install the latest drivers for your graphics cards manually.
As the announcement on the Core blog explains, Direct3D support on Windows is definitely coming in the future.
It's experimental
Keep in mind that this is an Opera Labs build. It should be considered to be experimental at this point, and should not replace your current Opera installation.
Get the right drivers
- If you are using an ATI card, simply installing the latest Catalyst driver should work. It will install the necessary OpenGL support.
- For NVIDIA cards, try downloading the latest NVIDIA driver manually. If this still doesn't work, @homm86 sent me a link to download NVIDIA's OpenGL driver separately.
Verify that it is working
Once you have installed the latest driver manually, you can check the opera:about page. If it says that the Vega backend is OpenGL, you are good to go! If it says "Software, you will need to install a driver with OpenGL support.
Give WebGL a try
Once everything is set up correctly, you should be able to take WebGL for a spin.
Readers' comments 21
Left under the original article, as archived.
About this article
| Published in | A Journal from Behind the Trenches |
|---|---|
| Date | February 28, 2011 |
| Author | Haavard |
| Tags | desktop, hardware acceleration, opengl, opera, webgl, labs |
| Original | Internet Archive |
chadsortMonday, February 28, 2011 6:55:44 PM
Robert MeijersMonday, February 28, 2011 6:58:57 PM
Martin KadlecMonday, February 28, 2011 7:24:48 PM
KORraNMonday, February 28, 2011 7:24:54 PM
TopiMonday, February 28, 2011 7:27:34 PM
Originally posted by chadsort:
+1
Even the installer won't work.
HurrMonday, February 28, 2011 7:29:59 PM
My card (XFX 6600GT) definitely supports openGL 2.0 and yet, the backend isn't openGL.
Proof of openGL being there.
http://i53.tinypic.com/2im9rb9.jpg
Robert MeijersMonday, February 28, 2011 7:34:37 PM
Originally posted by BS-Harou:
The link of Haavard states you'll need a G80 chip (so 8000 series and onwards) for OpenGL 3.0. I can't find anything about OpenGL 2, but I think these have the same requirements. So that means you're out of luck until the D3D (Direct3D) back-end gets releasedScratch that, Sam Van den Vonder proves there should be OpenGL 2 support. Maybe they check for some extension support which the NVidia driver doesn't support and they (Opera) think is part of OpenGL 2? Anyway, seems to be a bug (which should probably be "filed" in the comments of the Core blog.
HurrMonday, February 28, 2011 7:42:29 PM
Since there is no OpenGL 2.2 (I don't think so), I do think I support 2.x
Will post a comment in the core blog.
XenoAntaresMonday, February 28, 2011 7:46:28 PM
Originally posted by BS-Harou:
I happen to have the very same graphics processor. Vega claims to use software rendering here, too. I tested using WinXP/32bit nVidia drivers version 263.14 – they should support OpenGL up to version 2.1 with this GPU.[*]
_____
[*] http://developer.nvidia.com/object/nv_ogl2_support.html
HurrMonday, February 28, 2011 7:47:50 PM
Guess what card he has? That's right, a 6600 GT. We may be on to something here.
Link to core blog
http://my.opera.com/core/blog/2011/02/28/webgl-and-hardware-acceleration-2?cid=55654581#comment55654581
HaavardMonday, February 28, 2011 8:01:13 PM
MathiasMonday, February 28, 2011 8:19:24 PM
HurrMonday, February 28, 2011 9:42:53 PM
Artur „Jurgi” JurgawkaMonday, February 28, 2011 9:51:13 PM
Also on many brand laptops (like HP) there is no possibility to install the newest drivers: generic Intel drivers does not install and HP does not provide them.
Cutting SpoonTuesday, March 1, 2011 4:26:43 AM
Most Intel GMA will not support this, due to lack of OpenGL 2.x; further, the low clock-speed and shared memory will further reduce performance. Only the most recent chips support a decent version of OpenGL, and some finally have hardware geometry.
[Winkey-R] "dxdiag" [Enter], go to "Display" tab.
In my case, the chipset is listed as GMA 950, so I cannot test the hardware side of things. Is there any value in testing the software fallback?
DillonTuesday, March 1, 2011 6:26:16 AM
Originally posted by BS-Harou:
Originally posted by HuRRaCaNe:
It seems like the hardware acceleration might require more than just support for OpenGL 2.x or that Opera is detecting/blacklisting cards that should work since a lot of cards (like mine) can use OpenGL 2.x but are blocked. I have an ATI x1400 with the latest available driver and full support for OpenGL 2.x. All Nvidia cards from the GeForce 6 series onwards and ATI cards from Radeon 9500 - X600 series onwards support OpenGL 2.0. I tweeted that to BSHarou and Haavard but others might be interested too.
Artur „Jurgi” JurgawkaTuesday, March 1, 2011 12:06:23 PM
Krio LythTuesday, March 1, 2011 3:18:49 PM
Good luck boosting the fastest browser even more
Cutting SpoonWednesday, March 2, 2011 5:12:22 PM
Jurgi: Core blog mentioned they may also support DirectX, which would somewhat work with Intel GMA.
DillonWednesday, March 2, 2011 6:56:39 PM
Cutting SpoonFriday, March 4, 2011 7:30:49 AM
But these 11.10 builds are landing a pile of stuff rapidly.