<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hmm, weird, I have my Windows 10 work very smooth on my setup using the latest NVIDIA driver. Although I didn’t install it fresh like Jasen did, I upgraded mine from a Windows 8.1. What games are you experiencing the contant crash?</div> <br> <div id="bloop_sign_1442333769246139904" class="bloop_sign"><font face="helvetica, arial">-- </font><br><span style="color: rgb(2, 1, 3); " data-mce-style="orphans: 2; text-align: -webkit-auto; widows: 2; background-color: #ffffff; color: #020103; font-family: 'Times New Roman', serif;"><font face="Calibri"><b>Okky Hendriansyah</b></font></span></div><p class="airmail_on" style="color:#000;">On September 15, 2015 at 23:15:51, Abdulla Bubshait (<a href="mailto:darkstego@gmail.com">darkstego@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>


<title></title>


<div dir="ltr">I stopped trying to get win10 running due to
constant crashing in certain games with VFIO with all different
kinds of GPU. Something about win10 isn't working well in
virtualized environment.</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Sep 15, 2015 at 11:58 AM Blank Field
<<a href="mailto:ihatethisfield@gmail.com">ihatethisfield@gmail.com</a>>
wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">All i can say about this problem: try another
OS.<br>
I've ran into that kind of problem exceptionally on win10.<br>
And i have a radeon card, go figure why the new OS is upset
again.</p>
<div class="gmail_quote">On Sep 15, 2015 6:33 PM, "Jasen Borisov"
<<a href="mailto:tajjada@gmail.com" target="_blank">tajjada@gmail.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello everyone,<br>
<br>
I have been following the guides on the vfio blogspot for setting
up a Windows guest for gaming by passing it my NVIDIA GeForce GTX
980 graphics card. I have an AMD Radeon R7 250 graphics card for my
Linux host. I have ran into a strange problem and have not managed
to find a solution to it online, so I decided to come here and see
if anyone knows anything about it.<br>
<br>
Here is the problem I am facing:
<div><br></div>
<div>I installed the Windows guest (Windows 10 Pro) in a kvm
virtual machine made with virt-manager, using the default qxl/spice
setup during the installation, as instructed <a href="http://vfio.blogspot.bg/2015/05/vfio-gpu-how-to-series-part-4-our-first.html" target="_blank">here</a>. After the installation completed, I
removed any extra virtual devices and added the PCI host/vfio
device for my NVIDIA graphics card. I also edited the XML to hide
the kvm virtualization, in preparation for installing the NVIDIA
drivers on Windows, when I boot with my actual graphics card. I
have made no attempt to configure hugepages yet.</div>
<div><br></div>
<div>However, when starting up the VM, Windows no longer booted
successfully. I saw the Tianocore splash on my physical monitor,
followed by the Windows logo. The Windows logo stayed frozen
(without the spinning loading indicator under it) for a few
minutes, and then the spinning-dots loading indicator appeared for
a few seconds and the machine *reset*. It kept resetting again and
again, never getting past the Windows boot screen.<br>
<br>
I would assume that my PCI passthrough worked successfully, since
my physical monitor turned on and I saw the video output from the
virtual machine on it. However, I can't figure out why Windows
cannot finish booting successfully. Any help with this issue would
be greatly appreciated.
<div><br></div>
<div>The same copy of Windows (or rather, installed from the same
installation ISO) works fine with my NVIDIA card on my actual
hardware / when not in a virtual machine, so I am sure this is not
a hardware problem.<br>
<br>
<br>
Here is some relevant information about my system:
<div><br>
/proc/cmdline:<br>
... intel_iommu=on iommu=pt
vfio-pci.ids=10de:13c0,10de:0fbb,8086:8d26 vfio.disable_vga=1 ...
<div>(I omitted my rootfs and other irrelevant kernel
options)</div>
<div>The PCI IDs listed in my kernel commandline are my GPU, its
audio, and an EHCI controller on my system for USB, in that
order.</div>
<div><br></div>
<div>I did not need to use any "hacks" like the ACS override patch
or the enable_unsafe_interrupts option, since I did not experience
the relevant issues that they were made to fix. Each one of the PCI
IDs above is in its own IOMMU group. My system has no integrated
graphics (Core i7 Extreme 5960X CPU).</div>
<div><br></div>
<div><br></div>
<div>These lines appeared in dmesg when the VM started:</div>
<div><br></div>
<div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">[  582.886435] kvm: SMP vm created on host
with unstable TSC; guest TSC will not be reliable</span><br>
[  584.200023] vfio-pci 0000:02:00.0: enabling device (0100
-> 0103)<br>
[  584.200114] vfio_ecap_init: 0000:02:00.0 hiding ecap
0x1e@0x258<br>
[  584.200120] vfio_ecap_init: 0000:02:00.0 hiding ecap
0x19@0x900<br>
[  584.223041] vfio-pci 0000:00:1d.0: enabling device (0000
-> 0002)<br>
[  584.324093] vfio_cap_init: 0000:00:1d.0 hiding cap
0xa<br>
[  589.132151] kvm: zapping shadow pages for mmio generation
wraparound<br>
[  589.133051] kvm: zapping shadow pages for mmio generation
wraparound<br>
<br></span></div>
<div><br></div>
<div>The libvirt domain XML of the virtual machine (yes, I called
my VM "nouveideo" = "nouveau" + "video" :) ):</div>
<div><br></div>
<div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><domain type='kvm'></span><br>
 <name>nouveideo</name><br>
 <uuid>849fe365-1dfe-44f6-9755-9b48eb325400</uuid><br>

 <memory unit='KiB'>12345344</memory><br>
 <currentMemory
unit='KiB'>12345344</currentMemory><br>
 <memoryBacking><br>
   <nosharepages/><br>
 </memoryBacking><br>
 <vcpu placement='static'>16</vcpu><br>
 <cputune><br>
   <vcpupin vcpu='0' cpuset='0'/><br>
   <vcpupin vcpu='1' cpuset='1'/><br>
   <vcpupin vcpu='2' cpuset='2'/><br>
   <vcpupin vcpu='3' cpuset='3'/><br>
   <vcpupin vcpu='4' cpuset='4'/><br>
   <vcpupin vcpu='5' cpuset='5'/><br>
   <vcpupin vcpu='6' cpuset='6'/><br>
   <vcpupin vcpu='7' cpuset='7'/><br>
   <vcpupin vcpu='8' cpuset='8'/><br>
   <vcpupin vcpu='9' cpuset='9'/><br>
   <vcpupin vcpu='10' cpuset='10'/><br>
   <vcpupin vcpu='11' cpuset='11'/><br>
   <vcpupin vcpu='12' cpuset='12'/><br>
   <vcpupin vcpu='13' cpuset='13'/><br>
   <vcpupin vcpu='14' cpuset='14'/><br>
   <vcpupin vcpu='15' cpuset='15'/><br>
 </cputune><br>
 <os><br>
   <type arch='x86_64'
machine='pc-i440fx-2.4'>hvm</type><br>
   <loader
type='pflash'>/btrfs/VirtualMachines/OVMF_nouveideo.fd</loader><br>

 </os><br>
 <features><br>
   <acpi/><br>
   <apic/><br>
   <pae/><br>
   <kvm><br>
     <hidden state='on'/><br>
   </kvm><br>
   <vmport state='off'/><br>
 </features><br>
 <cpu mode='host-passthrough'><br>
   <topology sockets='1' cores='8'
threads='2'/><br>
 </cpu><br>
 <clock offset='utc'><br>
   <timer name='rtc'
tickpolicy='catchup'/><br>
   <timer name='pit'
tickpolicy='delay'/><br>
   <timer name='hpet' present='no'/><br>
 </clock><br>
 <on_poweroff>destroy</on_poweroff><br>
 <on_reboot>restart</on_reboot><br>
 <on_crash>restart</on_crash><br>
 <pm><br>
   <suspend-to-mem enabled='no'/><br>
   <suspend-to-disk enabled='no'/><br>
 </pm><br>
 <devices><br>
   <emulator>/usr/bin/qemu-system-x86_64</emulator><br>

   <disk type='file' device='disk'><br>
     <driver name='qemu'
type='raw'/><br>
     <source
file='/btrfs/VirtualMachines/Win10NOUVEIDEO.img'/><br>
     <target dev='vda'
bus='virtio'/><br>
     <boot order='1'/><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x07' function='0x0'/><br>
   </disk><br>
   <disk type='block' device='cdrom'><br>
     <driver name='qemu'
type='raw'/><br>
     <target dev='hdb'
bus='ide'/><br>
     <readonly/><br>
     <boot order='2'/><br>
     <address type='drive'
controller='0' bus='0' target='0' unit='1'/><br>
   </disk><br>
   <disk type='file' device='cdrom'><br>
     <driver name='qemu'
type='raw'/><br>
     <source
file='/btrfs/VirtualMachines/virtio-win-0.1.109.iso'/><br>
     <target dev='hdc'
bus='ide'/><br>
     <readonly/><br>
     <address type='drive'
controller='0' bus='1' target='0' unit='0'/><br>
   </disk><br>
   <controller type='pci' index='0'
model='pci-root'/><br>
   <controller type='ide' index='0'><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x01' function='0x1'/><br>
   </controller><br>
   <controller type='usb' index='0'
model='nec-xhci'><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><br>
   </controller><br>
   <interface type='bridge'><br>
     <mac
address='52:54:00:b3:71:21'/><br>
     <source bridge='br0'/><br>
     <model type='virtio'/><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x03' function='0x0'/><br>
   </interface><br>
   <sound model='ich6'><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x04' function='0x0'/><br>
   </sound><br>
   <hostdev mode='subsystem' type='pci'
managed='yes'><br>
     <source><br>
       <address
domain='0x0000' bus='0x02' slot='0x00' function='0x0'/><br>
     </source><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x0a' function='0x0'
multifunction='on'/><br>
   </hostdev><br>
   <hostdev mode='subsystem' type='pci'
managed='yes'><br>
     <source><br>
       <address
domain='0x0000' bus='0x02' slot='0x00' function='0x1'/><br>
     </source><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x0a' function='0x1'/><br>
   </hostdev><br>
   <hostdev mode='subsystem' type='pci'
managed='yes'><br>
     <source><br>
       <address
domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/><br>
     </source><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/><br>
   </hostdev><br>
   <memballoon model='virtio'><br>
     <address type='pci'
domain='0x0000' bus='0x00' slot='0x08' function='0x0'/><br>
   </memballoon><br>
 </devices><br>
</domain><br></span></div>
<div><br></div>
</div>
</div>
</div>
<div>Let me know if there is any other information I could provide
which could help identify and correct the problem.</div>
</div>
<br>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>

<br></blockquote>
</div>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</blockquote>
</div>


_______________________________________________
<br>vfio-users mailing list
<br>vfio-users@redhat.com
<br>https://www.redhat.com/mailman/listinfo/vfio-users
<br></div></div></span></blockquote></body></html>