Jump to content

Windows 10 VM freezes when booting.


Emma

Recommended Posts

Hello reader!

 

I'm completely new to UnRaid, virtualisation, linux etc. so please be patient.

I'm having trouble booting a windows 10 VM with an RX 580 passthrough, it freezes while booting. I can however install windows with the card passed through. But then near the end of installing it freezes again. I tried Manjaro in which it worked without any issues. This makes me think it could be a driver issue? Which seems a bit weird for a fresh install.

 

Edit:

I can get in to windows in Safe mode.

Edit 2:

I got in Safe mode and ran DDU, removed all the display drivers on the VM and turned off that windows automatically searches for drivers. It booted like normal but with a basic display driver, when I try to install the driver it freezes again. I also tried installing older drivers; one 3 month old and one 1 year old, but this didn't work either, it still froze at a black screen when nearing 75%.

Edit 3:

I gave up, can't find the cause of the issue. I tried a gt 1030 and that worked without any issues, so I'll be waiting till the end of the month, then I get a better Nvidia gpu. I thought it'd be better to use AMD at first because I heard Nvidia doesnt like you using their geforce cards in VMs but it appears it works better with those cards anyways.

 

I don't know what all is necessary so here's a bit of a list:

 

IOMMU:

IOMMU group 0:	[8086:9b33] 00:00.0 Host bridge: Intel Corporation Device 9b33 (rev 05)
IOMMU group 1:	[8086:1901] 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
IOMMU group 2:	[8086:9bc5] 00:02.0 VGA compatible controller: Intel Corporation Device 9bc5 (rev 05)
IOMMU group 3:	[8086:06f9] 00:12.0 Signal processing controller: Intel Corporation Device 06f9
IOMMU group 4:	[8086:06ed] 00:14.0 USB controller: Intel Corporation Device 06ed
[8086:06ef] 00:14.2 RAM memory: Intel Corporation Device 06ef
[8086:06f0] 00:14.3 Network controller: Intel Corporation Device 06f0
IOMMU group 5:	[8086:06e0] 00:16.0 Communication controller: Intel Corporation Device 06e0
IOMMU group 6:	[8086:06d2] 00:17.0 SATA controller: Intel Corporation Device 06d2
IOMMU group 7:	[8086:06c0] 00:1b.0 PCI bridge: Intel Corporation Device 06c0 (rev f0)
IOMMU group 8:	[8086:06ac] 00:1b.4 PCI bridge: Intel Corporation Device 06ac (rev f0)
IOMMU group 9:	[8086:06b8] 00:1c.0 PCI bridge: Intel Corporation Device 06b8 (rev f0)
IOMMU group 10:	[8086:06b9] 00:1c.1 PCI bridge: Intel Corporation Device 06b9 (rev f0)
IOMMU group 11:	[8086:06bc] 00:1c.4 PCI bridge: Intel Corporation Device 06bc (rev f0)
IOMMU group 12:	[8086:06b0] 00:1d.0 PCI bridge: Intel Corporation Device 06b0 (rev f0)
IOMMU group 13:	[8086:06b4] 00:1d.4 PCI bridge: Intel Corporation Device 06b4 (rev f0)
IOMMU group 14:	[8086:0685] 00:1f.0 ISA bridge: Intel Corporation Device 0685
[8086:06c8] 00:1f.3 Audio device: Intel Corporation Device 06c8
[8086:06a3] 00:1f.4 SMBus: Intel Corporation Device 06a3
[8086:06a4] 00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 06a4
[8086:0d4d] 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-V
IOMMU group 15:	[1002:67df] 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
[1002:aaf0] 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
IOMMU group 16:	[144d:a808] 03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
IOMMU group 17:	[8086:15f3] 05:00.0 Ethernet controller: Intel Corporation Device 15f3 (rev 02)
IOMMU group 18:	[8086:15ea] 06:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
IOMMU group 19:	[8086:15ea] 07:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
IOMMU group 20:	[8086:15ea] 07:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
IOMMU group 21:	[8086:15ea] 07:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
IOMMU group 22:	[8086:15ea] 07:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
IOMMU group 23:	[8086:15eb] 08:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] (rev 06)
IOMMU group 24:	[8086:15ec] 23:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] (rev 06)

USB:

Bus 001 Device 001:	ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002:	ID 1532:0088 Razer USA, Ltd Razer Basilisk Ultimate Dongle
Bus 001 Device 003:	ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 001 Device 004:	ID 05ac:026c Apple, Inc. Magic Keyboard with Numeric Keypad
Bus 001 Device 005:	ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.1 Hub
Bus 001 Device 006:	ID 0781:5583 SanDisk Corp. Ultra Fit
Bus 001 Device 007:	ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 008:	ID 048d:5702 Integrated Technology Express, Inc. ITE Device
Bus 001 Device 009:	ID 8087:0026 Intel Corp.
Bus 002 Device 001:	ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002:	ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.1 Hub
Bus 003 Device 001:	ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001:	ID 1d6b:0003 Linux Foundation 3.0 root hub

XML:

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='3'>
  <name>Windows 10</name>
  <uuid>0f3ebf7d-5c32-c151-3fa3-2ee97906936a</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>12</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='4'/>
    <vcpupin vcpu='1' cpuset='14'/>
    <vcpupin vcpu='2' cpuset='5'/>
    <vcpupin vcpu='3' cpuset='15'/>
    <vcpupin vcpu='4' cpuset='6'/>
    <vcpupin vcpu='5' cpuset='16'/>
    <vcpupin vcpu='6' cpuset='7'/>
    <vcpupin vcpu='7' cpuset='17'/>
    <vcpupin vcpu='8' cpuset='8'/>
    <vcpupin vcpu='9' cpuset='18'/>
    <vcpupin vcpu='10' cpuset='9'/>
    <vcpupin vcpu='11' cpuset='19'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/0f3ebf7d-5c32-c151-3fa3-2ee97906936a_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='6' threads='2'/>
    <cache mode='passthrough'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/VMs/Win 10 NVME ssd/spaces_win_clover.img' index='2'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/virtio-win-0.1.173-2.iso' index='1'/>
      <backingStore/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <alias name='ide0-0-1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='sata0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:db:d0:51'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-3-Windows 10/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x05ac'/>
        <product id='0x026c'/>
        <address bus='1' device='4'/>
      </source>
      <alias name='hostdev3'/>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x1532'/>
        <product id='0x0088'/>
        <address bus='1' device='2'/>
      </source>
      <alias name='hostdev4'/>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
</domain>

Specs:

Intel 10850K

Gigabyte Z490 Vision D

32 GB G.Skill 3200Mhz

XFX RX 580

Samsung 970 EVO 1TB

Edited by Emma
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...