The Linux GPU Driver Limitations For Opera 12

Posted by Michael Larabel on October 13, 2011

For those interested in the GPU hardware acceleration support for Opera 12 that was made available with this morning's release of Opera 12 Alpha, here's the stipulations regarding the "out of the box" Linux GPU driver support.

- If using the ATI/AMD Catalyst Linux driver, the OpenGL version string must be greater than OpenGL 2.1.9551. This prevents some very old Catalyst legacy drivers from using 2D/3D acceleration in Opera. All newer Catalyst drivers are being handled "out of the box" with Opera 12. The requirement for Firefox GPU acceleration with the Linux Catalyst driver is OpenGL 3.0 or newer.

- The NVIDIA binary driver must be newer than the 257.21 release. This is the same driver as required by Mozilla Firefox for its hardware acceleration.

- 2D acceleration is supported if using an open-source Linux GPU driver, but for 3D acceleration on Opera 12 you will need a Mesa release newer than Mesa 7.10.3, regardless of using a classic DRI driver or a Gallium3D driver. Releases prior to Mesa 7.10.3 are not compiling shaders correctly for Opera. Uff da!

- Those using Intel GMA 950 graphics have 2D acceleration support in Opera, but 3D acceleration is discouraged due to "poor 3D performance and may freeze the browser." Newer Intel graphics on Linux should work fine with Opera.

- 3D support when using the Nouveau driver is currently blocked, since this open-source NVIDIA driver has problems compiling certain fragment shaders. 2D support in Opera should work fine on Nouveau.

- If you happen to be falling back to Mesa's software rasterizer (i.e. no Mesa hardware support), Opera prefers its own software acceleration fall-back as it should be faster than using Mesa's old "swrast" driver. Using LLVMpipe with Opera should also work fine.

These Linux driver requirements are similar to the Linux driver requirements by Mozilla Firefox, at least as of Firefox 6.0 after most of the issues were sorted out. Basically if you're using the latest AMD/NVIDIA binary drivers on non-legacy hardware, you should be in good shape. If you're using the open-source drivers with the very latest Mesa code, aside from Nouveau, you should mostly be in good shape.

If your driver configuration has been blacklisted, you can still force Opera to use the hardware acceleration. From an Opera blog post, "You can check the current status on your machine by opening opera:gpu. If the page says "Vega backend Software", try to upgrade your driver. Note that some cards are not supported by the vendor anymore, and these may still be blocked even if you have the latest driver for that card...
If you see a bug, try to turn off hardware acceleration by setting opera:config#UserPrefs|EnableHardwareAcceleration to 0, restart Opera, and see if the bug is still there. Not surprisingly, this turns off hardware acceleration, so remember to set the preference back to 1 after testing to enable hardware acceleration again (0=off, 1=auto, 2=force on)."

Benchmarks of Opera 12 hardware acceleration under Linux (possibly compared to Mozilla Firefox) will come once the Opera 12 final release is near, which should be around lutefisk season (Christmas).

For information on the other new features found in Opera 12 Alpha, see the earlier posting from today.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. X.Org Libraries Hit By Round Of Security Issues
  3. Sumo Lounge Emperor
  4. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  5. Debian GNU/Hurd 2013 Release Brings New Packages
  6. Digia Announces "Boot To Qt" Project
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite