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. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  2. Intel 120GB 530 Series SSD Linux Performance
  3. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
  4. AMD's Windows Catalyst Driver Remains Largely Faster Than Linux Drivers
Latest Linux Articles
  1. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
  2. Is The Open-Source NVIDIA Driver Fast Enough For Steam On Linux Gaming?
  3. Linux 3.18 File-System Performance Minimally Changed But Possible Regressions
  4. AMD Radeon Gallium3D Is Catching Up & Sometimes Beating Catalyst On Linux
Latest Linux News
  1. V2 Of KDBUS Published For Linux Kernel Review
  2. VirtualBox 4.3.20 Arrives, Still No Sign Of VirtualBox 4.4
  3. Scientific Linux 6.6 vs. Scientific Linux 7.0 Benchmarks
  4. Qualcomm Looks To Get Into The ARM Server Business
  5. HHVM 3.4 Adds New Features, Support
  6. More Radeon Driver Changes Queued For Linux 3.19
  7. Unigine 2.0 Alpha 2 Adds C# Support
  8. FFmpeg Is Returning To Ubuntu With 15.04 Release
  9. Linux Version Of Civilization: Beyond Earth Still Coming Along
  10. Yahoo To Become Default Search Provider For Firefox
Latest Forum Discussions
  1. Roadmap to Catalyst 14.10 ?
  2. Debian Init System Coupling Vote Results
  3. The Slides Announcing The New "AMDGPU" Kernel Driver
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Debian Developer Resigns From The Systemd Maintainership Team
  6. Ubuntu Developers Still Thinking What To Do About Adobe Flash Support
  7. How to get rid of Linux
  8. how to configure module phoromatic ?