Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Outlaw29

Members
  • Joined

  • Last visited

Solutions

  1. Hello Hive Mind,

    I am a big noob here so I apologize if I am over/undersharing. I have been building a home server for the past few years and recently wanted to get a gaming VM going on Unraid, specifically Windows 10. From the research Ive done this should be 100% possible I just keep running into some hiccup. I will leave the steps I have taken below but I am unable to get the VM to boot with my GPU selected as the Graphics Card in the VMs settings. It will instantly give me the "internal error: Unknown PCI header type '127' for device '0000:01:00.0'" error code without even trying to start up. The odd thing to me is I have previously used this VM and installed all the software I needed using internal graphics before I received the GPU. I know the VM will work without using GPU passthrough but as soon as I try to use it we get that error.
    My VM XML:
    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm'>
    <name>GVM</name>
    <uuid>d208131f-d85f-662b-4d53-563aab316d59</uuid>
    <description>for gooning, I mean gaming</description>
    <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10" webui=""/>
    </metadata>
    <memory unit='KiB'>16777216</memory>
    <currentMemory unit='KiB'>16777216</currentMemory>
    <memoryBacking>
    <nosharepages/>
    </memoryBacking>
    <vcpu placement='static'>12</vcpu>
    <cputune>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='3'/>
    <vcpupin vcpu='2' cpuset='4'/>
    <vcpupin vcpu='3' cpuset='5'/>
    <vcpupin vcpu='4' cpuset='6'/>
    <vcpupin vcpu='5' cpuset='7'/>
    <vcpupin vcpu='6' cpuset='8'/>
    <vcpupin vcpu='7' cpuset='9'/>
    <vcpupin vcpu='8' cpuset='10'/>
    <vcpupin vcpu='9' cpuset='11'/>
    <vcpupin vcpu='10' cpuset='12'/>
    <vcpupin vcpu='11' cpuset='13'/>
    </cputune>
    <os>
    <type arch='x86_64' machine='pc-q35-7.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/d208131f-d85f-662b-4d53-563aab316d59_VARS-pure-efi.fd</nvram>
    </os>
    <features>
    <acpi/>
    <apic/>
    </features>
    <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' clusters='1' cores='6' threads='2'/>
    <cache mode='passthrough'/>
    </cpu>
    <clock offset='localtime'>
    <timer name='hpet' present='no'/>
    <timer name='hypervclock' present='no'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='rtc' tickpolicy='catchup'/>
    </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='cdrom'>
    <driver name='qemu' type='raw'/>
    <source file='/mnt/user/isos/virtio-win-0.1.229-1.iso'/>
    <target dev='hdb' bus='sata'/>
    <readonly/>
    <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <disk type='file' device='disk'>
    <driver name='qemu' type='raw' cache='writeback' discard='ignore'/>
    <source file='/mnt/user/domains/VM/vdisk1.img'/>
    <target dev='hdc' bus='sata' rotation_rate='1'/>
    <boot order='1'/>
    <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
    <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
    <source file='/mnt/user/domains/VM/vdisk2.img'/>
    <target dev='hdd' bus='virtio'/>
    <serial>vdisk2</serial>
    <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </disk>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
    <model name='pcie-root-port'/>
    <target chassis='1' port='0x8'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
    <model name='pcie-root-port'/>
    <target chassis='2' port='0x9'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
    <model name='pcie-root-port'/>
    <target chassis='3' port='0xa'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
    <model name='pcie-root-port'/>
    <target chassis='4' port='0x13'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
    <model name='pcie-root-port'/>
    <target chassis='5' port='0x14'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
    <model name='pcie-root-port'/>
    <target chassis='6' port='0xb'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='7' model='pcie-to-pci-bridge'>
    <model name='pcie-pci-bridge'/>
    <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
    <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='usb' index='0' model='qemu-xhci' ports='15'>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </controller>
    <interface type='bridge'>
    <mac address='52:54:00:3b:24:ca'/>
    <source bridge='br0'/>
    <model type='virtio-net'/>
    <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
    <target type='isa-serial' port='0'>
    <model name='isa-serial'/>
    </target>
    </serial>
    <console type='pty'>
    <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
    <target type='virtio' name='org.qemu.guest_agent.0'/>
    <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <audio id='1' type='none'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
    <driver name='vfio'/>
    <source>
    <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </source>
    <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
    <driver name='vfio'/>
    <source>
    <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
    </source>
    <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
    <source startupPolicy='optional'>
    <vendor id='0x046d'/>
    <product id='0xc542'/>
    </source>
    <address type='usb' bus='0' port='1'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
    <source startupPolicy='optional'>
    <vendor id='0x1b1c'/>
    <product id='0x1bc7'/>
    </source>
    <address type='usb' bus='0' port='2'/>
    </hostdev>
    <watchdog model='itco' action='reset'/>
    <memballoon model='none'/>
    </devices>
    </domain>

    These are the steps/info I have taken thus far:
    VT-d, Above 4g Decoding, enabled IGFX, set Initial Display Output to IGFX and I believe VT-x is enabled by default on my mobo? (GIGABYTE Z690 UD AX DDR4, i searched in BIOS but did not find anything closely related to VT-x)
    Confirmed both the GPU and Audio device are in their own IOMMU group and bound to vfio-pci with reboot

    I fiddled with the bus/slots but to no avail, still getting internal error: Unknown PCI header type '127' for device '0000:01:00.0'. It seems most people get this error when trying to create a linux VM with GPU passthrough and Windows 10 GPU Passthough should be pretty self explanatory.

    I am using a GeForce RTX 5060 GPU with Gigabyte Z690 UD AX DDR4 mobo and Intel Core i9-12900K CPU.

    I will update the thread as we get progress!!! TYIA


    SOLUTION!!!!
    The GPU was failing to properly initialize and would fall asleep and not wake up again. ( noob terms )
    This is the forum I followed and it worked!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.