[vfio-users] Stuck at Tiano Core Splash Screen
Hi, I have working vm with passedthrough GTX 980 Ti. I run it with command below. QEMU_ALSA_DAC_BUFFER_SIZE=1881 QEMU_ALSA_DAC_PERIOD_SIZE=940 QEMU_AUDIO_DRV=alsa exec \ qemu-system-x86_64 \ -enable-kvm \ -smp cores=2,threads=2 \ -m 12G \ -cpu host,kvm=off \ -vga none \ -usb -usbdevice host:046d:c328 \ -nographic \ -usb -usbdevice host:046d:c069 \ -device vfio-pci,host=01:00.0,multifunction=on,romfile=/root/vbios.rom \ -device vfio-pci,host=01:00.1 \ -drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \ -drive if=pflash,format=raw,file=/tmp/my_vars.fd \ -device virtio-scsi-pci,id=scsi \ -drive file=/home/iso/windows10_x64.iso,id=isocd,format=raw,if=none -device scsi-cd,drive=isocd \ -drive file=/home/iso/virtio-win.iso,id=virtio,format=raw,if=none -device ide-cd,bus=ide.1,drive=virtio \ -drive file=/home/vm/firebird_ws/firebird_ws.img,id=disk,format=qcow2,if=none,cache=writeback -device scsi-hd,drive=disk \ -net nic -net bridge,br=br0 \ Now I'm trying to run it under libvirt but I only getting TianoCore splash screen on GPU output and windows boot's up and in VNC i see code 43 on gpu card. How to debug it and make it run? XML file below: windows10 5fc3a2cf-e58c-4127-abf1-45c8572d9b8e 4194304 4194304 4 hvm /usr/share/OVMF/OVMF_CODE.fd /tmp/my_vars.fd Haswell-noTSX destroy restart restart /usr/bin/kvm Best Regards Tomasz Strzelecki ___ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users
Re: [vfio-users] Host hard lockups
Hi, I also runs on Rampage IV. I dont have freezes during work but sometimes I have performance issue durring some media with sound operations. I very often have similiar freezes when I'm shuting down the VM. I havent much time to troubleshoot this unfortunetly. I have a question for you. I have problem with sound in the vm, do you have sound from your sound card or using HDMI passed through ? I cant get this to work. Best Regards Tomasz Strzelecki 2016-08-22 22:18 GMT+02:00 vfio: > On 08/16/2016 12:51 PM, vfio wrote: > > I noticed that the symptoms of the freeze are very similar to the > > freezes I sometimes get when shutting down the guest. After searching > > the archives, I decided to try enabling MSI for the Titan X in the Win10 > > guest. This did indeed stop the freezes at shutdown time. I've been > > using the guest for 10 days since my original post. During this time I > > experienced only one freeze, but I was not nearby at the time so it's > > hard to say if the guest caused it. > > It took longer than expected, but a definite crash happened yesterday. > Sadly, it seems that MSI was not a fix for the in-use crashes. > > At this point I'm worried that it's some sort of weird hardware-specific > interaction that is unlikely to be fixed. If anybody experiences similar > symptoms or can suggest any debugging techniques, I'd greatly appreciate > any suggestions. > > Thanks! > > ___ > vfio-users mailing list > vfio-users@redhat.com > https://www.redhat.com/mailman/listinfo/vfio-users > ___ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users
[vfio-users] Single GTX980 GPUPassthrough - Memory listener initialization failed for container
Hi, I'm trying to build my own machine and at this point I have almost working machine with some issues for future resolve with your help I hope so :) Let me introduce to you my hardware setup and main problem for now. Motherboard: Asus Rampapge VI CPU: i7-5960X GPU: Zotac GTX980 This is headless setup for host machine with only one GPU passedthrough to VM. Software: Debian Jessie 8.0 Kernel 3.16.0-4 Qemu version 2.1.2 -(stable debian) I'm successfully runing and even gaming on Windows 10 virtual machine with latest nvidia drivers. Now I want to move control over vm to virsh but I've got error and found too small information about it to solve it on my own. Can you give me some hints how to diagnose the problem, what to check or change. I'm running vm as root and want to start it automaticly after host startup. Below is the error and starting script. ERROR: error: Failed to start domain Windows10 error: internal error: early end of file from monitor: possible problem: 2016-07-08T23:07:50.518597Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,multifunction=on,romfile=/home/vm/windows10_test/GTX980_vbios.rom: vfio_dma_map(0x7f1b4f4207a0, 0x0, 0xa, 0x7f1aa800) = -12 (Cannot allocate memory) 2016-07-08T23:07:50.518785Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,multifunction=on,romfile=/home/vm/windows10_test/GTX980_vbios.rom: vfio_dma_map(0x7f1b4f4207a0, 0xc, 0x2, 0x7f1b3c20) = -12 (Cannot allocate memory) 2016-07-08T23:07:50.518881Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,multifunction=on,romfile=/home/vm/windows10_test/GTX980_vbios.rom: vfio_dma_map(0x7f1b4f4207a0, 0x10, 0x7ff0, 0x7f1aa810) = -12 (Cannot allocate memory) 2016-07-08T23:07:50.518938Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,multifunction=on,romfile=/home/vm/windows10_test/GTX980_vbios.rom: vfio: memory listener initialization failed for container 2016-07-08T23:07:50.518966Z qemu-system-x86_64: -dev WORKING QEMU COMMAND: qemu-system-x86_64 \ -enable-kvm \ -smp cores=2,threads=2 \ -m 8G \ -cpu host,kvm=off \ -vga none \ -usb -usbdevice host:046d:c328 \ -nographic \ -usb -usbdevice host:046d:c069 \ -device vfio-pci,host=01:00.0,multifunction=on,romfile=/root/vbios.rom \ -device vfio-pci,host=01:00.1 \ -soundhw hda,ac97 \ -drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \ -drive if=pflash,format=raw,file=/tmp/my_vars.fd \ -device virtio-scsi-pci,id=scsi \ -drive file=/home/iso/windows10_x64.iso,id=isocd,format=raw,if=none -device scsi-cd,drive=isocd \ -drive file=/home/iso/virtio-win.iso,id=virtio,format=raw,if=none -device ide-cd,bus=ide.1,drive=virtio \ -drive file=/home/vm/firebird_ws/firebird_ws.img,id=disk,format=qcow2,if=none,cache=writeback -device scsi-hd,drive=disk \ XML FILE: Windows10 ab048875-7fbf-4e61-b10c-685ccf92c477 2097152 2097152 4 hvm SandyBridge destroy restart restart /usr/bin/kvm Best Regards Tomasz Strzelecki ___ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users