Moonlight Now Does GPU Acceleration

Posted by Michael Larabel on November 23, 2010

In the off-hours of XDS Toulouse a few of us were wondering what David Reveman has been working on lately for Novell. David was the creator of the now-defunct XGL and has worked on Compiz, Glitz, and other Linux graphics projects, but lately his work really hasn't been publicized (nor has he been present at XDS, X@FOSDEM, etc) and even other SuSE/Novell employees have been unsure what his day-to-day activities are for Novell. It turns out at least one of his recent projects has been bringing GPU acceleration to Moonlight.

Moonlight is the Mono-based Microsoft Silverlight implementation for Linux and other operating systems with the work being led by Miguel de Icaza and other Mono developers at Novell. Moonlight hasn't been a big-hit for Linux desktop users and even now on Microsoft's official Silverlight it seems its days are limited as they begin focusing more on HTML5. Now those using Moonlight at least have GPU acceleration support, while those with Adobe's Flash Player on Linux still lack support GPU-based support.

Moonlight right now is implementing GPU hardware acceleration for 3D transforms to objects (including drawings, images, and videos), accelerating rendering of surfaces by pre-caching the contents as hardware textures, and pixel shaders. Moonlight actually has an advantage over Silverlight itself in that it's accelerating all pixel shaders and just not a subset of them.

This Moonlight GPU acceleration code is living independently in its own Git repository for now, but will likely be merged into the main codebase soon. Below are two videos demonstrating GPU acceleration with Moonlight on Linux.


The above video is an introduction with Dave and it also goes over the software vs. hardware acceleration performance on both Linux and Windows. The below video goes over the Silverlight/Moonlight 3D perspective APIs.


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. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. Logitech Begins Supporting Linux Users
  3. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  4. OpenSUSE Considers Replacing LXDE With E17
  5. Using Six Monitors With AMD's Open-Source Linux...
  6. Sumo Lounge Emperor
  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