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

[Xen-users] VGA passthrough radeon 4850 as primary card


  • To: xen-users@xxxxxxxxxxxxx
  • From: povder <povder@xxxxxxxxx>
  • Date: Wed, 27 Feb 2013 13:14:47 +0100
  • Delivery-date: Wed, 27 Feb 2013 12:16:26 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi all

I'm trying to enable VGA passthrough in linux domU without success. I
want to pass through AMD Radeon HD 4850 - 03:00.0 VGA compatible
controller: Advanced Micro Devices [AMD] nee ATI RV770 [Radeon HD
4850] as a _primary_ VGA for the VM. Nothing is showing up on the
monitor that I have connected to graphics card's HDMI port. I have
IOMMU enabled. I searched mailing lists and I don't know what to think
about it. There is some information about ATI cards passthrough as
primary VGA, some patches were posted but that was long time ago so my
first question is:
Is passthrough of ATI devices as primary VGA supposed to work now in
Xen 4.2.1 without patches?

My second question is:
How can i debug the problem? I can't access domU through SSH after
it's created. When I set gfx_passthru to 0 it's starting normally. How
can I tell what went wrong?

When I create domU I get this in logs:
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 03:00.0 ...
register_real_device: Disable MSI translation via per device option
register_real_device: Disable power management
pt_iomul_init: Error: pt_iomul_init can't open file
/dev/xen/pci_iomul: No such file or directory: 0x3:0x0.0x0
pt_register_regions: IO region registered (size=0x10000000 base_addr=0xd000000c)
pt_register_regions: IO region registered (size=0x00010000 base_addr=0xfe7f0004)
pt_register_regions: IO region registered (size=0x00000100 base_addr=0x0000d001)
pt_register_regions: Expansion ROM registered (size=0x00020000
base_addr=0xfe7c0002)
pci_intx: intx=1
register_real_device: Real physical device 03:00.0 registered successfuly!

I'm using Xen 4.2.1 and xl toolstack. I have the following in VM config file:

builder = "hvm"
gfx_passthru = 1
pci = ['03:00.0','03:00.1']

vm config file:
full domU log: http://pastebin.com/raw.php?i=rc9xWcDJ
part of lspci -vvv: http://pastebin.com/raw.php?i=wZXcJU7j
xl info: http://pastebin.com/raw.php?i=zDrdNm9u
xl dmesg: http://pastebin.com/raw.php?i=SmJ7MrB1

Please help.

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