[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] VGA passthrough to HVM Linux domU


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Daniel Shub <Daniel.Shub@xxxxxxxxxxxxxxxx>
  • Date: Tue, 11 Dec 2012 22:39:21 +0000
  • Accept-language: en-US, en-GB
  • Acceptlanguage: en-US, en-GB
  • Delivery-date: Tue, 11 Dec 2012 22:41:00 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: AQHN1/BcN5yL/JCNtE6Ajpk7jAyIMw==
  • Thread-topic: VGA passthrough to HVM Linux domU

I am having problems getting my 64-bit Debian Squeeze (Xen version 4.0, Linux 
Kernel 2.6.32) dom0 to pass a Gigabyte HD 5450 graphics card to an HVM 64-bit 
Arch Linux domU. I have two Gigabyte HD 5450 graphics cards connected to my 
Gigabyte GA-X79-UP4 motherboard. I can pass the secondary card (the one the 
bios doesn’t show up on) to an HVM 32-bit Windows XP domU (I thought that would 
be the hard part, but it was easy with the Xen wiki). For the Linux domU, I 
cannot get the VGA passthrough to work.

I started with essentially the same cfg file that worked for Windows. This lead 
to an “Expecting atombios for evergreen GPU” warning followed by “Fatal error 
during GPU init” in the Linux domU. I installed the AMD proprietary drivers and 
the warning and error went away. Both the virtual and physical VGA devices are 
listed by lspci in the Linux domU, but I cannot seem to use the physical 
device. I then tried to passthrough the primary adaptor. It doesn’t work and I 
cannot even start X11/VNC in the dom0 to inspect the domU. I have also tried 
adding gfx_passthru=1 to my cfg file and this prevents the domU from booting.

I would appreciate any suggestions as to where to look for problems.

My cfg file is:

name = "Arch"
builder = "hvm"
kernel = "/usr/lib/xen-4.0/boot/hvmloader"
device_model = "qemu-dm"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
memory = 8192
vcpus = 1
vif = [ 'bridge=xenbr0' ]
disk = [ 'phy:/dev/mapper/vg0-arch,xvda,w' ]
pci = [ '01:00.0', '01:00.1' ]
boot = "c"
stdvga = 1
#gfx_passthru = 1
vnc = 1This message and any attachment are intended solely for the addressee 
and may contain confidential information. If you have received this message in 
error, please send it back to me, and immediately delete it.   Please do not 
use, copy or disclose the information contained in this message or in any 
attachment.  Any views or opinions expressed by the author of this email do not 
necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.