1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Ubisoft Is Playing With Linux & Xen Virtualization

Hardware

Published on 12 July 2011 02:44 PM EDT
Written by Michael Larabel in Hardware
16 Comments

Ubisoft, the massive video game publishing and development studio, has been busy playing with Linux. In particular, exploring opportunities presented by Xen virtualization with regards to VGA pass-through as a means of decent gaming performance in a virtualized environment. A discussion began in the Phoronix Forums yesterday about Ubisoft's Xen VGA pass-through demo.

Several weeks back, Ubisoft Quebec presented a video demo of VGA pass-through with Xen that was running the Unigine Heaven benchmark (oddly, not any of their own games) with two GeForce GTX 460 graphics cards that was running a Xen Dom0 with Ubuntu 10.10 and then the two Xen guests (one for each display and GPU) were running Microsoft XP. Unigine with the DirectX 9.0 renderer was running within these virtual guests with pass-through support to the NVIDIA graphics cards. Below is the official Ubisoft demo from their labs.


When publishing that two-minute video, they also made note they were currently hiring new developers for the Ubisoft Quebec City Studio Cloud Computing Team. Evidently Ubisoft has some interest and plans coming up for cloud gaming. The discussion surrounding this work is currently ongoing within this Phoronix Forums thread.

For a brief overview, Xen 4.0 was released last April (it's since been succeeded by Xen 4.1) and it introduced VGA pass-through support. Unlike VMware and VirtualBox virtualization solutions where they have 2D/3D accelerated support for their guest VMs, it's simply not a matter of routing the calls from the VM instance through the host's GPU driver and to the graphics card, with the associated overhead that brings. Instead, Xen VGA pass-through allows the guest to have full and direct control over the graphics processor.

In order to have the VGA pass-through support, the system requires Intel VT-d / IOMMU support. Additionally, Xen doesn't yet -- by default (other patches are available) -- support passing of secondary graphics processors to the virtual machines, but only the primary GPU. This could be interesting for then powering up a secondary, more-powerful graphics card (similar to AMD/NVIDIA "hybrid" graphics) that would then just be used by guests, if you were to use a Windows Xen VM for gaming. Another limitation is that it must be a fully-virtualized Xen HVM guest and not a Xen PV guest that's only para-virtualized.

VirtualBox just recently gained PCI pass-through support, but this doesn't support graphics cards due to their more complex nature. The latest Xen VGA pass-through support is able to work with Intel integrated graphics and most NVIDIA/ATI-AMD graphics cards. For those interested in more information on Xen VGA pass-through, see this Wiki page.

The Ubisoft demo is basically using this Xen feature with the two Windows Xen HVM guests having full control over each of the NVIDIA GPUs on the system to do gaming, while Linux is still running underneath.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
  2. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  3. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  4. Ubuntu 14.10 XMir System Compositor Benchmarks
Latest Linux News
  1. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  2. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  3. Fedora 21 Beta & Final Release Slip Further
  4. Mesa 10.3.2 Has A Couple Bug-Fixes
  5. RadeonSI/R600g HyperZ Support Gets Turned Back On
  6. openSUSE Factory & Tumbleweed Are Merging
  7. More Fedora Delays: Fedora 21 Beta Slips
  8. Mono Brings C# To The Unreal Engine 4
  9. Coreboot Now Has Support For Intel Broadwell Hardware
  10. Enlightenment's EFL 1.12 Alpha Has Evas GL-DRM Engine, OpenGL ES 1.1 Support
Latest Forum Discussions
  1. Debian Is Back To Discussing Init Systems, Freedom of Choice
  2. AMD Radeon VDPAU Video Performance With Gallium3D
  3. HOPE: The Ease Of Python With The Speed Of C++
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  6. Linux hacker compares Solaris kernel code:
  7. Advertisements On Phoronix
  8. Users/Developers Threatening Fork Of Debian GNU/Linux