| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
 Re: [Xen-users] GPU passthrough with xen 4.2.1 on ubuntu 12.10
 Having the windows logo freeze in the VNC window has been my experience with GPU passthrough as well.
 
 
 On Thu, Mar 7, 2013 at 1:38 PM, Andreas Falck <falck.andreas.lists@xxxxxxxxx>  wrote:
 Hi,
 I believe that the Windows logo freezing in the vnc window is normal behaviour when secondary GPU passthrough is working as it should, since the display should be handed over to the GPU. At least that was the case before when I was passing through a HD6850 card as secondary to win7 using xl. But you should expect output on the GPU, of course.
 
 Have you tried different versions of the catalyst driver? I think that some users have reported problems with the latest one (13-something).
 
 Regards,
 Andreas
 
 
 2013/3/7 Matthew Dean <mcd40@xxxxxxxxx> Hi all,
 I've managed to get a windows 7 x64 hvm to boot and install and I'm now looking to pass through a HD 7970 as a secondary GPU.  in order to prepare the devices for passthrough I've used
 
 xl pci-assignable-add 83:00.0
 xl pci-assignable-add 83:00.1
 
 Where I've identified the device pci ids using lspci.  This works fine and the devices appear when I call 'xl pci-assignable-list'. After adding them to the vm config (see below) I was able to get the vm to boot and the devices appeared in device manager.  Installing the ATI drivers however has meant that on further boots the  machine never gets past the windows logo in the VNC window and no output is generated from the ATI card.  It simply freezes there and the only way I can get back into windows is via safe mode, even after uninstalling the ATI software.
 
 Has anybody else experienced similar issues or have any advice as to how to get this to work?  I'm a bit stumped and the wiki implies that this should 'just work'.
 
 Thank you in advance for any help.
 
 Matt
 
 Here is my machine config
 
 ###########################################################
 
 builder='hvm'
 memory = 2048
 name = 'Windows7Test'
 
 vcpus=4
 pae=1
 acpi=1
 apic=1
 
 disk = [ 'file:/xen-guests/img/windows7Test.img,hda,w' ]
 pci = [ '83:00.0' , '83:00.1' ]
 
 >
on_reboot   = 'restart'
 on_crash    = 'destroy'
 
 boot='cd'
 
 sdl=0
 vnc=1
 vncconsole=0
 vncpasswd=''
 vnclisten='172.24.226.84'
 
 stdvga=0
 
 serial='pty'
 usbdevice='tablet'
 
 gfx_passthru=0
 pci_power_mgmt=1
 xen_platform_pci=1
 pci_msitranslate=1
 viridian=1
 hpet=1
 
 ############################################################
 
 And the vm produces the following qemu log in /var/log/xen/
 
 ############################################################
 
 domid: 4
 -videoram option does not work with cirrus vga device model. Videoram set to 4M.
 Strip off blktap sub-type prefix to /xen-guests/img/windows7Test.img (drv 'aio')
 Using file /xen-guests/img/windows7Test.img in read-write mode
 Watching /local/domain/0/device-model/4/logdirty/cmd
 Watching /local/domain/0/device-model/4/command
 Watching /local/domain/4/cpu
 char device redirected to /dev/pts/3
 qemu_map_cache_init nr_buckets = 10000 size 4194304
 shared page at pfn feffd
 buffered io page at pfn feffb
 Guest uuid = e09f5a51-7de1-4d92-9cec-826b9d66aeb6
 populating video RAM at ff000000
 mapping video RAM from ff000000
 Register xen platform.
 Done register platform.
 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
 xs_read(/local/domain/0/device-model/4/xen_extended_power_mgmt): read error
 Log-dirty: no command yet.
 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
 vcpu-set: watch node error.
 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
 xs_read(/local/domain/4/log-throttling): read error
 qemu: ignoring not-understood drive `/local/domain/4/log-throttling'
 medium change watch on `/local/domain/4/log-throttling' - unknown device, ignored
 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
 dm-command: hot insert pass-through pci dev
 register_real_device: Assigning real physical device 83:00.0 ...
 register_real_device: Enable MSI translation via per device option
 register_real_device: Enable power management
 pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x83:0x0.0x0
 pt_register_regions: IO region registered (size=0x10000000 base_addr=0xe000000c)
 pt_register_regions: IO region registered (size=0x00040000 base_addr=0xf0000004)
 pt_register_regions: IO region registered (size=0x00000100 base_addr=0x0000f001)
 pt_register_regions: Expansion ROM registered (size=0x00020000 base_addr=0xf0040000)
 pt_msi_setup: msi mapped with pirq 67
 pci_intx: intx=1
 register_real_device: Real physical device 83:00.0 registered successfuly!
 IRQ type = MSI-INTx
 dm-command: hot insert pass-through pci dev
 register_real_device: Assigning real physical device 83:00.1 ...
 register_real_device: Enable MSI translation via per device option
 register_real_device: Enable power management
 pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x83:0x0.0x1
 pt_register_regions: IO region registered (size=0x00004000 base_addr=0xf0060004)
 pt_msi_setup: msi mapped with pirq 66
 pci_intx: intx=2
 register_real_device: Real physical device 83:00.1 registered successfuly!
 IRQ type = MSI-INTx
 pt_iomem_map: e_phys=e0000000 maddr=e0000000 type=8 len=268435456 index=0 first_map=1
 cirrus vga map change while on lfb mode
 pt_iomem_map: e_phys=f3000000 maddr=f0000000 type=0 len=262144 index=2 first_map=1
 pt_iomem_map: e_phys=f3060000 maddr=f0060000 type=0 len=16384 index=0 first_map=1
 pt_ioport_map: e_phys=c100 pio_base=f000 len=256 index=4 first_map=1
 mapping vram to f0000000 - f0400000
 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
 pt_pci_read_config: [00:04:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:04:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:04:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:04:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:04:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:04:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:04:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:05:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:05:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:05:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:05:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:05:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:05:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_pci_read_config: [00:05:0] Error: Failed to read register with invalid access size alignment. [Offset:0eh][Length:4]
 pt_iomem_map: e_phys=ffffffff maddr=e0000000 type=8 len=268435456 index=0 first_map=0
 pt_iomem_map: e_phys=ffffffff maddr=f0000000 type=0 len=262144 index=2 first_map=0
 pt_ioport_map: e_phys=ffff pio_base=f000 len=256 index=4 first_map=0
 pt_iomem_map: e_phys=e0000000 maddr=e0000000 type=8 len=268435456 index=0 first_map=0
 pt_iomem_map: e_phys=f3000000 maddr=f0000000 type=0 len=262144 index=2 first_map=0
 pt_ioport_map: e_phys=c100 pio_base=f000 len=256 index=4 first_map=0
 pt_iomem_map: e_phys=ffffffff maddr=f0060000 type=0 len=16384 index=0 first_map=0
 pt_iomem_map: e_phys=f3060000 maddr=f0060000 type=0 len=16384 index=0 first_map=0
 pt_iomem_map: e_phys=ffffffff maddr=e0000000 type=8 len=268435456 index=0 first_map=0
 pt_iomem_map: e_phys=ffffffff maddr=f0000000 type=0 len=262144 index=2 first_map=0
 pt_ioport_map: e_phys=ffff pio_base=f000 len=256 index=4 first_map=0
 pt_iomem_map: e_phys=e0000000 maddr=e0000000 type=8 len=268435456 index=0 first_map=0
 pt_iomem_map: e_phys=f3000000 maddr=f0000000 type=0 len=262144 index=2 first_map=0
 pt_ioport_map: e_phys=c100 pio_base=f000 len=256 index=4 first_map=0
 pt_msgctrl_reg_write: guest enabling MSI, disable MSI-INTx translation
 pci_intx: intx=1
 pt_msi_disable: Unmap msi with pirq 67
 pt_msgctrl_reg_write: setup msi for dev 20
 pt_msi_setup: msi mapped with pirq 67
 pt_msi_update: Update msi with pirq 67 gvec b0 gflags 130f
 pt_iomem_map: e_phys=ffffffff maddr=f0060000 type=0 len=16384 index=0 first_map=0
 pt_iomem_map: e_phys=f3060000 maddr=f0060000 type=0 len=16384 index=0 first_map=0
 
 ######################################################################
 
 _______________________________________________
 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
 
 _______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users 
 |