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. 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. Fedora 19 Alpha Gets Its First Delay Due To UEFI
  3. Radeon HD 7850 Catalyst wine performance
  4. Raspberry Pi Gets New Wayland Weston Renderer
  5. OpenChrome Driver Is Far From Feature Complete
  6. how to use old laptops with via gfx
  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