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

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



Is there any special reason you use primary passthrough? because using
the ati vga as secondary is A LOT easier and simpler (and as stable
and performant). To be honest, i never got primary passthrough to work
with any of my radeon cards, but secondary works quite well for 2,5
years now.

So my advice: use secondary, boot and install domU normally, then
install the catalyst driver and reboot. Within the start-process, it
will automatically switch to the right vga near the end of the boot
and as an additional benefit you can use the vnc view as additional
input device if you for example don't have pci-passthrough for input
devices or want a remote interface anyway (with for example a
mediacenter).

2013/2/27 povder <povder@xxxxxxxxx>:
> 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

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