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

[Xen-users] trouble with gfx_passthru=1 + intel vid card


  • To: xen-users@xxxxxxxxxxxxx
  • From: Taras Glek <taras@xxxxxxxx>
  • Date: Mon, 28 Jan 2013 23:38:37 -0800
  • Delivery-date: Tue, 29 Jan 2013 07:41:06 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi,
I'm trying to pass an intel video card to a guest via VT-D. I got this to work once so i know my system can do it, but I can't seem to replicate my success. Not sure if something changed in the bios(vt-d is still enabled there), or elsewhere.

When I pass a device with gfx_passthru=0 (using config below), guest boots up and the vid card shows up at an incorrect pci id(ie not 00:02.0).  Things work as expected.

When I set gfx_passthru=1, the monitor goes blank, and after 12 seconds of execution, I get a vague  'Error: Device model isn't ready for commands' when running the xm create command.

Please hint on where things are failing.

Thanks,
Taras

I get this error with xen 4.1 on 3.2 and 4.2 on 3.7.
This is an intel i5-3330S cpu + DQ77KB motherboard.
 
my xbmc.cfg:

kernel="/usr/lib/xen/boot/hvmloader"

builder = "hvm"
name = "xbmc"
# RAM size in MB
memory = "2048"

# number CPU cores
vcpus = 2


#vif = ['type=ioemu']

# boot from cd and hdd
disk = ['file:/home/taras/tmp/ubuntu-12.10-desktop-amd64.iso,hdc:cdrom,r']
boot="dc"


# enable remote vnc access until video card driver is installed
vnc = 1

acpi=1
sdl=0
#serial='pty'

gfx_passthru=1
pci=['00:02.0']


my dmesg contains the following:
Command line: placeholder root=UUID=05509dc2-10a7-4332-8782-e13a77144f7d ro rd.md=0 rd.lvm=0 rd.dm=0 rd.luks=0 vconsole.keymap=us rhgb quiet intel_iommu=on

xm dmesg:
(XEN) Intel VT-d supported page sizes: 4kB.
(XEN) Intel VT-d supported page sizes: 4kB.
(XEN) Intel VT-d Snoop Control not enabled.
(XEN) Intel VT-d Dom0 DMA Passthrough not enabled.
(XEN) Intel VT-d Queued Invalidation enabled.
(XEN) Intel VT-d Interrupt Remapping enabled.
(XEN) Intel VT-d Shared EPT tables not enabled.


in /var/log/xen/
cat qemu-dm-xbmc.log
domid: 7
Using file /home/taras/tmp/ubuntu-12.10-desktop-amd64.iso in read-only mode
Watching /local/domain/0/device-model/7/logdirty/cmd
Watching /local/domain/0/device-model/7/command
Watching /local/domain/7/cpu
qemu: could not open disk image 1 <--this only happens with gfx_passthru=1

_______________________________________________
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®.