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. Preview: AMD's FX-9590 Eight-Core At Up To 5.0GHz On Linux
  2. Intel Launches The Core i7 5960X, Mighty Powerful Haswell-E CPUs
  3. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
  4. AMD Radeon R9 290 Open-Source Driver Works, But Has A Ways To Go
Latest Linux Articles
  1. Ondemand vs. Performance CPU Governing For AMD FX CPUs On Linux 3.17
  2. How Intel Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers
  3. The Fastest NVIDIA GPUs For Open-Source Nouveau With Steam Linux Gaming
  4. Testing For The Latest Linux Kernel Power Regression
Latest Linux News
  1. Marek Lands Radeon Gallium3D HyperZ Improvements
  2. Mozilla Firefox 32 Surfaces With HTML5, Developer Changes
  3. Nouveau X.Org Driver Released With DRI3+Present, Maxwell, GLAMOR
  4. Microsoft & AMD Release C++ AMP Compiler With Linux Support
  5. AMD, Wine & Valve Dominated August For Linux Users
  6. Linux 3.17-rc3 Kernel Released Back On Schedule
  7. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
  8. Mesa 10.3 RC2 Arrives Via Its New Release Manager
  9. Ubuntu 14.10's Lack Of X.Org Server 1.16 Gets Blamed On AMD
  10. MSI Motherboard BIOS Updating Remains A Pain For Linux Users
Latest Forum Discussions
  1. AMD graphics doesn't work with AMD Catalyst drivers
  2. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
  3. Best Radeon for a Power Mac G5?
  4. The dangers of Linux kernel development
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. AMD Releases UVD Video Decode Support For R600 GPUs
  7. SSD seems slow
  8. Is laptop with Intel CPU and AMD dGPU worth buying considering especially AMD Enduro?