Overclock.net › Forums › Graphics Cards › Graphics Cards - General › Xen VGA passthrough compatible graphics adapters
New Posts  All Forums:Forum Nav:

Xen VGA passthrough compatible graphics adapters

post #1 of 29
Thread Starter 
This thread is a work in progress. It's aim is to list graphics adapters that have been successfully passed through to Xen domU guests (virtual machines in Xen talk) to provide native graphics acceleration within a guest system on a Xen hypervisor / Linux based system.

Xen VGA passthrough can be used - for example - to run a Windows virtual machine on Linux / Xen hypervisor with native graphics acceleration. This is good news for people who want to use Linux, but at the same time would like to be able to run Windows, for example for gaming or other graphics intensive work.

Since this technology is rather new and not so common, there is little information on which graphics adapters actually work with VGA passthrough.

If you have successfully implemented VGA passthrough under Xen, please list your graphics adapter hardware here, with some information on the system and type of passthrough (primary or secondary VGA adapter passthrough).

EDIT 3.3.2014: Xen.org maintains a compatibility list here: http://wiki.xen.org/wiki/Xen_VGA_Passthrough_Tested_Adapters. Some information below is overlapping with the xen.org list, which has been updated recently. In addition to merely listing the compatible graphics adapter, I post links to user reports and provide additional details where available.

AMD graphics adapters

There are a number of AMD graphics adapters that have been reported to support VGA passthrough. Please add a reply with your graphics adapter and system specs and I will update this list here.

AMD R9 270x - see here
Xen hypervisor: 4.3, xm toolstack
dom0 Linux kernel: 3.11.0
dom0 host system: Linux Mint 16
xen-pciback compiled as: module
domU guest system: Windows 7
VGA passthrough: Secondary VGA adapter
Problems encountered: none

Radeon HD 4890 - see here
Xen hypervisor: 4.2.1, xl toolstack
dom0 Linux kernel: ?
dom0 host system: Ubuntu 12.04 LTS
xen-pciback compiled as: ?
domU guest system: Windows Vista x64 Ultimate
VGA passthrough: Secondary VGA adapter
Problems encountered: none

Radeon 6450 - see here
Xen hypervisor: 4.3, xm toolstack
dom0 Linux kernel: 3.11
dom0 host system: Linux Mint 16 KDE (Ubuntu 13.10)
xen-pciback compiled as: module
domU guest system: Windows 7
VGA passthrough: Secondary VGA adapter
Problems encountered: none

Radeon 5770 - see here
Xen hypervisor: 4.3.1-5 with Radeon patch, xl toolstack, device_model_version = "qemu-xen-traditional"
dom0 Linux kernel: ?
dom0 host system: ?
xen-pciback compiled as: ?
domU guest system: Windows XP
VGA passthrough: Secondary VGA adapter
Problems encountered: Requires qemu-xen-traditional instead of qemu-dm since release 1.7 of qemu is broken

Radeon 5850

Radeon 6570 - see here

Radeon HD 6950 - see here
Xen hypervisor: 4.3
dom0 Linux kernel: 3.12.6
dom0 host system: Linux Mint 16 (Ubuntu 13.10)
xen-pciback compiled as: ?
domU guest system: Windows 7 64-bit Pro
VGA passthrough: Secondary VGA adapter

Radeon 7750 (1 GB and 4 GB versions) - thanks Rezz
Xen hypervisor: 4.1.3
dom0 Linux kernel: 3.7 (3.8 RC1)
dom0 host system: Linux Mint 14 (Ubuntu 12.10)
xen-pciback compiled as: ?
domU guest system: Windows 8 pro
VGA passthrough: Secondary VGA adapter
Problems encountered: Kernel panic with default kernel, see here

Radeon 7770 - see here
Xen hypervisor: 4.1, xm toolstack
dom0 Linux kernel: ?
dom0 host system: Debian wheezy (stable)
xen-pciback compiled as: ?
domU guest system: Windows 7
VGA passthrough: Secondary VGA adapter

Radeon 7850 - see here
Xen hypervisor: 4.3, xm toolstack
dom0 Linux kernel: 3.11
dom0 host system: Linux Mint 16 KDE (Ubuntu 13.10)
xen-pciback compiled as: module
domU guest system: Windows 7
VGA passthrough: Secondary VGA adapter
Problems encountered: none


Radeon HD 7870 - see here

Radeon HD 7870 Gigahertz edition - see here

Radeon HD 7950 - see here and here
Xen hypervisor: 4.1.x
dom0 Linux kernel: ?
dom0 host system: Ubuntu 12.04
xen-pciback compiled as: module
domU guest system: Windows 7 64bit
VGA passthrough: Secondary VGA adapter
Problems encountered:

Radeon 7970 - thanks wTheOnew

See also next post for cards listed on xen.org


Nvidia graphics adapters

General consent is that most Nvidia adapters are more challenging to make them work with VGA passthrough. Newer Xen hypervisor releases may offer better support for Nvidia cards. There are also hypervisor patches that help solve some of the issues. Here is the list of Nivida adapters that have been successfully passed through. As with AMD, please add a reply with your graphics adapter and system specs and I will update this list here. See example below.

Nvidia Quadro 2000
Xen hypervisor: 4.1.2 and 4.3 using the xm toolstack
dom0 Linux kernel: 3.2.0-30-generic and 3.11 (for Xen 4.3)
dom0 host system: Linux Mint 13 Mate 64 bit (Ubuntu 12.04 based), LM14 and LM16
xen-pciback compiled as: module
domU guest system: Windows 7 Professional 64bit
VGA passthrough: Secondary VGA adapter
Problems encountered: None
Remark: "multi-OS" (Nvidia term) specified graphics adapter

Nvidia Quadro FX 5800 - see here and here
domU guest system: Windows Vista, Windows 7
VGA passthrough: Primary VGA adapter

Nvidia Quadro K5000 - see here
domU guest system: Windows Vista
VGA passthrough: Primary VGA adapter


XenServer GPU Pass-through compatibility list

For reference, here is the compatibility list published on the Citrix XenServer website:
http://hcl.xensource.com/GPUPass-throughDeviceList.aspx
Edited by powerhouse - 3/29/14 at 10:12am
post #2 of 29
FWIW, from xen.org:

Tested adapters by AMD:
Radeon 4850
Radeon 4870
FirePro V5700
FirePro M5800

User reported working adapters:
Radeon 4550
Radeon 4770
Radeon 5750
Radeon 5850
Radeon 6770
Radeon 6850
Radeon 6970
Radeon 7970

I can personally vouch for the 5850 and 7970. I should try my 3870 and 1950 for the heck of it. I'll update this post with a little more info when I'm actually in front of the server.
THEONE-4770
(10 items)
 
Storage Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7 4770k @ 4.0GHz AsRock z87 Extreme6 Asus HD 7970 16GB Corsair Vengeance 
Hard DriveHard DriveCoolingMonitor
(2) OCZ F40 RAID0 OCZ F3 120 XSPC RX360 (1) Seiki 39" 4k and (2) vertical Asus VW266H 2... 
PowerCase
OCZ 1000W Corsair 800D 
CPUMotherboardRAMHard Drive
Intel i7 3770S ASRock Z77 Extreme4 16GB Corsair Vengeance 1600MHz Corsair F40 SSD 
Hard DriveHard DriveHard DriveHard Drive
8x 2TB Western Digital Green 2x 1TB Western Digital Green 1x 4TB Seagate 2x 500GB Western Digital VelociRaptor 
Hard DriveOSCase
2x 500GB Western Digital Blue Server 2012 Norco 4020 
  hide details  
Reply
THEONE-4770
(10 items)
 
Storage Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7 4770k @ 4.0GHz AsRock z87 Extreme6 Asus HD 7970 16GB Corsair Vengeance 
Hard DriveHard DriveCoolingMonitor
(2) OCZ F40 RAID0 OCZ F3 120 XSPC RX360 (1) Seiki 39" 4k and (2) vertical Asus VW266H 2... 
PowerCase
OCZ 1000W Corsair 800D 
CPUMotherboardRAMHard Drive
Intel i7 3770S ASRock Z77 Extreme4 16GB Corsair Vengeance 1600MHz Corsair F40 SSD 
Hard DriveHard DriveHard DriveHard Drive
8x 2TB Western Digital Green 2x 1TB Western Digital Green 1x 4TB Seagate 2x 500GB Western Digital VelociRaptor 
Hard DriveOSCase
2x 500GB Western Digital Blue Server 2012 Norco 4020 
  hide details  
Reply
post #3 of 29
Thread Starter 
Quote:
Originally Posted by wTheOnew View Post

FWIW, from xen.org:
Tested adapters by AMD:
Radeon 4850
Radeon 4870
FirePro V5700
FirePro M5800
User reported working adapters:
Radeon 4550
Radeon 4770
Radeon 5750
Radeon 5850
Radeon 6770
Radeon 6850
Radeon 6970
Radeon 7970
I can personally vouch for the 5850 and 7970. I should try my 3870 and 1950 for the heck of it. I'll update this post with a little more info when I'm actually in front of the server.

Thanks for putting this list together. It would be great if you could add some more details on the two cards you passed through, such as Xen hypervisor version, kernel version & distribution, type of passthrough, problems and notes regarding specific things to look out for.
post #4 of 29
Quote:
Originally Posted by powerhouse View Post

Thanks for putting this list together. It would be great if you could add some more details on the two cards you passed through, such as Xen hypervisor version, kernel version & distribution, type of passthrough, problems and notes regarding specific things to look out for.

I'll have some info on the 7870 and 69xx for both Xen and KVM (under Mint13) shortly.
I've got both working (very easy with KVM) but having issues rebooting guest with the 7870 (host crash with ats.c:62).
post #5 of 29
Radeon 7750 most definitely works (Powercolor single slot. Both the 1GB GDDR5 and 4GB GDDR3 variants work).

Xen 4.1.3

HVM Dom0 (Windows 8 Pro)

Mint 14 (Cinnamon)

Kernel upgraded to 3.7 (also worked with 3.8 RC1).

A default install of Mint 14 (Cinnamon) + Xen would boot into a "kernel panic" error and hang unless the kernel was upgraded to 3.7 (or above).
Edited by Rezz - 1/12/13 at 1:21pm
post #6 of 29
Thread Starter 
@Rezz and @ blistovmhz: Thanks for your update.
post #7 of 29
Thread Starter 
Quote:
Originally Posted by blistovmhz View Post

I'll have some info on the 7870 and 69xx for both Xen and KVM (under Mint13) shortly.
I've got both working (very easy with KVM) but having issues rebooting guest with the 7870 (host crash with ats.c:62).

I've seen similar reports from other KVM users - passthrough works but exiting the VM and trying to restart it crashes the host. I haven't experienced this with Xen. Maybe worth trying? It might be a little pain in the neck to get it working, but I'm using it now for over half a year with no issues at all. In the meantime I even upgraded from Linux Mint 13 to 14, again no issue at all (I actually installed Mint 14, but since I have a separate /home partition it was really painless).
post #8 of 29
Hi, many thanks for all your feedback. I'm asking for the HD7770, if the 7750 works, so the 7770 is supposed to be working too ?
(Actually I have only a 5450 in the first slot, it's a full AMD config)
post #9 of 29
Thread Starter 
Quote:
Originally Posted by sorcier777 View Post

Hi, many thanks for all your feedback. I'm asking for the HD7770, if the 7750 works, so the 7770 is supposed to be working too ?
(Actually I have only a 5450 in the first slot, it's a full AMD config)

See http://wiki.xen.org/wiki/Talk:Xen_VGA_Passthrough_Tested_Adapters and http://osdir.com/ml/general/2013-03/msg34678.html.

It seems the xl toolstack has some problems, so it might be best to use the xm toolstack for now. Just be aware that since Xen 4.2 the xm toolstack has become deprecated. For reference, I'm using Xen 4.1.3 which is the current Xen hypervisor in Linux Mint 14 and Ubuntu 12.10, and Xen 4.1.3 still uses xm as toolstack.
post #10 of 29
Quote:
With this howto you got the chance to set up a Windows virtual machine that is capable of playing video games on a Linux host.

HOLY CRAP!
Core 2 Haf
(16 items)
 
  
CPUMotherboardGraphicsRAM
C2Q Q9550 ASUS P5E3 Deluxe Wifi-AP GTX 480 Kingston HyperX DDR3 KHX1600C9D3K2/8G 
RAMHard DriveCoolingOS
PNY 1333 55gb, 320Gb, 500GB, 1TB Hyper 212 EVO Win 7 Ultimate 64bit 
OSOSPowerCase
Lubuntu 13.04 x64 OS X 10.8.5 TX750 Haf 912 
  hide details  
Reply
Core 2 Haf
(16 items)
 
  
CPUMotherboardGraphicsRAM
C2Q Q9550 ASUS P5E3 Deluxe Wifi-AP GTX 480 Kingston HyperX DDR3 KHX1600C9D3K2/8G 
RAMHard DriveCoolingOS
PNY 1333 55gb, 320Gb, 500GB, 1TB Hyper 212 EVO Win 7 Ultimate 64bit 
OSOSPowerCase
Lubuntu 13.04 x64 OS X 10.8.5 TX750 Haf 912 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Graphics Cards - General
Overclock.net › Forums › Graphics Cards › Graphics Cards - General › Xen VGA passthrough compatible graphics adapters